| | |
| | | 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> |