| | |
| | | <if test="query.coursePackageTypeName!=null and query.coursePackageTypeName!= ''"> |
| | | and t2.name like concat('%',#{query.coursePackageTypeName},'%') |
| | | </if> |
| | | <if test="query.payStatus!=null and query.payStatus!= ''"> |
| | | and t1.payStatus = #{query.payStatus} |
| | | <if test="query.storeIds != null and query.storeIds.size>0"> |
| | | AND t2.storeId IN |
| | | <foreach collection="query.storeIds" separator="," item="id" open="(" close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | <if test="query.payStatus!=null and query.payStatus!= ''"> |
| | | and t1.payStatus = #{query.payStatus} |
| | | </if> |
| | | <if test="query.ids !=null and query.ids.size >0"> |
| | | and t2.id in <foreach collection="query.ids" close=")" item="id" open="(" separator=","> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | </select> |
| | |
| | | </if> |
| | | and t1.payStatus = 2 |
| | | </where> |
| | | order by t1.insertTime desc |
| | | </select> |
| | | |
| | | </mapper> |