puzhibing
2024-02-22 f1b34753044b88cf10d21aba80e728cc1dfb5e66
UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/OrderCancelMapper.xml
@@ -58,7 +58,7 @@
        orderType,
        CONCAT(if(orderType = 1, '打车', if(orderType = 2, '出租车', if(orderType = 3, '跨城', if(orderType = 4, '包裹', if(orderType = 5, '跨城小件物流', '包车'))))), '订单取消') as name,
        UNIX_TIMESTAMP(insertTime) as insertTime
        from t_order_cancel where state = 2 and userType = 1 and money is not null and userId = #{uid}
        from t_order_cancel where state = 2 and userType = 1 and money is not null and userId = #{uid} and payType = 3
        <choose>
            <when test="1 == isPay">
                and money is null