|
@ -28,7 +28,7 @@ |
|
|
where t1.id = #{id} and t1.del_flag = 0 |
|
|
where t1.id = #{id} and t1.del_flag = 0 |
|
|
</select> |
|
|
</select> |
|
|
<select id="getModuleListByRole" resultType="com.elink.esua.epdc.dto.ModuleOptionDTO"> |
|
|
<select id="getModuleListByRole" resultType="com.elink.esua.epdc.dto.ModuleOptionDTO"> |
|
|
select t1.id,t1.pid,t1.id as value,t1.type_name as label |
|
|
select distinct t1.id,t1.pid,t1.id as value,t1.type_name as label |
|
|
from epdc_module_type t1 |
|
|
from epdc_module_type t1 |
|
|
left join epdc_role_module rm on rm.MODULE_ID=t1.id |
|
|
left join epdc_role_module rm on rm.MODULE_ID=t1.id |
|
|
where t1.del_flag = 0 |
|
|
where t1.del_flag = 0 |
|
|