|
|
@ -5038,7 +5038,11 @@ public class LoanRepaymentScheduleService extends MybatisBaseService<LoanRepayme |
|
|
|
useOrgSid = orgCompany.getSid(); |
|
|
|
useOrgName = orgCompany.getName(); |
|
|
|
} |
|
|
|
SysOrganization orgDept = sysOrganizationFeign.selectByOrgCodeAndPsid(salesDeptNo, useOrgSid).getData(); |
|
|
|
List<SysOrganization> orgDepts = sysOrganizationFeign.selectByOrgCodeAndPsid(salesDeptNo, useOrgSid).getData(); |
|
|
|
SysOrganization orgDept = null; |
|
|
|
if (!orgDepts.isEmpty() && orgDepts.size() > 0) { |
|
|
|
orgDept = orgDepts.get(0); |
|
|
|
} |
|
|
|
if (orgDept != null) { |
|
|
|
deptSid = orgDept.getSid(); |
|
|
|
deptName = orgDept.getName(); |
|
|
|