|
|
@ -107,9 +107,8 @@ |
|
|
|
<select id="selectListHomeComponentDTO" parameterType="map" resultType="com.epmet.dto.HomeComponentDTO"> |
|
|
|
select hc.*,f.FUNCTION_NAME |
|
|
|
from home_component hc |
|
|
|
left join function f on(hc.FUNCTION_ID=f.id) |
|
|
|
left join function f on(hc.FUNCTION_ID=f.id and f.del_flag='0') |
|
|
|
where hc.del_flag='0' |
|
|
|
and f.del_flag='0' |
|
|
|
<if test='componentName != "" and componentName != null'> |
|
|
|
AND hc.COMPONENT_NAME LIKE concat('%', trim(#{componentName}), '%') |
|
|
|
</if> |
|
|
|