|
|
@ -87,6 +87,7 @@ public class FactoryDaliyReportService { |
|
|
|
List<String> orgSidList = Arrays.asList(orgPath.split("/")); |
|
|
|
String type = query.getType(); |
|
|
|
String name = ""; |
|
|
|
//type=syb 为事业部名称 type=空 为分公司名称 jt为集团
|
|
|
|
if (StringUtils.isNotBlank(type)) { |
|
|
|
if ("syb".equals(type)) { |
|
|
|
// 取事业部(前两级)
|
|
|
@ -97,7 +98,7 @@ public class FactoryDaliyReportService { |
|
|
|
|
|
|
|
SysOrganizationVo sysOrganization = sysOrganizationFeign.fetchBySid(sybSid).getData(); |
|
|
|
name = sysOrganization.getName(); |
|
|
|
reportMap.put("linkSid", sybSid); |
|
|
|
reportMap.put("linkSid", sybSid);//跳转品牌所需要的sid/仅 type=syb生效
|
|
|
|
qw.like("orgPath", orgPathPrefix); |
|
|
|
} |
|
|
|
|
|
|
@ -144,6 +145,7 @@ public class FactoryDaliyReportService { |
|
|
|
unUploadVo.setFeeUnPaid(factoryDaliyReportVo.getPending_payment()); |
|
|
|
factoryDaliyReportVo.setUnUpload(unUploadVo); |
|
|
|
if(StringUtils.isBlank(type)){ |
|
|
|
//分公司sid#年份/仅分公司下返回
|
|
|
|
String orgSid = orgSidList.get(2); |
|
|
|
factoryDaliyReportVo.setLinkSid(orgSid+"#"+factoryDaliyReportVo.getYear()); |
|
|
|
} |
|
|
|