|
@@ -182,12 +182,12 @@ public class OrgInfoController {
|
|
182
|
List<ButtonInfo> buttonList = buttonInfoService.queryByExample(exampleButton);
|
182
|
List<ButtonInfo> buttonList = buttonInfoService.queryByExample(exampleButton);
|
|
183
|
roleButtonService.saveForList(roleInfo.getRoleId(), buttonList);
|
183
|
roleButtonService.saveForList(roleInfo.getRoleId(), buttonList);
|
|
184
|
} else {
|
184
|
} else {
|
|
185
|
-// if(!ObjectUtils.toString(orgInfo.getBirdsEye()).isEmpty()) {
|
|
|
|
186
|
-// String path = uploadPath+orgInfo.getBirdsEye();
|
|
|
|
187
|
-// byte[] file2byte = FileUtil.file2byte(path);
|
|
|
|
188
|
-// String hexString = FileUtil.toHexString(file2byte);
|
|
|
|
189
|
-// orgInfo.setWjl(hexString);
|
|
|
|
190
|
-// }
|
|
|
|
|
|
185
|
+ if(!ObjectUtils.toString(orgInfo.getBirdsEye()).isEmpty()) {
|
|
|
|
186
|
+ String path = uploadPath+orgInfo.getBirdsEye();
|
|
|
|
187
|
+ byte[] file2byte = FileUtil.file2byte(path);
|
|
|
|
188
|
+ String hexString = FileUtil.toHexString(file2byte);
|
|
|
|
189
|
+ orgInfo.setWjl(hexString);
|
|
|
|
190
|
+ }
|
|
191
|
orgInfoService.update(orgInfo);
|
191
|
orgInfoService.update(orgInfo);
|
|
192
|
}
|
192
|
}
|
|
193
|
/*if(5318 == orgInfo.getOrgClassId()) {//粮食企业的级别是在上级行政单位的级别上加2位顺序码
|
193
|
/*if(5318 == orgInfo.getOrgClassId()) {//粮食企业的级别是在上级行政单位的级别上加2位顺序码
|