无关风月
2025-04-10 b74277583bf9b2b89247061bf08c17a03b71c76e
cloud-server-activity/src/main/resources/mapper/HuiminCardMapper.xml
@@ -14,10 +14,21 @@
            limit #{pageNo}, #{pageSize}
    </select>
    <select id="getHuiminAgreementAndListNolimit" resultType="com.dsh.activity.entity.THuiminCard">
        select t1.* from t_huimin_card t1
        where
            find_in_set(#{storeId},t1.storeIds)
          and t1.endTime >= now()
        and t1.status = 1
            order by t1.sort desc
    </select>
    <select id="getMyHuiminCardList" resultType="com.dsh.activity.model.response.MyHuiminCardVO">
        select t1.* from t_pay_huimin t1
        where  t1.status = 2
            and t1.appUserId = #{appUserId}
        where
            t1.status!=1
            and
            t1.appUserId = #{appUserId}
            limit #{pageNo}, #{pageSize}
    </select>