|
|
@@ -75,25 +75,25 @@
|
|
|
and t2.user_id = #{params.userId}
|
|
|
</if>
|
|
|
<if test="params.mobilePhone != null and params.mobilePhone != ''">
|
|
|
- and t2.mobile_phone = "#{params.mobilePhone}"
|
|
|
+ and t2.mobile_phone = #{params.mobilePhone}
|
|
|
</if>
|
|
|
<if test="params.connectorId != null and params.connectorId != ''">
|
|
|
- and t1.connector_id = "#{params.connectorId}"
|
|
|
+ and t1.connector_id = #{params.connectorId}
|
|
|
</if>
|
|
|
<if test="params.startChargeSeq != null and params.startChargeSeq != ''">
|
|
|
- and t1.start_charge_seq = "#{params.startChargeSeq}"
|
|
|
+ and t1.start_charge_seq = #{params.startChargeSeq}
|
|
|
</if>
|
|
|
<if test="params.stationId != null and params.stationId != ''">
|
|
|
- and t1.station_id = "#{params.stationId}"
|
|
|
+ and t1.station_id = #{params.stationId}
|
|
|
</if>
|
|
|
<if test="params.orderStatus != null">
|
|
|
and t1.order_status = #{params.orderStatus}
|
|
|
</if>
|
|
|
<if test="params.startDate != null and params.startDate != ''">
|
|
|
- and t1.start_time >= "#{params.startDate}"
|
|
|
+ and t1.start_time >= #{params.startDate}
|
|
|
</if>
|
|
|
<if test="params.endDate != null and params.endDate != ''">
|
|
|
- and t1.end_time <= "#{params.endDate}"
|
|
|
+ and t1.end_time <= #{params.endDate}
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
@@ -123,25 +123,25 @@
|
|
|
and t2.user_id = #{params.userId}
|
|
|
</if>
|
|
|
<if test="params.mobilePhone != null and params.mobilePhone != ''">
|
|
|
- and t2.mobile_phone = "#{params.mobilePhone}"
|
|
|
+ and t2.mobile_phone = #{params.mobilePhone}
|
|
|
</if>
|
|
|
<if test="params.connectorId != null and params.connectorId != ''">
|
|
|
- and t1.connector_id = "#{params.connectorId}"
|
|
|
+ and t1.connector_id = #{params.connectorId}
|
|
|
</if>
|
|
|
<if test="params.stationId != null and params.stationId != ''">
|
|
|
- and t1.station_id = "#{params.stationId}"
|
|
|
+ and t1.station_id = #{params.stationId}
|
|
|
</if>
|
|
|
<if test="params.startChargeSeq != null and params.startChargeSeq != ''">
|
|
|
- and t1.start_charge_seq = "#{params.startChargeSeq}"
|
|
|
+ and t1.start_charge_seq = #{params.startChargeSeq}
|
|
|
</if>
|
|
|
<if test="params.orderStatus != null">
|
|
|
and t1.order_status = #{params.orderStatus}
|
|
|
</if>
|
|
|
<if test="params.startDate != null and params.startDate != ''">
|
|
|
- and t1.start_time >= "#{params.startDate}"
|
|
|
+ and t1.start_time >= #{params.startDate}
|
|
|
</if>
|
|
|
<if test="params.endDate != null and params.endDate != ''">
|
|
|
- and t1.end_time <= "#{params.endDate}"
|
|
|
+ and t1.end_time <= #{params.endDate}
|
|
|
</if>
|
|
|
</where>
|
|
|
order by t1.start_time desc
|