刘帅
2026-09-08 572df690f72ed4a077d934823f261dec39b3cc7d
cloud-server-account/src/main/resources/mapper/RechargeRecordsMapper.xml
@@ -33,6 +33,7 @@
            </if>
            and t1.payStatus = 2
        </where>
        order by t1.insertTime desc, t1.id desc
    </select>
    <select id="listAll" resultType="com.dsh.account.entity.VipPayment">
        select t1.* from t_vip_payment t1
@@ -53,7 +54,15 @@
            <if test="sTime !=null and sTime!= '' and eTime !=null and eTime!= ''">
                and t1.insertTime between #{sTime} and #{eTime}
            </if>
            and t1.payStatus = 2
            <choose>
                <when test="query.includeRefund != null and query.includeRefund">
                    and t1.payStatus IN (2, 3)
                </when>
                <otherwise>
                    and t1.payStatus = 2
                </otherwise>
            </choose>
        </where>
        order by t1.insertTime desc, t1.id desc
    </select>
</mapper>