无关风月
2025-08-07 370d23bdd53cc6dab3cfe0949b0e3a7746dfc110
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>