- 新增检验项目明细相关实体类、业务对象、视图对象及服务接口 - 实现检验项目明细的增删改查、分页查询及数据校验功能 - 新增检验主记录相关实体类、业务对象、视图对象及服务接口 - 实现检验主记录的增删改查、分页查询及数据校验功能 - 新增金属材料室温拉伸试验相关实体类、业务对象、视图对象及服务接口 - 实现拉伸试验记录的增删改查、分页查询及数据校验功能 - 配置MyBatis映射文件及Excel导出功能 - 添加相应的控制器及参数验证规则
83 lines
2.0 KiB
Java
83 lines
2.0 KiB
Java
package com.klp.domain.vo;
|
||
|
||
import java.math.BigDecimal;
|
||
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_detail
|
||
*
|
||
* @author klp
|
||
* @date 2026-06-13
|
||
*/
|
||
@Data
|
||
@ExcelIgnoreUnannotated
|
||
public class WmsInspectionDetailVo {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
* 主键ID
|
||
*/
|
||
@ExcelProperty(value = "主键ID")
|
||
private Long detailId;
|
||
|
||
/**
|
||
* 关联主表ID(wms_inspection_main.main_id)
|
||
*/
|
||
@ExcelProperty(value = "关联主表ID", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "w=ms_inspection_main.main_id")
|
||
private Long mainId;
|
||
|
||
/**
|
||
* 分析项目名称(如浓度、PH、电导率等)
|
||
*/
|
||
@ExcelProperty(value = "分析项目名称", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "如=浓度、PH、电导率等")
|
||
private String itemName;
|
||
|
||
/**
|
||
* 检验结果值
|
||
*/
|
||
@ExcelProperty(value = "检验结果值")
|
||
private BigDecimal itemValue;
|
||
|
||
/**
|
||
* 单位(如%、mgKOH/g、us/cm等)
|
||
*/
|
||
@ExcelProperty(value = "单位", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "如=%、mgKOH/g、us/cm等")
|
||
private String itemUnit;
|
||
|
||
/**
|
||
* 上限值
|
||
*/
|
||
@ExcelProperty(value = "上限值")
|
||
private BigDecimal upperLimit;
|
||
|
||
/**
|
||
* 下限值
|
||
*/
|
||
@ExcelProperty(value = "下限值")
|
||
private BigDecimal lowerLimit;
|
||
|
||
/**
|
||
* 范围描述(如160,方便展示)
|
||
*/
|
||
@ExcelProperty(value = "范围描述", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "如=160,方便展示")
|
||
private String rangeDesc;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
@ExcelProperty(value = "备注")
|
||
private String remark;
|
||
|
||
|
||
}
|