@ -13,7 +13,7 @@
AND `templateId` LIKE CONCAT(#{templateId},'%')
</if>
<if test="name != null and '' != name">
AND `name` LIKE CONCAT(#{name},'%')
AND `name` LIKE CONCAT('%',#{name},'%')
</where>
</select>
@ -9,7 +9,7 @@
FROM system_pdf_template
<where>
<if test="module != null ">
AND `module` = #{module}