Compare commits

...

3 Commits

Author SHA1 Message Date
wangliwen 2e2f506866 Merge branch 'master' into docker_package 2022-12-16 15:54:12 +08:00
wangliwen f0d398b9a4 Merge branch 'dev' 2022-12-16 15:53:59 +08:00
wangliwen 8884612800 .... 2022-12-16 15:53:50 +08:00
2 changed files with 4 additions and 3 deletions

View File

@ -186,7 +186,7 @@ public class ResourceController {
}
if (useIds1.contains(user.getId())) { // 区管理员
logger.info("区管理员");
logger.info("区管理员:" + sysDeptEntity.getDistrict());
SysDeptEntity finalSysDeptEntity = sysDeptEntity;
List<Long> deptId = sysDeptDao.getIdFromDistrict(sysDeptEntity.getDistrict());
List<Long> temp = new ArrayList<Long>() {
@ -214,8 +214,8 @@ public class ResourceController {
break;
}
}
}
break;
}
PageData<ResourceDTO> page = resourceService.page(params);

View File

@ -563,7 +563,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
}
if (useIds1.contains(user.getId())) { // 区管理员
logger.info("区管理员");
logger.info("区管理员" + sysDeptEntity.getDistrict());
SysDeptEntity finalSysDeptEntity = sysDeptEntity;
List<Long> deptId = sysDeptDao.getIdFromDistrict(sysDeptEntity.getDistrict());
List<Long> temp = new ArrayList<Long>() {
@ -599,6 +599,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
}
}
break;
}
Boolean nonChinese = jsonObject.containsKey("nonChinese") ? jsonObject.getBoolean("nonChinese") : Boolean.FALSE; // 不传默认为中文走全文索引