Commit 07965522 authored by tianbo's avatar tianbo

feat(patrol): 添加公司业务组织代码设置功能

- 在人员识别切面中增加companyBizOrgCode字段设置
parent 6c6a8bb7
...@@ -69,7 +69,8 @@ public class PersonIdentifyTzsAspect { ...@@ -69,7 +69,8 @@ public class PersonIdentifyTzsAspect {
// ReginParams.PersonIdentity personIdentity = (ReginParams.PersonIdentity) Bean.mapToBean((Map<String, Object>) responseModel.getResult(), ReginParams.PersonIdentity.class); // ReginParams.PersonIdentity personIdentity = (ReginParams.PersonIdentity) Bean.mapToBean((Map<String, Object>) responseModel.getResult(), ReginParams.PersonIdentity.class);
//电力默认走公司权限 //电力默认走公司权限
// if (!logic) { // if (!logic) {
personIdentity.setBizOrgCode(StringUtils.isEmpty(reginParam.getCompany().getOrgCode()) ? "-1" : reginParam.getCompany().getOrgCode()); personIdentity.setBizOrgCode(StringUtils.isEmpty(reginParam.getCompany().getOrgCode()) ? "-1" : reginParam.getCompany().getOrgCode());
personIdentity.setCompanyBizOrgCode(StringUtils.isEmpty(reginParam.getCompany().getOrgCode()) ? "-1" : reginParam.getCompany().getOrgCode());
// } // }
reginParam.setPersonIdentity(personIdentity); reginParam.setPersonIdentity(personIdentity);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment