44323
2024-03-19 7b65fb8c1001850e468a51c2d9af474621ce7115
cloud-server-competition/src/main/resources/mapper/PaymentCompetitionMapper.xml
@@ -35,8 +35,10 @@
        order by a.insertTime desc limit #{pageNo}, #{pageSize}
    </select>
    <select id="queryDatas" resultType="com.dsh.competition.feignclient.model.BillingRequest">
        SELECT DATE_FORMAT(insertTime, '%m-%d %H:%i')as `time`,
        amount
        SELECT
        DATE_FORMAT(insertTime, '%m-%d %H:%i')as `time`,
        amount,
        UNIX_TIMESTAMP(payTime) * 1000 as dateTime
        from t_payment_competition
        where payStatus in (2,3) and payType in (1,2)
        <if test="null != monthStart and '' != monthStart and null != monthEnd and '' != monthEnd">
@@ -47,8 +49,10 @@
        </if>
    </select>
    <select id="queryCancelDatas" resultType="com.dsh.competition.feignclient.model.BillingRequest">
        SELECT DATE_FORMAT(refundTime, '%m-%d %H:%i')as `time`,
        amount
        SELECT
        DATE_FORMAT(refundTime, '%m-%d %H:%i')as `time`,
        amount,
        UNIX_TIMESTAMP(refundTime) * 1000 as dateTime
        from t_payment_competition
        where payStatus = 3 and payType in (1,2)
        <if test="null != monthStart and '' != monthStart and null != monthEnd and '' != monthEnd">