|
|
|
@ -198,14 +198,14 @@ public class IoChangeInoutService {
|
|
|
|
|
outOrder.setFromInvCode(null);
|
|
|
|
|
outOrder.setFromDeptCode(null);
|
|
|
|
|
} else if (bussinessChangeTypeEntity.getCreateType() == 3) { //寄售、预验收补单
|
|
|
|
|
outOrder.setCustomerId(null);
|
|
|
|
|
outOrder.setFromCorp(null);
|
|
|
|
|
outOrder.setCustomerId(corpName);
|
|
|
|
|
outOrder.setFromCorp(corpName);
|
|
|
|
|
InvWarehouseEntity invWarehouseEntity = invWarehouseService.findByInvSubByCode(Constant.INV_PRE_IN_CODE);
|
|
|
|
|
outOrder.setFromInvCode(invWarehouseEntity.getCode());
|
|
|
|
|
outOrder.setFromDeptCode(invWarehouseEntity.getParentId());
|
|
|
|
|
} else if (bussinessChangeTypeEntity.getCreateType() == 4) {
|
|
|
|
|
outOrder.setCustomerId(null);
|
|
|
|
|
outOrder.setFromCorp(null);
|
|
|
|
|
outOrder.setCustomerId(corpName);
|
|
|
|
|
outOrder.setFromCorp(corpName);
|
|
|
|
|
InvWarehouseEntity invWarehouseEntity = invWarehouseService.findByInvSubByCode(Constant.INV_PRE_CODE);
|
|
|
|
|
outOrder.setFromInvCode(invWarehouseEntity.getCode());
|
|
|
|
|
outOrder.setFromDeptCode(invWarehouseEntity.getParentId());
|
|
|
|
|