feat(wms): 新增发货计划钢卷操作记录和明细管理模块
- 新增发货计划钢卷操作记录实体类、业务对象及视图对象 - 新增发货计划明细实体类、业务对象及视图对象 - 实现发货计划钢卷操作记录的增删改查接口及导出功能 - 实现发货计划明细的增删改查接口及导出功能 - 新增钢卷操作记录查询接口,支持根据计划ID和钢卷ID列表获取最新操作记录 - 完成对应Mapper接口和XML映射文件的配置 - 集成基础校验和逻辑删除功能 - 提供钢卷操作记录与钢卷明细信息的联合查询能力
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
package com.klp.domain.vo;
|
||||
|
||||
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;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* 发货计划钢卷操作记录视图对象 wms_delivery_plan_coil_operate
|
||||
*
|
||||
* @author klp
|
||||
* @date 2025-12-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class WmsDeliveryPlanCoilOperateVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 操作记录唯一ID
|
||||
*/
|
||||
@ExcelProperty(value = "操作记录唯一ID")
|
||||
private Long operateId;
|
||||
|
||||
/**
|
||||
* 关联发货计划表ID(wms_delivery_plan.plan_id)
|
||||
*/
|
||||
@ExcelProperty(value = "关联发货计划表ID", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "w=ms_delivery_plan.plan_id")
|
||||
private Long planId;
|
||||
|
||||
/**
|
||||
* 钢卷ID(单个钢卷,关联钢卷表)
|
||||
*/
|
||||
@ExcelProperty(value = "钢卷ID", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "单=个钢卷,关联钢卷表")
|
||||
private Long coilId;
|
||||
|
||||
/**
|
||||
* 操作类型
|
||||
*/
|
||||
@ExcelProperty(value = "操作类型")
|
||||
private String operateType;
|
||||
|
||||
/**
|
||||
* 操作备注
|
||||
*/
|
||||
@ExcelProperty(value = "操作备注")
|
||||
private String remark;
|
||||
|
||||
private WmsMaterialCoilVo coilDetail;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package com.klp.domain.vo;
|
||||
|
||||
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_delivery_plan_detail
|
||||
*
|
||||
* @author klp
|
||||
* @date 2025-12-17
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class WmsDeliveryPlanDetailVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 明细唯一ID
|
||||
*/
|
||||
@ExcelProperty(value = "明细唯一ID")
|
||||
private Long detailId;
|
||||
|
||||
/**
|
||||
* 关联发货计划表ID(wms_delivery_plan.plan_id)
|
||||
*/
|
||||
@ExcelProperty(value = "关联发货计划表ID", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "w=ms_delivery_plan.plan_id")
|
||||
private Long planId;
|
||||
|
||||
/**
|
||||
* 订单ID
|
||||
*/
|
||||
@ExcelProperty(value = "订单ID")
|
||||
private Long orderId;
|
||||
|
||||
/**
|
||||
* 订单详情
|
||||
*/
|
||||
@ExcelProperty(value = "订单详情")
|
||||
private String orderDetail;
|
||||
|
||||
/**
|
||||
* 客户ID
|
||||
*/
|
||||
@ExcelProperty(value = "客户ID")
|
||||
private Long customerId;
|
||||
|
||||
/**
|
||||
* 客户详情
|
||||
*/
|
||||
@ExcelProperty(value = "客户详情")
|
||||
private String customerDetail;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@ExcelProperty(value = "地址")
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 明细备注
|
||||
*/
|
||||
@ExcelProperty(value = "明细备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user