新增接口 分类列表(包括子分类)
This commit is contained in:
parent
762a902950
commit
f4d177609c
|
|
@ -11,5 +11,5 @@ public class ShopCategoryVo {
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
private List<ShopCategoryVo> childs;
|
private List<ShopCategoryVo> childrenList;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
<resultMap id="queryAllResultMap" type="com.chaozhanggui.system.cashierservice.entity.vo.ShopCategoryVo">
|
<resultMap id="queryAllResultMap" type="com.chaozhanggui.system.cashierservice.entity.vo.ShopCategoryVo">
|
||||||
<id property="id" column="id"/>
|
<id property="id" column="id"/>
|
||||||
<result property="name" column="name"/>
|
<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"/>
|
<id property="id" column="childId"/>
|
||||||
<result property="name" column="childName"/>
|
<result property="name" column="childName"/>
|
||||||
</collection>
|
</collection>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue