Browse Source

修改

master
ligaode 3 weeks ago
parent
commit
7bee33f8fb
  1. 5
      yxt-wms-biz/src/main/java/com/yxt/wms/biz/inventory/wmsinventoryallocatebill/WmsInventoryAllocateBillService.java

5
yxt-wms-biz/src/main/java/com/yxt/wms/biz/inventory/wmsinventoryallocatebill/WmsInventoryAllocateBillService.java

@ -819,6 +819,8 @@ public class WmsInventoryAllocateBillService extends MybatisBaseService<WmsInven
}
bv.setModelId(wmsInventoryAllocateBill.getProcDefId());
//特殊处理
//获取调出方组织信息
SysOrganizationVo dcOrg = sysOrganizationFeign.fetchBySid(wmsInventoryAllocateBill.getOutPlatSid()).getData();
//获取调入方组织信息
SysOrganizationVo drOrg = sysOrganizationFeign.fetchBySid(wmsInventoryAllocateBill.getInPlatSid()).getData();
//流程预演
@ -834,6 +836,9 @@ public class WmsInventoryAllocateBillService extends MybatisBaseService<WmsInven
if (!f0){
userRoleQuery.setOrgSid(wmsInventoryAllocateBill.getInPlatSid());
bv.setOrgSidPath(drOrg.getOrgSidPath());
}else {
userRoleQuery.setOrgSid(wmsInventoryAllocateBill.getOutPlatSid());
bv.setOrgSidPath(dcOrg.getOrgSidPath());
}
} else if (bv.getTaskDefKey().equals("Activity_1ri7ft5")) {//调出方省(分)公司总经理审批
userRoleQuery.setOrgSid(wmsInventoryAllocateBill.getInPlatSid());

Loading…
Cancel
Save