feat(flow): 添加排产单管理功能模块
- 创建排产单主实体类、业务对象和视图对象 - 创建排产单明细实体类、业务对象和视图对象 - 实现排产单主和明细的服务层接口及实现类 - 添加排产单主和明细的数据访问层映射器 - 配置MyBatis映射XML文件 - 实现排产单主和明细的控制器REST接口 - 添加分页查询、新增、修改、删除等基本操作功能 - 集成Excel导出功能 - 添加数据验证和业务逻辑处理
This commit is contained in:
140
klp-flow/src/main/java/com/klp/flow/domain/SchProdSchedule.java
Normal file
140
klp-flow/src/main/java/com/klp/flow/domain/SchProdSchedule.java
Normal file
@@ -0,0 +1,140 @@
|
||||
package com.klp.flow.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;
|
||||
|
||||
/**
|
||||
* 排产单主对象 sch_prod_schedule
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-23
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("sch_prod_schedule")
|
||||
public class SchProdSchedule extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* 排产单主键ID
|
||||
*/
|
||||
@TableId(value = "schedule_id")
|
||||
private Long scheduleId;
|
||||
/**
|
||||
* 排产单号(唯一标识,钢卷关联依据)
|
||||
*/
|
||||
private String scheduleNo;
|
||||
/**
|
||||
* 生产日期(和合同号组成业务关联键)
|
||||
*/
|
||||
private Date prodDate;
|
||||
/**
|
||||
* 排产状态:0草稿 1待审核 2已下达 3已退回
|
||||
*/
|
||||
private Long scheduleStatus;
|
||||
/**
|
||||
* 排产总计划吨数
|
||||
*/
|
||||
private BigDecimal totalPlanWeight;
|
||||
/**
|
||||
* 关联销售合同号
|
||||
*/
|
||||
private String relContractNo;
|
||||
/**
|
||||
* 业务员
|
||||
*/
|
||||
private String businessUser;
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
private String businessPhone;
|
||||
/**
|
||||
* 订单日期
|
||||
*/
|
||||
private Date orderDate;
|
||||
/**
|
||||
* 订货单位
|
||||
*/
|
||||
private String customerName;
|
||||
/**
|
||||
* 交货期(天)
|
||||
*/
|
||||
private Long deliveryCycle;
|
||||
/**
|
||||
* 产品用途
|
||||
*/
|
||||
private String usePurpose;
|
||||
/**
|
||||
* 品名:冷硬钢卷/镀锌钢卷/冷轧钢卷/镀铬钢卷
|
||||
*/
|
||||
private String productType;
|
||||
/**
|
||||
* 厚度公差
|
||||
*/
|
||||
private String thicknessTolerance;
|
||||
/**
|
||||
* 宽度公差
|
||||
*/
|
||||
private String widthTolerance;
|
||||
/**
|
||||
* 表面质量
|
||||
*/
|
||||
private String surfaceQuality;
|
||||
/**
|
||||
* 表面处理
|
||||
*/
|
||||
private String surfaceTreatment;
|
||||
/**
|
||||
* 内径尺寸
|
||||
*/
|
||||
private String innerDiameter;
|
||||
/**
|
||||
* 外径要求
|
||||
*/
|
||||
private String outerDiameter;
|
||||
/**
|
||||
* 包装要求
|
||||
*/
|
||||
private String packReq;
|
||||
/**
|
||||
* 切边要求
|
||||
*/
|
||||
private String cutEdgeReq;
|
||||
/**
|
||||
* 单件重量
|
||||
*/
|
||||
private String singleCoilWeight;
|
||||
/**
|
||||
* 交货重量偏差
|
||||
*/
|
||||
private String weightDeviation;
|
||||
/**
|
||||
* 其他技术要求
|
||||
*/
|
||||
private String otherTechReq;
|
||||
/**
|
||||
* 付款情况说明
|
||||
*/
|
||||
private String paymentDesc;
|
||||
/**
|
||||
* 退回原因
|
||||
*/
|
||||
private String returnReason;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 删除标识 0正常 2删除
|
||||
*/
|
||||
@TableLogic
|
||||
private Long delFlag;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.klp.flow.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 排产单明细对象 sch_prod_schedule_detail
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-23
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("sch_prod_schedule_detail")
|
||||
public class SchProdScheduleDetail extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* 排产明细ID
|
||||
*/
|
||||
@TableId(value = "schedule_detail_id")
|
||||
private Long scheduleDetailId;
|
||||
/**
|
||||
* 排产单主表ID
|
||||
*/
|
||||
private Long scheduleId;
|
||||
/**
|
||||
* 来源销售订单明细ID(溯源原始订单规格)
|
||||
*/
|
||||
private Long orderDetailId;
|
||||
/**
|
||||
* 规格 例:1.0X1250
|
||||
*/
|
||||
private String spec;
|
||||
/**
|
||||
* 材质 DX51D
|
||||
*/
|
||||
private String material;
|
||||
/**
|
||||
* 本次排产吨数(数量),可审核修改
|
||||
*/
|
||||
private BigDecimal scheduleWeight;
|
||||
/**
|
||||
* 品名
|
||||
*/
|
||||
private String productType;
|
||||
/**
|
||||
* 单行排产备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 删除标识 0正常 2删除
|
||||
*/
|
||||
@TableLogic
|
||||
private Long delFlag;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.klp.flow.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 销售订单-排产单多对多关联对象 sch_sale_schedule_rel
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-23
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("sch_sale_schedule_rel")
|
||||
public class SchSaleScheduleRel extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* 关联主键ID
|
||||
*/
|
||||
@TableId(value = "rel_id")
|
||||
private Long relId;
|
||||
/**
|
||||
* 销售订单ID
|
||||
*/
|
||||
private Long orderId;
|
||||
/**
|
||||
* 排产单ID
|
||||
*/
|
||||
private Long scheduleId;
|
||||
/**
|
||||
* 本次排产占用该订单重量
|
||||
*/
|
||||
private BigDecimal relWeight;
|
||||
/**
|
||||
* 关联备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 删除标识 0正常 2删除
|
||||
*/
|
||||
@TableLogic
|
||||
private Long delFlag;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
package com.klp.flow.domain.bo;
|
||||
|
||||
import com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* 排产单主业务对象 sch_prod_schedule
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-23
|
||||
*/
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class SchProdScheduleBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 排产单主键ID
|
||||
*/
|
||||
private Long scheduleId;
|
||||
|
||||
/**
|
||||
* 排产单号(唯一标识,钢卷关联依据)
|
||||
*/
|
||||
private String scheduleNo;
|
||||
|
||||
/**
|
||||
* 生产日期(和合同号组成业务关联键)
|
||||
*/
|
||||
private Date prodDate;
|
||||
|
||||
/**
|
||||
* 排产状态:0草稿 1待审核 2已下达 3已退回
|
||||
*/
|
||||
private Long scheduleStatus;
|
||||
|
||||
/**
|
||||
* 排产总计划吨数
|
||||
*/
|
||||
private BigDecimal totalPlanWeight;
|
||||
|
||||
/**
|
||||
* 关联销售合同号
|
||||
*/
|
||||
private String relContractNo;
|
||||
|
||||
/**
|
||||
* 业务员
|
||||
*/
|
||||
private String businessUser;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
private String businessPhone;
|
||||
|
||||
/**
|
||||
* 订单日期
|
||||
*/
|
||||
private Date orderDate;
|
||||
|
||||
/**
|
||||
* 订货单位
|
||||
*/
|
||||
private String customerName;
|
||||
|
||||
/**
|
||||
* 交货期(天)
|
||||
*/
|
||||
private Long deliveryCycle;
|
||||
|
||||
/**
|
||||
* 产品用途
|
||||
*/
|
||||
private String usePurpose;
|
||||
|
||||
/**
|
||||
* 品名:冷硬钢卷/镀锌钢卷/冷轧钢卷/镀铬钢卷
|
||||
*/
|
||||
private String productType;
|
||||
|
||||
/**
|
||||
* 厚度公差
|
||||
*/
|
||||
private String thicknessTolerance;
|
||||
|
||||
/**
|
||||
* 宽度公差
|
||||
*/
|
||||
private String widthTolerance;
|
||||
|
||||
/**
|
||||
* 表面质量
|
||||
*/
|
||||
private String surfaceQuality;
|
||||
|
||||
/**
|
||||
* 表面处理
|
||||
*/
|
||||
private String surfaceTreatment;
|
||||
|
||||
/**
|
||||
* 内径尺寸
|
||||
*/
|
||||
private String innerDiameter;
|
||||
|
||||
/**
|
||||
* 外径要求
|
||||
*/
|
||||
private String outerDiameter;
|
||||
|
||||
/**
|
||||
* 包装要求
|
||||
*/
|
||||
private String packReq;
|
||||
|
||||
/**
|
||||
* 切边要求
|
||||
*/
|
||||
private String cutEdgeReq;
|
||||
|
||||
/**
|
||||
* 单件重量
|
||||
*/
|
||||
private String singleCoilWeight;
|
||||
|
||||
/**
|
||||
* 交货重量偏差
|
||||
*/
|
||||
private String weightDeviation;
|
||||
|
||||
/**
|
||||
* 其他技术要求
|
||||
*/
|
||||
private String otherTechReq;
|
||||
|
||||
/**
|
||||
* 付款情况说明
|
||||
*/
|
||||
private String paymentDesc;
|
||||
|
||||
/**
|
||||
* 退回原因
|
||||
*/
|
||||
private String returnReason;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.klp.flow.domain.bo;
|
||||
|
||||
import com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 排产单明细业务对象 sch_prod_schedule_detail
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-23
|
||||
*/
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class SchProdScheduleDetailBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 排产明细ID
|
||||
*/
|
||||
private Long scheduleDetailId;
|
||||
|
||||
/**
|
||||
* 排产单主表ID
|
||||
*/
|
||||
private Long scheduleId;
|
||||
|
||||
/**
|
||||
* 来源销售订单明细ID(溯源原始订单规格)
|
||||
*/
|
||||
private Long orderDetailId;
|
||||
|
||||
/**
|
||||
* 规格 例:1.0X1250
|
||||
*/
|
||||
private String spec;
|
||||
|
||||
/**
|
||||
* 材质 DX51D
|
||||
*/
|
||||
private String material;
|
||||
|
||||
/**
|
||||
* 本次排产吨数(数量),可审核修改
|
||||
*/
|
||||
private BigDecimal scheduleWeight;
|
||||
|
||||
/**
|
||||
* 品名
|
||||
*/
|
||||
private String productType;
|
||||
|
||||
/**
|
||||
* 单行排产备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.klp.flow.domain.bo;
|
||||
|
||||
import com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 销售订单-排产单多对多关联业务对象 sch_sale_schedule_rel
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-23
|
||||
*/
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class SchSaleScheduleRelBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 关联主键ID
|
||||
*/
|
||||
private Long relId;
|
||||
|
||||
/**
|
||||
* 销售订单ID
|
||||
*/
|
||||
private Long orderId;
|
||||
|
||||
/**
|
||||
* 排产单ID
|
||||
*/
|
||||
private Long scheduleId;
|
||||
|
||||
/**
|
||||
* 本次排产占用该订单重量
|
||||
*/
|
||||
private BigDecimal relWeight;
|
||||
|
||||
/**
|
||||
* 关联备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
package com.klp.flow.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;
|
||||
|
||||
|
||||
/**
|
||||
* 排产单明细视图对象 sch_prod_schedule_detail
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-23
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class SchProdScheduleDetailVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 排产明细ID
|
||||
*/
|
||||
@ExcelProperty(value = "排产明细ID")
|
||||
private Long scheduleDetailId;
|
||||
|
||||
/**
|
||||
* 排产单主表ID
|
||||
*/
|
||||
@ExcelProperty(value = "排产单主表ID")
|
||||
private Long scheduleId;
|
||||
|
||||
/**
|
||||
* 来源销售订单明细ID(溯源原始订单规格)
|
||||
*/
|
||||
@ExcelProperty(value = "来源销售订单明细ID", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "溯=源原始订单规格")
|
||||
private Long orderDetailId;
|
||||
|
||||
/**
|
||||
* 规格 例:1.0X1250
|
||||
*/
|
||||
@ExcelProperty(value = "规格 例:1.0X1250")
|
||||
private String spec;
|
||||
|
||||
/**
|
||||
* 材质 DX51D
|
||||
*/
|
||||
@ExcelProperty(value = "材质 DX51D")
|
||||
private String material;
|
||||
|
||||
/**
|
||||
* 本次排产吨数(数量),可审核修改
|
||||
*/
|
||||
@ExcelProperty(value = "本次排产吨数(数量),可审核修改")
|
||||
private BigDecimal scheduleWeight;
|
||||
|
||||
/**
|
||||
* 品名
|
||||
*/
|
||||
@ExcelProperty(value = "品名")
|
||||
private String productType;
|
||||
|
||||
/**
|
||||
* 单行排产备注
|
||||
*/
|
||||
@ExcelProperty(value = "单行排产备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
package com.klp.flow.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;
|
||||
|
||||
|
||||
/**
|
||||
* 排产单主视图对象 sch_prod_schedule
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-23
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class SchProdScheduleVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 排产单主键ID
|
||||
*/
|
||||
@ExcelProperty(value = "排产单主键ID")
|
||||
private Long scheduleId;
|
||||
|
||||
/**
|
||||
* 排产单号(唯一标识,钢卷关联依据)
|
||||
*/
|
||||
@ExcelProperty(value = "排产单号", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "唯=一标识,钢卷关联依据")
|
||||
private String scheduleNo;
|
||||
|
||||
/**
|
||||
* 生产日期(和合同号组成业务关联键)
|
||||
*/
|
||||
@ExcelProperty(value = "生产日期", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "和=合同号组成业务关联键")
|
||||
private Date prodDate;
|
||||
|
||||
/**
|
||||
* 排产状态:0草稿 1待审核 2已下达 3已退回
|
||||
*/
|
||||
@ExcelProperty(value = "排产状态:0草稿 1待审核 2已下达 3已退回")
|
||||
private Long scheduleStatus;
|
||||
|
||||
/**
|
||||
* 排产总计划吨数
|
||||
*/
|
||||
@ExcelProperty(value = "排产总计划吨数")
|
||||
private BigDecimal totalPlanWeight;
|
||||
|
||||
/**
|
||||
* 关联销售合同号
|
||||
*/
|
||||
@ExcelProperty(value = "关联销售合同号")
|
||||
private String relContractNo;
|
||||
|
||||
/**
|
||||
* 业务员
|
||||
*/
|
||||
@ExcelProperty(value = "业务员")
|
||||
private String businessUser;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
@ExcelProperty(value = "联系电话")
|
||||
private String businessPhone;
|
||||
|
||||
/**
|
||||
* 订单日期
|
||||
*/
|
||||
@ExcelProperty(value = "订单日期")
|
||||
private Date orderDate;
|
||||
|
||||
/**
|
||||
* 订货单位
|
||||
*/
|
||||
@ExcelProperty(value = "订货单位")
|
||||
private String customerName;
|
||||
|
||||
/**
|
||||
* 交货期(天)
|
||||
*/
|
||||
@ExcelProperty(value = "交货期(天)")
|
||||
private Long deliveryCycle;
|
||||
|
||||
/**
|
||||
* 产品用途
|
||||
*/
|
||||
@ExcelProperty(value = "产品用途")
|
||||
private String usePurpose;
|
||||
|
||||
/**
|
||||
* 品名:冷硬钢卷/镀锌钢卷/冷轧钢卷/镀铬钢卷
|
||||
*/
|
||||
@ExcelProperty(value = "品名:冷硬钢卷/镀锌钢卷/冷轧钢卷/镀铬钢卷")
|
||||
private String productType;
|
||||
|
||||
/**
|
||||
* 厚度公差
|
||||
*/
|
||||
@ExcelProperty(value = "厚度公差")
|
||||
private String thicknessTolerance;
|
||||
|
||||
/**
|
||||
* 宽度公差
|
||||
*/
|
||||
@ExcelProperty(value = "宽度公差")
|
||||
private String widthTolerance;
|
||||
|
||||
/**
|
||||
* 表面质量
|
||||
*/
|
||||
@ExcelProperty(value = "表面质量")
|
||||
private String surfaceQuality;
|
||||
|
||||
/**
|
||||
* 表面处理
|
||||
*/
|
||||
@ExcelProperty(value = "表面处理")
|
||||
private String surfaceTreatment;
|
||||
|
||||
/**
|
||||
* 内径尺寸
|
||||
*/
|
||||
@ExcelProperty(value = "内径尺寸")
|
||||
private String innerDiameter;
|
||||
|
||||
/**
|
||||
* 外径要求
|
||||
*/
|
||||
@ExcelProperty(value = "外径要求")
|
||||
private String outerDiameter;
|
||||
|
||||
/**
|
||||
* 包装要求
|
||||
*/
|
||||
@ExcelProperty(value = "包装要求")
|
||||
private String packReq;
|
||||
|
||||
/**
|
||||
* 切边要求
|
||||
*/
|
||||
@ExcelProperty(value = "切边要求")
|
||||
private String cutEdgeReq;
|
||||
|
||||
/**
|
||||
* 单件重量
|
||||
*/
|
||||
@ExcelProperty(value = "单件重量")
|
||||
private String singleCoilWeight;
|
||||
|
||||
/**
|
||||
* 交货重量偏差
|
||||
*/
|
||||
@ExcelProperty(value = "交货重量偏差")
|
||||
private String weightDeviation;
|
||||
|
||||
/**
|
||||
* 其他技术要求
|
||||
*/
|
||||
@ExcelProperty(value = "其他技术要求")
|
||||
private String otherTechReq;
|
||||
|
||||
/**
|
||||
* 付款情况说明
|
||||
*/
|
||||
@ExcelProperty(value = "付款情况说明")
|
||||
private String paymentDesc;
|
||||
|
||||
/**
|
||||
* 退回原因
|
||||
*/
|
||||
@ExcelProperty(value = "退回原因")
|
||||
private String returnReason;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package com.klp.flow.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;
|
||||
|
||||
|
||||
/**
|
||||
* 销售订单-排产单多对多关联视图对象 sch_sale_schedule_rel
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-06-23
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class SchSaleScheduleRelVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 关联主键ID
|
||||
*/
|
||||
@ExcelProperty(value = "关联主键ID")
|
||||
private Long relId;
|
||||
|
||||
/**
|
||||
* 销售订单ID
|
||||
*/
|
||||
@ExcelProperty(value = "销售订单ID")
|
||||
private Long orderId;
|
||||
|
||||
/**
|
||||
* 排产单ID
|
||||
*/
|
||||
@ExcelProperty(value = "排产单ID")
|
||||
private Long scheduleId;
|
||||
|
||||
/**
|
||||
* 本次排产占用该订单重量
|
||||
*/
|
||||
@ExcelProperty(value = "本次排产占用该订单重量")
|
||||
private BigDecimal relWeight;
|
||||
|
||||
/**
|
||||
* 关联备注
|
||||
*/
|
||||
@ExcelProperty(value = "关联备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user