Files
klp-oa/klp-wms/src/main/java/com/klp/domain/WmsCoilAbnormal.java
Joshi 3c745b8ce4 feat(wms): 更新钢卷异常实体类增加缺陷详细信息字段
- 将lengthCoord字段替换为length、startPosition、endPosition三个精确数值字段
- 新增defectType缺陷类型字段用于详细分类(如划痕、边裂、厚度超标等)
- 新增defectRate缺陷率字段用于记录百分比数据
- 新增defectWeight缺陷重量字段用于记录具体重量值
- 新增mainMark主标记字段标识是否为主要缺陷
- 新增wholeCoilMark整卷标记字段标识是否影响整卷
- 更新Mapper映射文件适配新的实体字段结构
- 更新查询条件构造器支持新增字段的筛选功能
- 更新VO类Excel导出配置适配新的业务字段需求
2026-03-17 13:59:13 +08:00

114 lines
2.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.domain;
import com.baomidou.mybatisplus.annotation.*;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
* 钢卷异常信息对象 wms_coil_abnormal
*
* @author klp
* @date 2025-12-04
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_coil_abnormal")
public class WmsCoilAbnormal extends BaseEntity {
private static final long serialVersionUID=1L;
/**
* 主键ID
*/
@TableId(value = "abnormal_id")
private Long abnormalId;
/**
* 钢卷ID
*/
private Long coilId;
/**
* 位置(上下,操作侧,中间,驱动侧)
*/
private String position;
/**
* 长度坐标
*/
private BigDecimal length;
/**
* 缺陷开始位置
*/
private BigDecimal startPosition;
/**
* 缺陷结束位置
*/
private BigDecimal endPosition;
/**
* 缺陷代码S=表面缺陷、E=边部问题、M=尺寸问题、G=收卷问题)
*/
private String defectCode;
/**
* 缺陷类型(更详细的缺陷分类,如划痕、边裂、厚度超标等)
*/
private String defectType;
/**
* 缺陷率百分比如0.05表示5%
*/
private BigDecimal defectRate;
/**
* 缺陷重量单位kg
*/
private BigDecimal defectWeight;
/**
* 程度(轻微、重度、严重)
*/
private String degree;
/**
* 判级
*/
private String judgeLevel;
/**
* 判级人
*/
private String judgeBy;
/**
* 判级时间
*/
private Date judgeTime;
/**
* 主标记1=是0=否)
*/
private Integer mainMark;
/**
* 整卷标记1=是0=否)
*/
private Integer wholeCoilMark;
/**
* 备注
*/
private String remark;
/**
* 删除标志0=正常1=已删除)
*/
@TableLogic
private Integer delFlag;
}