| | |
| | | where a.state = 1 and a.appUserId = #{uid} and a.payStatus != 1 |
| | | <!--1=未开始,2=进行中,3=已结束,4=已取消--> |
| | | <if test="null != type and 1 == type"> |
| | | and b.status = 1 |
| | | and b.status = 1 and a.payStatus = 2 |
| | | </if> |
| | | <if test="null != type and 2 == type"> |
| | | and b.status = 2 |
| | | and b.status = 2 and a.payStatus = 2 |
| | | </if> |
| | | <if test="null != type and 3 == type"> |
| | | and b.status = 3 |
| | | and b.status = 3 and a.payStatus = 2 |
| | | </if> |
| | | <if test="null != type and 4 == type"> |
| | | and a.payStatus = 3 |
| | | </if> |
| | | order by a.insertTime desc limit #{pageSize}, #{pageNo} |
| | | order by a.insertTime desc limit #{pageNo}, #{pageSize} |
| | | </select> |
| | | </mapper> |