opt:调整
This commit is contained in:
@@ -743,7 +743,7 @@ public class OutBillServiceImpl extends ServiceImpl<IOStorInvMapper, IOStorInv>
|
||||
List<IOStorInvDis> ioStorInvDisList = ioStorInvDisMapper.selectList(new LambdaQueryWrapper<IOStorInvDis>()
|
||||
.eq(IOStorInvDis::getIostorinv_id, iostorinv_id)
|
||||
.eq(IOStorInvDis::getIs_issued, BaseDataEnum.IS_YES_NOT.code("否"))
|
||||
.eq(IOStorInvDis::getWork_status, IOSEnum.INBILL_DIS_STATUS.code("生成"))
|
||||
.eq(IOStorInvDis::getWork_status, IOSEnum.INBILL_DIS_STATUS.code("未生成"))
|
||||
.and(wrapper -> wrapper.isNotNull(IOStorInvDis::getStruct_code)
|
||||
.ne(IOStorInvDis::getStruct_code, ""))
|
||||
.select(IOStorInvDis::getIostorinvdis_id
|
||||
@@ -773,7 +773,7 @@ public class OutBillServiceImpl extends ServiceImpl<IOStorInvMapper, IOStorInv>
|
||||
.set(IOStorInvDis::getTask_id, task_id)
|
||||
.set(IOStorInvDis::getIs_issued, BaseDataEnum.IS_YES_NOT.code("是"))
|
||||
.set(IOStorInvDis::getPoint_code, pointCode)
|
||||
.set(IOStorInvDis::getWork_status, IOSEnum.INBILL_DIS_STATUS.code("执行中"))
|
||||
.set(IOStorInvDis::getWork_status, IOSEnum.INBILL_DIS_STATUS.code("生成"))
|
||||
.in(IOStorInvDis::getIostorinvdis_id, disList.stream()
|
||||
.map(IOStorInvDis::getIostorinvdis_id).collect(Collectors.toList())));
|
||||
lockStructs(ioStorInv, Collections.singleton(item.getStruct_code()));
|
||||
@@ -1009,8 +1009,6 @@ public class OutBillServiceImpl extends ServiceImpl<IOStorInvMapper, IOStorInv>
|
||||
.set(IOStorInv::getConfirm_time, DateUtil.now())
|
||||
.eq(IOStorInv::getIostorinv_id, ioStorInvDtl.getIostorinv_id())
|
||||
);
|
||||
org.nl.config.SpringContextHolder.getBean(org.nl.wms.pm_manage.demand.service.impl.PlatingWorkflowService.class)
|
||||
.rawOutboundFinished(ioStorInvDtl.getIostorinv_id());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user