| | |
| | | <if test="sTime !=null and sTime!= '' and eTime !=null and eTime!= ''"> |
| | | and t1.insertTime between #{sTime} and #{eTime} |
| | | </if> |
| | | |
| | | <if test="query.storesIds != null and query.storesIds.size()>0"> |
| | | AND t2.storeId IN |
| | | <foreach collection="query.storesIds" separator="," item="id" open="(" close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | <if test="query.userIds != null and query.userIds.size()>0"> |
| | | AND t1.appUserId IN |
| | | <foreach collection="query.userIds" separator="," item="id" open="(" close=")"> |
| | |
| | | </if> |
| | | and t1.payStatus = 2 |
| | | </where> |
| | | order by t1.insertTime desc |
| | | </select> |
| | | |
| | | </mapper> |