xuhy
2025-08-29 d2c5f419fa584cd1061b13d47f4963d7a2ef3e3a
UserZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/taxi/dao/mapping/PaymentRecordMapper.xml
@@ -19,19 +19,7 @@
    <select id="query" resultType="PaymentRecord">
        select
        id as id,
        category as category,
        userId as userId,
        `type` as `type`,
        orderId as orderId,
        orderType as orderType,
        payType as payType,
        amount as amount,
        code as code,
        state as state,
        insertTime as insertTime
        from t_payment_record where category = #{category}
        select * from t_payment_record where category = #{category}
        <if test="null != userId">
            and userId = #{userId}
        </if>