|
|
|
@ -89,6 +89,7 @@ public class IoSplitFifoInvService extends ServiceImpl<IoSplitFifoInvMapper, IoS
|
|
|
|
|
splitCodeEntity.setInBactchNo(codeEntity.getInBatchNo());
|
|
|
|
|
splitCodeEntity.setScanCount(codeEntity.getCount());
|
|
|
|
|
splitCodeEntity.setTotalCount(IntUtil.value(splitCodeEntity.getTotalCount()) + codeEntity.getReCount());
|
|
|
|
|
if (StrUtil.isNotEmpty(codeEntity.getSupId()))
|
|
|
|
|
splitCodeEntity.setSupId(Long.parseLong(codeEntity.getSupId()));
|
|
|
|
|
splitCodeEntity.setWorkPlaceCode(orderEntity.getWorkPlaceCode());
|
|
|
|
|
splitCodeEntity.setWorkPlaceQueueCode(orderEntity.getWorkPlaceQueueCode());
|
|
|
|
@ -164,6 +165,7 @@ public class IoSplitFifoInvService extends ServiceImpl<IoSplitFifoInvMapper, IoS
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
SysWorkplaceLayerService sysWorkplaceLayerService;
|
|
|
|
|
|
|
|
|
|
public String setQueueCode(Long workPlaceCode, String userId) {
|
|
|
|
|
List<SysWorkplaceQueue> queues = sysWorkplaceQueueService.list(new LambdaQueryWrapper<SysWorkplaceQueue>().eq(SysWorkplaceQueue::getWorkPlaceIdFk, workPlaceCode));
|
|
|
|
|
if (queues.size() == 0) {
|
|
|
|
|