Commit ad36bc6d by liulianglang

查询修改

parent 003d521e
......@@ -38,12 +38,16 @@
<if test="dwdm != null and dwdm != ''">
unitcode like CONCAT(#{dwdm,jdbcType=VARCHAR}, '%')
</if>
<if test="dwList != null and dwList.size() > 0">
and unitcode in
<foreach collection="dwList" item="dw" open="(" close=")" separator=",">
#{dw,jdbcType=VARCHAR}
</foreach>
</if>
<if test="dwList != null and dwList.size() > 0">
and
<foreach collection="dwList" item="dws" open="(" close=")" separator=" or ">
unitcode in
<foreach collection="dws" item="dw" separator="," open="(" close=")">
#{dw,jdbcType=VARCHAR}
</foreach>
</foreach>
</if>
<if test="xm != null and xm != ''">
and true_name like CONCAT('%', #{xm,jdbcType=VARCHAR}, '%')
</if>
......@@ -64,10 +68,14 @@
<if test="dwdm != null and dwdm != ''">
unitcode like CONCAT(#{dwdm,jdbcType=VARCHAR}, '%')
</if>
<if test="dwList != null and dwList.size() > 0">
and unitcode in
<foreach collection="dwList" item="dw" open="(" close=")" separator=",">
#{dw,jdbcType=VARCHAR}
and
<foreach collection="dwList" item="dws" open="(" close=")" separator=" or ">
unitcode in
<foreach collection="dws" item="dw" separator="," open="(" close=")">
#{dw,jdbcType=VARCHAR}
</foreach>
</foreach>
</if>
<if test="xm != null and xm != ''">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment