|
|
|
@ -193,11 +193,11 @@ public class IoChangeInoutService {
|
|
|
|
|
BasicBussinessTypeEntity targetBustypeEntity;
|
|
|
|
|
for (BasicBusTypePreEntity busTypePreEntity : busTypePreEntities) {
|
|
|
|
|
targetBustypeEntity = basicBussinessTypeService.findByAction(busTypePreEntity.getAction());
|
|
|
|
|
if (busTypePreEntity.getSplitOrder() == ConstantStatus.ACTION_TYPE_NORMAL) {
|
|
|
|
|
if (busTypePreEntity.getSplitOrder() == ConstantStatus.ACTION_TYPE_NORMAL && CollUtil.isNotEmpty(normalCodes)) {
|
|
|
|
|
buildGenOrder(targetBustypeEntity, busTypePreEntity, normalCodes, orderEntity, isGenInovice);
|
|
|
|
|
} else if (busTypePreEntity.getSplitOrder() == ConstantStatus.ACTION_TYPE_PREIN) {
|
|
|
|
|
} else if (busTypePreEntity.getSplitOrder() == ConstantStatus.ACTION_TYPE_PREIN && CollUtil.isNotEmpty(preInCodes)) {
|
|
|
|
|
buildGenOrder(targetBustypeEntity, busTypePreEntity, preInCodes, orderEntity, isGenInovice);
|
|
|
|
|
} else if (busTypePreEntity.getSplitOrder() == ConstantStatus.ACTION_TYPE_ADVANCE) {
|
|
|
|
|
} else if (busTypePreEntity.getSplitOrder() == ConstantStatus.ACTION_TYPE_ADVANCE && CollUtil.isNotEmpty(preCodes)) {
|
|
|
|
|
buildGenOrder(targetBustypeEntity, busTypePreEntity, preCodes, orderEntity, isGenInovice);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|