更新清分

This commit is contained in:
panshuling321 2022-06-20 14:41:26 +08:00
parent cd311d5ed7
commit f9ff849691

View File

@ -283,13 +283,13 @@
</if> </if>
<if test="params.operatorId !=null"> <if test="params.operatorId !=null">
and ho.operator_id =#{operatorId} and ho.operator_id =#{params.operatorId}
</if> </if>
<if test="params.chargingStationId !=null"> <if test="params.chargingStationId !=null">
and ho.charging_station_id =#{chargingStationId} and ho.charging_station_id =#{params.chargingStationId}
</if> </if>
<if test="params.chargingPileId !=null"> <if test="params.chargingPileId !=null">
and ho.terminal_id in (select terminal_id from xhpc_terminal where charging_pile_id=#{chargingPileId} and del_flag =0) and ho.terminal_id in (select terminal_id from xhpc_terminal where charging_pile_id=#{params.chargingPileId} and del_flag =0)
</if> </if>
<if test="params.type==1"> <if test="params.type==1">
and ho.charging_station_id in (select charging_station_id from xhpc_charging_station where operator_id=#{params.logOperatorId}) and ho.charging_station_id in (select charging_station_id from xhpc_charging_station where operator_id=#{params.logOperatorId})