Browse Source

修改

zhanglei
ligaode 3 weeks ago
parent
commit
c6b376d676
  1. 2
      yxt-wms-biz/src/main/java/com/yxt/wms/biz/inventory/wmsinventoryallocatebill/WmsInventoryAllocateBillService.java

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

@ -378,6 +378,7 @@ public class WmsInventoryAllocateBillService extends MybatisBaseService<WmsInven
//获取下一环节审批角色
List<String> candidateGroups = voList.get(0).getCandidateGroups();
UserRoleQuery userRoleQuery = new UserRoleQuery();
if (candidateGroups != null && candidateGroups.size() > 0){
userRoleQuery.setRoleSid(candidateGroups.get(0));
if (bv.getTaskDefKey().equals("Activity_0eb1lqn")) {//调出方配件主管审批
userRoleQuery.setOrgSid(wmsInventoryAllocateBill.getInPlatSid());
@ -392,6 +393,7 @@ public class WmsInventoryAllocateBillService extends MybatisBaseService<WmsInven
userRoleQuery.setOrgSid(wmsInventoryAllocateBill.getInPlatSid());
bv.setOrgSidPath(drOrg.getOrgSidPath());
}
}
List<SysUserVo> sysUserVos = sysUserFeign.getOtherOrgRoleUser(userRoleQuery).getData();
StringBuilder nextNodeUserSids = new StringBuilder();
if (sysUserVos.size() > 0) {

Loading…
Cancel
Save