bug修改

fengcang
anthonyywj2 3 years ago
parent 36d7cd6ee3
commit 05591c1ff9

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

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

Loading…
Cancel
Save