Commit 5d574bce by 熊付

1

1 parent 1d6dbd0f
......@@ -321,7 +321,7 @@
#{salesperson_unid}
</foreach>
</if>
<if test="contract_states !=null ">
<if test="contract_states !=null and contract_states.length > 0">
and
contract_state in
<foreach collection="contract_states" index="index" item="contract_state" open="(" close=")" separator=",">
......@@ -458,14 +458,14 @@
and
contract_unid=#{contract_unid}
</if>
<if test="salesperson_unids !=null">
<if test="salesperson_unids !=null and salesperson_unids.length > 0">
and
salesperson_unid in
<foreach collection="salesperson_unids" index="index" item="salesperson_unid" open="(" close=")" separator=",">
#{salesperson_unid}
</foreach>
</if>
<if test="contract_states !=null">
<if test="contract_states !=null and contract_states.length > 0">
and
contract_state in
<foreach collection="contract_states" index="index" item="contract_state" open="(" close=")" separator=",">
......@@ -636,7 +636,7 @@
#{salesperson_unid}
</foreach>
</if>
<if test="contract_states !=null">
<if test="contract_states !=null and contract_states.length > 0">
and
contract_state in
<foreach collection="contract_states" index="index" item="contract_state" open="(" close=")" separator=",">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!