@@ -36,7 +36,7 @@
select id,name,type,direction,start_index,end_index,description,status,isvalid,creatorid,createtime,updaterid,updatetime
from PPW_EMAIL.email_template_info where isvalid=1
<if test="name != null and name !=''">
- and name =#{name}
+ and name like concat('%',#{name},'%')
</if>
<if test="type != null">
and type =#{type}
@@ -51,7 +51,7 @@
select count(1)