1.修改sql条件拼接错误问题

master
x_z 3 years ago
parent a4c372863b
commit f5bc84f93a

@ -11,9 +11,6 @@
<if test="companyName != null and '' !=companyName"> <if test="companyName != null and '' !=companyName">
AND companyName like concat(#{companyName},'%') AND companyName like concat(#{companyName},'%')
</if> </if>
</where>
<where>
<if test="checkType != null and ''!=checkType"> <if test="checkType != null and ''!=checkType">
AND checkType = #{checkType} AND checkType = #{checkType}
</if> </if>

Loading…
Cancel
Save