支持ams分阵地数据库查询(初版)

develop
yuemian 2024-08-29 09:41:45 +08:00
parent 3590df533c
commit 6ec0a3741e
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ public class ModuleRelationRepository extends BasicGenericDao<ModuleRelation, Lo
return this.list(ModuleRelation.class, sql, MapTools.simpleMap("categoryId", categoryId));
}
public List<ModuleRelation> queryModuleList(Long categoryI, String positionKey) throws Exception {
public List<ModuleRelation> queryModuleList(Long categoryId, String positionKey) throws Exception {
String sql;
if (StringUtils.isNotEmpty(positionKey)) {
sql = "select a.* from " + positionKey + ".ci_module_relation a where a.is_deleted=0 and a.relation_category_id = :categoryId";