Commit a0ec2a4f authored by wujiang's avatar wujiang

修改资源授权

parent e72b618c
...@@ -161,7 +161,7 @@ public class ControllerAop { ...@@ -161,7 +161,7 @@ public class ControllerAop {
if(companyM.getRegionSeq()!=null) if(companyM.getRegionSeq()!=null)
{ {
FeignClientResult<RegionModel> result = Systemctl.regionClient.getRegion(Long.valueOf(companyM.getRegionSeq())); FeignClientResult<RegionModel> result = Systemctl.regionClient.getRegion(Long.valueOf(companyM.getRegionSeq()));
company.setRegionCode(result.getResult().getRegionCode()); company.setRegionCode(String.valueOf(result.getResult().getRegionCode()));
} }
Bean.copyExistPropertis(roleM, role); Bean.copyExistPropertis(roleM, role);
ReginParams reginParams = new ReginParams(); ReginParams reginParams = new ReginParams();
......
...@@ -19,7 +19,7 @@ public class CompanyBo { ...@@ -19,7 +19,7 @@ public class CompanyBo {
private String orgCode; private String orgCode;
private Long parentId; private Long parentId;
private Long sequenceNbr; private Long sequenceNbr;
private Integer regionCode; private String regionCode;
private List<CompanyBo> children; private List<CompanyBo> children;
public String getAddress() { public String getAddress() {
...@@ -118,11 +118,11 @@ public class CompanyBo { ...@@ -118,11 +118,11 @@ public class CompanyBo {
this.children = children; this.children = children;
} }
public Integer getRegionCode() { public String getRegionCode() {
return regionCode; return regionCode;
} }
public void setRegionCode(Integer regionCode) { public void setRegionCode(String regionCode) {
this.regionCode = regionCode; this.regionCode = regionCode;
} }
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
produce.factory_num, produce.factory_num,
CONCAT(use1.province,'/',use1.city,'/',use1.county)AS area, CONCAT(use1.province,'/',use1.city,'/',use1.county)AS area,
use1.address use1.address
FROM tz_jg_supervise_info supervise FROM tz_jg_use_info use1
LEFT JOIN LEFT JOIN
tz_jg_use_info use1 ON use1.sequence_code = tz_jg_supervise_info supervise ON use1.sequence_code =
supervise.sequence_code supervise.sequence_code
LEFT JOIN tz_jg_maintenance_info maintenance ON LEFT JOIN tz_jg_maintenance_info maintenance ON
maintenance.sequence_code maintenance.sequence_code
......
...@@ -57,7 +57,7 @@ public class ESAlertCalledService { ...@@ -57,7 +57,7 @@ public class ESAlertCalledService {
public void init() throws Exception public void init() throws Exception
{ {
//初始化ES,重建索引 //初始化ES,重建索引
//initEs(); initEs();
} }
/** /**
......
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