代码备份

dev_2.5_csconfilt
yewj 5 months ago
parent c7a1cb31e2
commit ae615e8ebb

@ -402,7 +402,6 @@ public class IoCollectOrderCodeManService extends ServiceImpl<IoCollectOrderCode
if (IntUtil.value(collectSet.getLastCodeSplit())) { if (IntUtil.value(collectSet.getLastCodeSplit())) {
throw new JsonException(503, collectOrderBiz.getId() + ";" + count1 + ";" + collectOrderBiz.getCpmctymc() + ";" + "扫码数量超出!"); throw new JsonException(503, collectOrderBiz.getId() + ";" + count1 + ";" + collectOrderBiz.getCpmctymc() + ";" + "扫码数量超出!");
} }
} }
} }
} }
@ -487,7 +486,6 @@ public class IoCollectOrderCodeManService extends ServiceImpl<IoCollectOrderCode
collectOrderBiz.setAddScanActCount(scanCount); collectOrderBiz.setAddScanActCount(scanCount);
break; break;
case 3: //提醒是否插入 case 3: //提醒是否插入
if (!IntUtil.value(addTagCodeReqeust.getInsert())) { if (!IntUtil.value(addTagCodeReqeust.getInsert())) {
if (collectOrderBiz == null) if (collectOrderBiz == null)
throw new JsonException(500, addTagCodeReqeust.getCode() + "非此单据追溯码,请检查!"); throw new JsonException(500, addTagCodeReqeust.getCode() + "非此单据追溯码,请检查!");
@ -618,12 +616,12 @@ public class IoCollectOrderCodeManService extends ServiceImpl<IoCollectOrderCode
* *
*/ */
public Boolean vailInSplit(IoCollectOrderBiz collectOrderBiz, Long workPlaceCode, Integer needCount) { public Boolean vailInSplit(IoCollectOrderBiz collectOrderBiz, Long workPlaceCode, Integer needCount) {
List<IoSplitCodeEntity> ioSplitCodeEntities = splitCodeService.findSplitCodes(collectOrderBiz.getRelId(), collectOrderBiz.getBatchNo(), workPlaceCode); // List<IoSplitCodeEntity> ioSplitCodeEntities = splitCodeService.findSplitCodes(collectOrderBiz.getRelId(), collectOrderBiz.getBatchNo(), workPlaceCode);
for (IoSplitCodeEntity ioSplitCodeEntity : ioSplitCodeEntities) { // for (IoSplitCodeEntity ioSplitCodeEntity : ioSplitCodeEntities) {
if (IntUtil.value(ioSplitCodeEntity.getRemainCount()) >= needCount) { // if (IntUtil.value(ioSplitCodeEntity.getRemainCount()) >= needCount) {
return true; // return true;
} // }
} // }
return false; return false;
} }

Loading…
Cancel
Save