|
|
@@ -1098,7 +1098,7 @@ left join t_order_outsource too on o.order_no=too.order_no where delete_sign !=
|
|
|
and d.finance_id = #{o.financeId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="fids != null and o.financeId != """>
|
|
|
- and d.finance_id =
|
|
|
+ and d.finance_id in
|
|
|
<foreach item="item" collection="fids" separator="," open="(" close=")" index="">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
@@ -1151,7 +1151,7 @@ left join department d on o.order_dep = d.id left join t_order_mid a on o.orde
|
|
|
and d.finance_id = #{o.financeId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="fids != null and o.financeId != """>
|
|
|
- and d.finance_id =
|
|
|
+ and d.finance_id in
|
|
|
<foreach item="item" collection="fids" separator="," open="(" close=")" index="">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
@@ -1552,8 +1552,8 @@ where super_id is null ) e on e.order_no=a.order_no
|
|
|
<if test="o.financeId != null and o.financeId != """>
|
|
|
and d.finance_id = #{o.financeId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- <if test="fids != null and o.financeId != """>
|
|
|
- and d.finance_id =
|
|
|
+ <if test="fids != null and fids != """>
|
|
|
+ and d.finance_id in
|
|
|
<foreach item="item" collection="fids" separator="," open="(" close=")" index="">
|
|
|
#{item}
|
|
|
</foreach>
|