- 将宽度公差、厚度公差字段从 BigDecimal 类型改为 String 类型 - 将宽度、厚度字段从 BigDecimal 类型改为 String 类型 - 新增表面质量(surfaceQuality)字段及相应 getter/setter 方法 - 更新数据库映射文件添加表面质量字段映射 - 修改查询条件构建逻辑适配字符串类型字段判空 - 更新 Excel 导入导出配置适配新的数据类型
131 lines
2.3 KiB
Java
131 lines
2.3 KiB
Java
package com.klp.crm.domain;
|
||
|
||
import com.baomidou.mybatisplus.annotation.*;
|
||
import com.klp.common.core.domain.BaseEntity;
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
|
||
import java.math.BigDecimal;
|
||
|
||
/**
|
||
* 正式订单明细对象 crm_order_item
|
||
*
|
||
* @author klp
|
||
* @date 2025-12-15
|
||
*/
|
||
@Data
|
||
@EqualsAndHashCode(callSuper = true)
|
||
@TableName("crm_order_item")
|
||
public class CrmOrderItem extends BaseEntity {
|
||
|
||
private static final long serialVersionUID=1L;
|
||
|
||
/**
|
||
* 正式订单明细ID(主键)
|
||
*/
|
||
@TableId(value = "item_id")
|
||
private Long itemId;
|
||
/**
|
||
* 关联正式订单ID(外键)
|
||
*/
|
||
private Long orderId;
|
||
/**
|
||
* 产品类型
|
||
*/
|
||
private String productType;
|
||
/**
|
||
* 原料规格
|
||
*/
|
||
private String rawMaterialSpec;
|
||
/**
|
||
* 产品数量
|
||
*/
|
||
private Long productNum;
|
||
/**
|
||
* 特殊要求
|
||
*/
|
||
private String specialRequire;
|
||
/**
|
||
* 明细金额(单商品金额)
|
||
*/
|
||
private BigDecimal itemAmount;
|
||
/**
|
||
* 备注
|
||
*/
|
||
private String remark;
|
||
/**
|
||
* 成品规格
|
||
*/
|
||
private String finishedProductSpec;
|
||
/**
|
||
* 材质
|
||
*/
|
||
private String material;
|
||
/**
|
||
* 等级
|
||
*/
|
||
private String grade;
|
||
/**
|
||
* 重量
|
||
*/
|
||
private BigDecimal weight;
|
||
/**
|
||
* 宽度公差
|
||
*/
|
||
private String widthTolerance;
|
||
/**
|
||
* 厚度公差
|
||
*/
|
||
private String thicknessTolerance;
|
||
/**
|
||
* 表面质量
|
||
*/
|
||
private String surfaceQuality;
|
||
/**
|
||
* 合同定价
|
||
*/
|
||
private BigDecimal contractPrice;
|
||
/**
|
||
* 定制人
|
||
*/
|
||
private String customizer;
|
||
/**
|
||
* 发货人
|
||
*/
|
||
private String shipper;
|
||
/**
|
||
* 排产批次
|
||
*/
|
||
private String productionBatch;
|
||
/**
|
||
* 表面处理
|
||
*/
|
||
private String surfaceTreatment;
|
||
/**
|
||
* 切边要求
|
||
*/
|
||
private String edgeCuttingReq;
|
||
/**
|
||
* 包装要求
|
||
*/
|
||
private String packagingReq;
|
||
/**
|
||
* 宽度
|
||
*/
|
||
private String width;
|
||
/**
|
||
* 厚度
|
||
*/
|
||
private String thickness;
|
||
/**
|
||
* 用途
|
||
*/
|
||
private String purpose;
|
||
/**
|
||
* 删除标识 0正常 2删除
|
||
*/
|
||
@TableLogic
|
||
private Long delFlag;
|
||
|
||
}
|