Browse Source

工作台

guarantee-lsq 7 months ago
parent
commit
2ea2765d8e

+ 5 - 1
platform-dao/src/main/resources/mapper/custom/CustomFormMapper.xml

@@ -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>