feat(WmsBatch): 添加排产计划ID字段
- 在 WmsBatch、WmsBatchBo、WmsBatchVo 类中添加 planId 字段 - 在 WmsBatchMapper.xml 中添加 planId 的 resultMap 配置 - 在 WmsBatchServiceImpl 中添加 planId 的查询条件
This commit is contained in:
@@ -62,5 +62,8 @@ public class WmsBatch extends BaseEntity {
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 排产计划ID
|
||||
*/
|
||||
private Long planId;
|
||||
}
|
||||
|
||||
@@ -68,5 +68,10 @@ public class WmsBatchBo extends BaseEntity {
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 排产计划ID
|
||||
*/
|
||||
private Long planId;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -80,5 +80,9 @@ public class WmsBatchVo {
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 排产计划ID
|
||||
*/
|
||||
private Long planId;
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user