Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-12-16 15:54:12 +08:00
commit 2e2f506866
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; // 不传默认为中文走全文索引