分类规格无法读取问题处理

This commit is contained in:
Chopper 2021-08-11 21:18:54 +08:00
parent 69d712c4b1
commit 1195349ebf

View File

@ -20,8 +20,7 @@ public interface CategorySpecificationMapper extends BaseMapper<CategorySpecific
* @param categoryId 分类id
* @return 分类绑定规格列表
*/
@Select("select s.* from " +
"li_specification s INNER join li_category_specification cs on s.id = cs.specification_id and cs.category_id = #{categoryId} " +
"where s.delete_flag = 0")
@Select("select s.* from li_specification s INNER join li_category_specification cs " +
"on s.id = cs.specification_id and cs.category_id = #{categoryId} ")
List<Specification> getCategorySpecList(String categoryId);
}