@@ -41,4 +41,6 @@ public class TemplateInfoPageVO extends Page{
private String type;//模板类型
private List<Integer> sex;//性别
+
+ private String name;//模板名字
}
@@ -89,6 +89,9 @@
<if test="type != null and type != ''">
and type = #{type}
</if>
+ <if test="name != null and name != ''">
+ and name like concat('%',#{name},'%')
+ </if>
and sex in
<foreach collection="sex" item="sexNew" open="(" close=")"
separator=",">