|
@@ -1,33 +1,30 @@
|
|
package com.gree.mall.manager.commonmapper;
|
|
package com.gree.mall.manager.commonmapper;
|
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.SqlParser;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.gree.mall.manager.bean.activity.CustomSecSpecBean;
|
|
import com.gree.mall.manager.bean.activity.CustomSecSpecBean;
|
|
import com.gree.mall.manager.bean.activity.CustomSpecBean;
|
|
import com.gree.mall.manager.bean.activity.CustomSpecBean;
|
|
import com.gree.mall.manager.bean.activity.SecKillActivitySpecBean;
|
|
import com.gree.mall.manager.bean.activity.SecKillActivitySpecBean;
|
|
import com.gree.mall.manager.bean.activity.SecKillActivityStageBean;
|
|
import com.gree.mall.manager.bean.activity.SecKillActivityStageBean;
|
|
-import com.gree.mall.manager.bean.goods.GoodsSpecBean;
|
|
|
|
-import io.swagger.annotations.ApiParam;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
@Mapper
|
|
@Mapper
|
|
public interface SecKillMapper {
|
|
public interface SecKillMapper {
|
|
- @SqlParser(filter = true)
|
|
|
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
IPage<CustomSecSpecBean> querySecSpec(IPage page,
|
|
IPage<CustomSecSpecBean> querySecSpec(IPage page,
|
|
@Param("keyword")String keyword,
|
|
@Param("keyword")String keyword,
|
|
@Param("status") Integer status,
|
|
@Param("status") Integer status,
|
|
@Param("companyWechatIds") List<String> companyWechatIds);
|
|
@Param("companyWechatIds") List<String> companyWechatIds);
|
|
|
|
|
|
- @SqlParser(filter = true)
|
|
|
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
List<SecKillActivitySpecBean> querySecDetail(@Param("secKillId")String secKillId);
|
|
List<SecKillActivitySpecBean> querySecDetail(@Param("secKillId")String secKillId);
|
|
|
|
|
|
- @SqlParser(filter = true)
|
|
|
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
IPage<SecKillActivityStageBean> queryActivity(
|
|
IPage<SecKillActivityStageBean> queryActivity(
|
|
IPage page,
|
|
IPage page,
|
|
@Param("status")Integer status,
|
|
@Param("status")Integer status,
|
|
@@ -36,14 +33,14 @@ public interface SecKillMapper {
|
|
@Param("companyWechatIds") List<String> companyWechatIds);
|
|
@Param("companyWechatIds") List<String> companyWechatIds);
|
|
|
|
|
|
|
|
|
|
- @SqlParser(filter = true)
|
|
|
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
IPage<CustomSpecBean> querySpecList(
|
|
IPage<CustomSpecBean> querySpecList(
|
|
IPage page,
|
|
IPage page,
|
|
@Param("categoryId")String categoryId,
|
|
@Param("categoryId")String categoryId,
|
|
@Param("keyword")String keyword,
|
|
@Param("keyword")String keyword,
|
|
List<String> companyWechatIds);
|
|
List<String> companyWechatIds);
|
|
|
|
|
|
- @SqlParser(filter = true)
|
|
|
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
IPage<CustomSecSpecBean> querySpecListforCoupon(Page<CustomSecSpecBean> objectPage,@Param("companyWechatIds") List<String> companyWechatIds,
|
|
IPage<CustomSecSpecBean> querySpecListforCoupon(Page<CustomSecSpecBean> objectPage,@Param("companyWechatIds") List<String> companyWechatIds,
|
|
@Param("categoryId")String categoryId, @Param("keyword")String keyword);
|
|
@Param("categoryId")String categoryId, @Param("keyword")String keyword);
|
|
|
|
|