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