Merge remote-tracking branch 'origin/master'

master
郑明梁 2 years ago
commit cfaacae0b6

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

@ -356,3 +356,4 @@ ALTER TABLE `auth_dept_user`
ADD UNIQUE (`userId`, deptId); ADD UNIQUE (`userId`, deptId);
CALL Pro_Temp_ColumnWork('sync_data_bustypes', 'id', 'bigint', 2);

Loading…
Cancel
Save