|
|
|
@ -80,7 +80,7 @@ public class IoOrderUtilsService {
|
|
|
|
|
ioCodeTempEntity1.setRelId(null);
|
|
|
|
|
checkUdi = true;
|
|
|
|
|
} else {
|
|
|
|
|
if(CollectionUtil.isNotEmpty(udiRlSupEntityList)) {
|
|
|
|
|
if (CollectionUtil.isNotEmpty(udiRlSupEntityList)) {
|
|
|
|
|
ioCodeTempEntity1.setRelId(udiRlSupEntityList.get(0).getId());
|
|
|
|
|
map.put(ioCodeTempEntity.getRelId(), udiRlSupEntityList.get(0));
|
|
|
|
|
}
|
|
|
|
@ -110,6 +110,7 @@ public class IoOrderUtilsService {
|
|
|
|
|
//扫码单据生成
|
|
|
|
|
IoOrderDetailCodeEntity ioOrderDetailCodeEntity1 = new IoOrderDetailCodeEntity();
|
|
|
|
|
List<IoOrderDetailCodeEntity> ioOrderDetailCodeEntities = new ArrayList<>();
|
|
|
|
|
if (CollectionUtil.isNotEmpty(ioOrderDetailCodeEntityList)) {
|
|
|
|
|
for (IoOrderDetailCodeEntity ioOrderDetailCodeEntity : ioOrderDetailCodeEntityList) {
|
|
|
|
|
ioOrderDetailCodeEntity1.setOrderIdFk(billNO);
|
|
|
|
|
|
|
|
|
@ -141,10 +142,12 @@ public class IoOrderUtilsService {
|
|
|
|
|
ioOrderDetailCodeEntity1.setUpdateTime(new Date());
|
|
|
|
|
ioOrderDetailCodeEntities.add(ioOrderDetailCodeEntity1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//业务单生成
|
|
|
|
|
List<IoOrderDetailBizEntity> ioOrderDetailBizEntities = new ArrayList<>();
|
|
|
|
|
if (ioOrderDetailBizEntityList != null && ioOrderDetailBizEntityList.size() > 0) {
|
|
|
|
|
if (CollectionUtil.isNotEmpty(ioOrderDetailBizEntityList)) {
|
|
|
|
|
for (IoOrderDetailBizEntity ioOrderDetailBizEntity : ioOrderDetailBizEntityList) {
|
|
|
|
|
IoOrderDetailBizEntity ioOrderDetailBizEntity1 = new IoOrderDetailBizEntity();
|
|
|
|
|
ioOrderDetailBizEntity1.setOrderIdFk(billNO);
|
|
|
|
|