xuhy
2025-01-10 d055195c30fd7a4c39ac26f764fdfb307868b489
ManagementOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TWithdrawalMapper.xml
@@ -36,10 +36,10 @@
        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 &gt;= #{beginTime} and t.withdrawalTime &lt;= #{endTime}
                and t.withdrawalTime &gt;= CONCAT(#{beginTime},' 00:00:00') and t.withdrawalTime &lt;= 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}