分类规格无法读取问题处理
This commit is contained in:
parent
69d712c4b1
commit
1195349ebf
@ -20,8 +20,7 @@ public interface CategorySpecificationMapper extends BaseMapper<CategorySpecific
|
|||||||
* @param categoryId 分类id
|
* @param categoryId 分类id
|
||||||
* @return 分类绑定规格列表
|
* @return 分类绑定规格列表
|
||||||
*/
|
*/
|
||||||
@Select("select s.* from " +
|
@Select("select s.* from li_specification s INNER join li_category_specification cs " +
|
||||||
"li_specification s INNER join li_category_specification cs on s.id = cs.specification_id and cs.category_id = #{categoryId} " +
|
"on s.id = cs.specification_id and cs.category_id = #{categoryId} ")
|
||||||
"where s.delete_flag = 0")
|
|
||||||
List<Specification> getCategorySpecList(String categoryId);
|
List<Specification> getCategorySpecList(String categoryId);
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user