|
@@ -31,7 +31,7 @@
|
|
<select id="getModuleInfoListByType" resultType="com.diagbot.dto.ModuleInfoListDTO">
|
|
<select id="getModuleInfoListByType" resultType="com.diagbot.dto.ModuleInfoListDTO">
|
|
SELECT * FROM `prec_module_info` WHERE is_deleted = 'N'
|
|
SELECT * FROM `prec_module_info` WHERE is_deleted = 'N'
|
|
<if test="name != null and name != ''">
|
|
<if test="name != null and name != ''">
|
|
- and name = #{name}
|
|
|
|
|
|
+ and name like concat ('%',#{name},'%')
|
|
</if>
|
|
</if>
|
|
<if test="type != null and type != ''">
|
|
<if test="type != null and type != ''">
|
|
and type = #{type}
|
|
and type = #{type}
|