|
@@ -61,6 +61,10 @@
|
|
|
|
|
|
<select id="selectIndexList" parameterType="com.platform.dao.dto.custom.CustomFormDTO" resultType="com.platform.dao.vo.query.custom.CustomFormVO">
|
|
|
select form.id,form.name
|
|
|
- from t_custom_form as form where status = 1 limit 30
|
|
|
+ from t_custom_form as form where status = 1
|
|
|
+ <if test="name != null and name != ''">
|
|
|
+ and name like concat(concat('%',#{name}),'%')
|
|
|
+ </if>
|
|
|
+ limit 30
|
|
|
</select>
|
|
|
</mapper>
|