feat(WmsBatch): 添加排产计划ID字段

- 在 WmsBatch、WmsBatchBo、WmsBatchVo 类中添加 planId 字段
- 在 WmsBatchMapper.xml 中添加 planId 的 resultMap 配置
- 在 WmsBatchServiceImpl 中添加 planId 的查询条件
This commit is contained in:
JR
2025-08-14 16:43:54 +08:00
parent 85c312b459
commit 21f15b8744
5 changed files with 15 additions and 1 deletions

View File

@@ -62,5 +62,8 @@ public class WmsBatch extends BaseEntity {
* 备注
*/
private String remark;
/**
* 排产计划ID
*/
private Long planId;
}

View File

@@ -68,5 +68,10 @@ public class WmsBatchBo extends BaseEntity {
*/
private String remark;
/**
* 排产计划ID
*/
private Long planId;
}

View File

@@ -80,5 +80,9 @@ public class WmsBatchVo {
@ExcelProperty(value = "备注")
private String remark;
/**
* 排产计划ID
*/
private Long planId;
}

View File

@@ -67,6 +67,7 @@ public class WmsBatchServiceImpl implements IWmsBatchService {
lqw.eq(bo.getEstimatedStartTime() != null, WmsBatch::getEstimatedStartTime, bo.getEstimatedStartTime());
lqw.eq(bo.getEstimatedEndTime() != null, WmsBatch::getEstimatedEndTime, bo.getEstimatedEndTime());
lqw.eq(StringUtils.isNotBlank(bo.getBatchStatus()), WmsBatch::getBatchStatus, bo.getBatchStatus());
lqw.eq(bo.getPlanId() != null, WmsBatch::getPlanId, bo.getPlanId());
return lqw;
}

View File

@@ -19,6 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="createBy" column="create_by"/>
<result property="updateTime" column="update_time"/>
<result property="updateBy" column="update_by"/>
<result property="planId" column="plan_id"/>
</resultMap>