新增接口 分类列表(包括子分类)

This commit is contained in:
wangw 2024-06-20 13:34:42 +08:00
parent 762a902950
commit f4d177609c
2 changed files with 2 additions and 2 deletions

View File

@ -11,5 +11,5 @@ public class ShopCategoryVo {
private String name;
private List<ShopCategoryVo> childs;
private List<ShopCategoryVo> childrenList;
}

View File

@ -23,7 +23,7 @@
<resultMap id="queryAllResultMap" type="com.chaozhanggui.system.cashierservice.entity.vo.ShopCategoryVo">
<id property="id" column="id"/>
<result property="name" column="name"/>
<collection property="childs" ofType="com.chaozhanggui.system.cashierservice.entity.vo.ShopCategoryVo">
<collection property="childrenList" ofType="com.chaozhanggui.system.cashierservice.entity.vo.ShopCategoryVo">
<id property="id" column="childId"/>
<result property="name" column="childName"/>
</collection>