|
|
@ -64,4 +64,8 @@ public interface RestrictedCategoryMapper extends BaseMapper<RestrictedCategory> |
|
|
|
List<RestrictedCategoryVo> selectListVo(); |
|
|
|
@Select("select * from restricted_category where categorys like CONCAT('%',#{categoryKey},'%') and brands like CONCAT('%',#{brandCode},'%')") |
|
|
|
List<RestrictedCategory> limitJudgement(@Param("categoryKey")String categoryKey, @Param("brandCode")String brandCode); |
|
|
|
@Select("select * from restricted_category where categorys like CONCAT('%',#{categoryKey},'%') ") |
|
|
|
List<RestrictedCategory> selectByCategorys(@Param("categoryKey")String categoryKey); |
|
|
|
@Select("select * from restricted_category where brands like CONCAT('%',#{brandCode},'%') ") |
|
|
|
List<RestrictedCategory> selectByBrands(@Param("brandCode")String brand); |
|
|
|
} |