liujie
2025-08-20 cbc307682c0ca48d59e7b539d6a2ae58d49cabe1
ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TAbnormalPayOrderMapper.xml
@@ -4,14 +4,14 @@
    <select id="list" resultType="java.util.Map">
        select o.id,o.createTime, o.orderNum, t2.nickName userName, t2.phone userPhone, o.passengers, o.passengersPhone, o.payStatus, o.payTime, o.payMoney, o.insertTime, o.companyId
        select o.id,o.createTime, o.orderNo as orderNum, t2.nickName userName, t2.phone userPhone, o.passengers, o.passengersPhone, o.payStatus, o.payTime, o.payMoney, o.insertTime, o.companyId
        from t_abnormal_pay_order o left join  t_user t2 on o.userId = t2.id
        where 1=1
        <if test="beginTime != null and beginTime != '' and endTime != null and endTime != ''">
            AND (o.insertTime between CONCAT(#{beginTime},' 00:00:00') and CONCAT(#{endTime},' 23:59:59'))
        </if>
        <if test="orderNum != null and orderNum != ''">
            and o.orderNum  LIKE CONCAT('%',#{orderNum},'%')
            and o.orderNo  LIKE CONCAT('%',#{orderNum},'%')
        </if>
        <if test="userName != null and userName != ''">
            and t2.nickName  LIKE CONCAT('%',#{userName},'%')
@@ -34,6 +34,7 @@
        <if test="null != abnormalStatus">
            and o.payStatus = #{abnormalStatus}
        </if>
        order by o.createTime desc
    </select>
</mapper>