Commit c7abc20e authored by 332784038@qq.com's avatar 332784038@qq.com

sql修复

parent 101447ce
...@@ -1951,23 +1951,6 @@ ...@@ -1951,23 +1951,6 @@
<if test="query.pdaDestWareIds != null and query.pdaDestWareIds != '' "> <if test="query.pdaDestWareIds != null and query.pdaDestWareIds != '' ">
AND FIND_IN_SET(ew_dest.`id`, #{query.pdaDestWareIds}) AND FIND_IN_SET(ew_dest.`id`, #{query.pdaDestWareIds})
</if> </if>
<if test="query.isExternalWarehouse != null and query.isExternalWarehouse.size()>0">
<if test="query.isExternalWarehouse != null and query.isExternalWarehouse.size()==1 ">
AND o.`is_external_warehouse` =
<foreach item='isExternalWarehouse' index="index" collection='query.isExternalWarehouse' >
#{isExternalWarehouse}
</foreach>
</if>
<if test="query.isExternalWarehouse != null and query.isExternalWarehouse.size()>1 ">
AND o.`is_external_warehouse` in
<foreach item='isExternalWarehouse' index="index" collection='query.isExternalWarehouse' open='(' separator=',' close=')'>
#{isExternalWarehouse}
</foreach>
</if>
</if>
<if test="query.pickState != null"> <if test="query.pickState != null">
AND o.`pick_state` = #{query.pickState} AND o.`pick_state` = #{query.pickState}
</if> </if>
......
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