Commit 0daff60e authored by zhangyingbin's avatar zhangyingbin

修改企业同步接口

parent 0f836c11
......@@ -117,6 +117,12 @@ public class PrivilegeCompanyUpdateAddListener extends EmqxListener {
if(ValidationUtil.isEmpty(privilegeCompanyModel)){
privilegeCompanyModel = Privilege.companyClient.queryByCompanyCode("610000").getResult();
}
if(ValidationUtil.isEmpty(tzBaseEnterpriseInfo.getUnitType())){
tzBaseEnterpriseInfo.setUnitType("");
}
if(ValidationUtil.isEmpty(companyModel.getCompanyType())){
companyModel.setCompanyType("");
}
try {
tzBaseEnterpriseInfo.setSuperviseOrgCode(privilegeCompanyModel.getOrgCode());
......
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