diff --git a/power-dao/src/main/resources/mapper/Power_Sys_DictMapper.xml b/power-dao/src/main/resources/mapper/Power_Sys_DictMapper.xml index 8b3276d..580243f 100644 --- a/power-dao/src/main/resources/mapper/Power_Sys_DictMapper.xml +++ b/power-dao/src/main/resources/mapper/Power_Sys_DictMapper.xml @@ -357,7 +357,7 @@ dict.dict_area FROM power_sys_dict dict - LEFT JOIN power_dept dept ON dict.dept_id = dept.dict_id + LEFT JOIN power_dept dept ON dict.dict_id = dept.dict_id AND dict.dict_status = 1 AND dept.effective = 1