|
@@ -1,5 +1,6 @@
|
|
|
package com.gree.mall.miniapp.commonmapper;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
|
|
import com.baomidou.mybatisplus.annotation.SqlParser;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.gree.mall.miniapp.bean.goods.*;
|
|
@@ -14,14 +15,14 @@ import java.util.Map;
|
|
|
@Mapper
|
|
|
public interface GoodsSpecDetailMapper {
|
|
|
|
|
|
- @SqlParser(filter = true)
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
|
List<GoodsSpecSecBean> querySpecSec(@Param("goodsId") String goodsId);
|
|
|
- @SqlParser(filter = true)
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
|
CommonTemplate queryCommonTemplate(@Param("goodsId") String goodsId);
|
|
|
/**
|
|
|
* 团购商品列表
|
|
|
*/
|
|
|
- @SqlParser(filter = true)
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
|
public IPage<PromotionGoodsBean> queryPromotionGoods(IPage page,
|
|
|
@Param("userId") String userId,
|
|
|
@Param("goodsCategoryId") String goodsCategoryId,
|
|
@@ -31,21 +32,21 @@ public interface GoodsSpecDetailMapper {
|
|
|
/**
|
|
|
* 商品评价列表
|
|
|
*/
|
|
|
- @SqlParser(filter = true)
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
|
public IPage<GoodsComment> goodsCommentList(IPage page,@Param("companyWechatId")String companyWechatId,
|
|
|
@Param("goodsId") String goodsId,@Param("tag") String tag);
|
|
|
|
|
|
/**
|
|
|
* 商品评价汇总
|
|
|
*/
|
|
|
- @SqlParser(filter = true)
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
|
public List<CommentTagCount> goodsCommentCount(@Param("companyWechatId")String companyWechatId,@Param("goodsId") String goodsId);
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 套购商品列表
|
|
|
*/
|
|
|
- @SqlParser(filter = true)
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
|
public List<GoodsPackageBean> queryGoodsPackage(@Param("userId") String userId,
|
|
|
@Param("userType") String userType,
|
|
|
@Param("goodsId") String goodsId,
|
|
@@ -55,7 +56,7 @@ public interface GoodsSpecDetailMapper {
|
|
|
/**
|
|
|
* 商品列表
|
|
|
*/
|
|
|
- @SqlParser(filter = true)
|
|
|
+ @InterceptorIgnore(tenantLine = "1", blockAttack = "1", illegalSql = "1")
|
|
|
public IPage<GoodsNewBean> queryGoodsList(IPage page,@Param("userId") String userId,
|
|
|
@Param("userType") String userType,
|
|
|
@Param("keyword") String keyword,
|