修改如下:
<if test="kindcode != null and kindcode!=''"> and a.kindcode =#{kindcode} </if> 改为 <if test="kindcode != null"> and a.kindcode =#{kindcode} </if>
修改如下:
<if test="kindcode != null and kindcode!=''"> and a.kindcode =#{kindcode} </if> 改为 <if test="kindcode != null"> and a.kindcode =#{kindcode} </if>
转载于:https://www.cnblogs.com/yanwenxue/p/9091835.html