派工增加状态查询

dev
siontion 5 months ago
parent f34b249583
commit eef4f7d798

@ -32,4 +32,8 @@ public class TaskDispatchDetailPageReqVO extends PageParam {
@Schema(description = "bom明细id")
private Long bomDetailId;
@Schema(description = "派工状态")
private String dispatchStatus;
}

@ -52,6 +52,7 @@ public interface TaskDispatchDetailMapper extends BaseMapperX<TaskDispatchDetail
.eq(!StringUtils.isEmpty(reqVO.getDispatchType()), TaskDispatchDO::getDispatchType, reqVO.getDispatchType())
.eq(reqVO.getTaskId() != null, TaskDispatchDO::getTaskId, reqVO.getTaskId())
.eq(reqVO.getBomDetailId() != null, TaskDispatchDO::getBomDetailId, reqVO.getBomDetailId())
.eq(reqVO.getDispatchStatus() != null, TaskDispatchDO::getDispatchStatus, reqVO.getDispatchStatus())
.apply(reqVO.getOwner() != null,"(t.owner={0} or INSTR(t.owner_ids,{0})>0)",reqVO.getOwner())
;

Loading…
Cancel
Save