删除一个重复查询的条件
This commit is contained in:
parent
2e1620e51f
commit
a38d45a52d
@ -277,12 +277,9 @@
|
||||
<if test="params.stationId!=null and params.stationId!=''">
|
||||
and ho.charging_station_id=#{params.stationId}
|
||||
</if>
|
||||
<if test="params.checkoutIds!=null and params.checkoutIds!=''">
|
||||
<if test="params.checkoutIds!=null and params.checkoutIds!='' and params.checkoutIds!='-1'">
|
||||
and find_in_set(ho.clearing_checkout_id, #{params.checkoutIds})
|
||||
</if>
|
||||
<if test="params.orderIds!=null and params.orderIds!=''">
|
||||
and find_in_set(ho.clearing_order_id, #{params.orderIds})
|
||||
</if>
|
||||
|
||||
<if test="params.operatorId !=null and params.operatorId !=''">
|
||||
and ho.operator_id =#{params.operatorId}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user