feat(wms): 添加检验管理模块功能
- 新增检验项目明细相关实体类、业务对象、视图对象及服务接口 - 实现检验项目明细的增删改查、分页查询及数据校验功能 - 新增检验主记录相关实体类、业务对象、视图对象及服务接口 - 实现检验主记录的增删改查、分页查询及数据校验功能 - 新增金属材料室温拉伸试验相关实体类、业务对象、视图对象及服务接口 - 实现拉伸试验记录的增删改查、分页查询及数据校验功能 - 配置MyBatis映射文件及Excel导出功能 - 添加相应的控制器及参数验证规则
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
package com.klp.domain.vo;
|
||||
|
||||
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_inspection_main
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-13
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class WmsInspectionMainVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ExcelProperty(value = "主键ID")
|
||||
private Long mainId;
|
||||
|
||||
/**
|
||||
* 检验日期(对应日期列)
|
||||
*/
|
||||
@ExcelProperty(value = "检验日期", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "对=应日期列")
|
||||
private Date inspectionDate;
|
||||
|
||||
/**
|
||||
* 样品名称(对应样品名称列)
|
||||
*/
|
||||
@ExcelProperty(value = "样品名称", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "对=应样品名称列")
|
||||
private String sampleName;
|
||||
|
||||
/**
|
||||
* 样品编号(对应样品编号列)
|
||||
*/
|
||||
@ExcelProperty(value = "样品编号", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "对=应样品编号列")
|
||||
private String sampleNo;
|
||||
|
||||
/**
|
||||
* 来样编号(对应来样编号列,如A箱/B箱)
|
||||
*/
|
||||
@ExcelProperty(value = "来样编号", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "对=应来样编号列,如A箱/B箱")
|
||||
private String batchNo;
|
||||
|
||||
/**
|
||||
* 检验方案ID,关联wms_inspection_item_template
|
||||
*/
|
||||
@ExcelProperty(value = "检验方案ID,关联wms_inspection_item_template")
|
||||
private Long templateId;
|
||||
|
||||
/**
|
||||
* 检验任务配置JSON,存储任务级配置
|
||||
*/
|
||||
@ExcelProperty(value = "检验任务配置JSON,存储任务级配置")
|
||||
private String taskConfigJson;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user