feat(wms): 添加制造规范管理功能
- 新增制造规范相关的数据模型、接口、控制器、服务实现和映射文件 - 实现了制造规范的查询、新增、修改和删除功能 - 添加了制造规范的导出功能- 优化了制造规范的查询条件和结果展示
This commit is contained in:
@@ -0,0 +1,137 @@
|
||||
package com.klp.domain.vo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.klp.common.annotation.ExcelDictFormat;
|
||||
import com.klp.common.convert.ExcelDictConvert;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 制造规范视图对象 wms_manufacturing_spec
|
||||
*
|
||||
* @author klp
|
||||
* @date 2025-08-25
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class WmsManufacturingSpecVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ExcelProperty(value = "主键")
|
||||
private Long specId;
|
||||
|
||||
/**
|
||||
* 制造规范编码
|
||||
*/
|
||||
@ExcelProperty(value = "制造规范编码")
|
||||
private String specCode;
|
||||
|
||||
/**
|
||||
* 制造规范名称
|
||||
*/
|
||||
@ExcelProperty(value = "制造规范名称")
|
||||
private String specName;
|
||||
|
||||
/**
|
||||
* 所属事业部
|
||||
*/
|
||||
@ExcelProperty(value = "所属事业部")
|
||||
private String businessUnit;
|
||||
|
||||
/**
|
||||
* 所属项目组
|
||||
*/
|
||||
@ExcelProperty(value = "所属项目组")
|
||||
private String projectTeam;
|
||||
|
||||
/**
|
||||
* 产品型号/模组
|
||||
*/
|
||||
@ExcelProperty(value = "产品型号/模组")
|
||||
private String productModule;
|
||||
|
||||
/**
|
||||
* 标识
|
||||
*/
|
||||
@ExcelProperty(value = "标识")
|
||||
private String identifier;
|
||||
|
||||
/**
|
||||
* 材质
|
||||
*/
|
||||
@ExcelProperty(value = "材质")
|
||||
private String material;
|
||||
|
||||
/**
|
||||
* 规格/尺寸
|
||||
*/
|
||||
@ExcelProperty(value = "规格/尺寸")
|
||||
private String specification;
|
||||
|
||||
/**
|
||||
* 工艺路线
|
||||
*/
|
||||
@ExcelProperty(value = "工艺路线")
|
||||
private String processRoute;
|
||||
|
||||
/**
|
||||
* 工艺参数
|
||||
*/
|
||||
@ExcelProperty(value = "工艺参数")
|
||||
private String processParams;
|
||||
|
||||
/**
|
||||
* 适用范围
|
||||
*/
|
||||
@ExcelProperty(value = "适用范围")
|
||||
private String scope;
|
||||
|
||||
/**
|
||||
* 检验标准
|
||||
*/
|
||||
@ExcelProperty(value = "检验标准")
|
||||
private String inspectionStandard;
|
||||
|
||||
/**
|
||||
* 状态(字典:1=启用,2=未启用,3=作废)
|
||||
*/
|
||||
@ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "字=典:1=启用,2=未启用,3=作废")
|
||||
private Long status;
|
||||
|
||||
/**
|
||||
* 规范类型(字典:1=普通规范,2=新试规范,3=临时规范)
|
||||
*/
|
||||
@ExcelProperty(value = "规范类型", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "字=典:1=普通规范,2=新试规范,3=临时规范")
|
||||
private Long specType;
|
||||
|
||||
/**
|
||||
* 版本日期
|
||||
*/
|
||||
@ExcelProperty(value = "版本日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date versionDate;
|
||||
|
||||
/**
|
||||
* 理论工时(h)
|
||||
*/
|
||||
@ExcelProperty(value = "理论工时(h)")
|
||||
private BigDecimal standardHours;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user