puzhibing
2023-07-06 c0f6294b0be6789fddd652f89f820fcf6d5526cf
cloud-server-activity/src/main/resources/mapper/UserCouponMapper.xml
@@ -9,8 +9,8 @@
        b.`name`,
        b.type,
        b.content,
        DATE_FORMAT('%y-%M-%d', b.startTime) as startTime,
        DATE_FORMAT('%y-%M-%d', b.endTime) as endTime
        DATE_FORMAT(b.startTime, '%Y-%m-%d') as startTime,
        DATE_FORMAT(b.endTime, '%Y-%m-%d') as endTime
        from t_user_coupon a
        left join t_coupon b on (a.couponId = b.id)
        where a.`status` = 1 and b.type != 3 and a.userId = #{uid} and (