| | |
| | | <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.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.payStatus!=null and query.payStatus!= ''"> |
| | | and t1.payStatus = #{query.payStatus} |