| | |
| | | left join t_driver d on t.driverId = d.id |
| | | <where> |
| | | <if test="beginTime != null and beginTime != '' and endTime != null and endTime != ''"> |
| | | and t.withdrawalTime >= #{beginTime} and t.withdrawalTime <= #{endTime} |
| | | and t.withdrawalTime >= CONCAT(#{beginTime},' 00:00:00') and t.withdrawalTime <= CONCAT(#{endTime},' 23:59:59') |
| | | </if> |
| | | <if test="receivePaymentName != null and receivePaymentName != ''"> |
| | | and t.receivePaymentName like concat('%',#{receivePaymentName},'%') |
| | | <if test="driverName != null and driverName != ''"> |
| | | and d.name like concat('%',#{driverName},'%') |
| | | </if> |
| | | <if test="status != null"> |
| | | and t.status = #{status} |