位置信息优化
This commit is contained in:
parent
87def2c183
commit
dc64b1b099
|
|
@ -40,6 +40,8 @@ public class KitchenSubPlace extends BaseEntity {
|
|||
|
||||
private String canteenName;
|
||||
|
||||
private Long areaId;
|
||||
|
||||
private String areaName;
|
||||
|
||||
/** 仓库id */
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<result property="imgUrl" column="img_url" />
|
||||
<result property="canteenId" column="canteen_id" />
|
||||
<result property="canteenName" column="canteen_name" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="areaName" column="area_name" />
|
||||
<result property="warehouseId" column="warehouse_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
|
|
@ -18,8 +19,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
</resultMap>
|
||||
|
||||
<sql id="selectKitchenSubPlaceVo">
|
||||
select ksp.sub_place_id, ksp.sub_place_name, ksp.img_url, ksp.canteen_id, ksp.warehouse_id,
|
||||
ksp.create_by, ksp.create_time, ksp.update_by, ksp.update_time, bc.canteen_name, ba.area_name
|
||||
select ksp.sub_place_id, ksp.sub_place_name, ksp.img_url, ksp.canteen_id, ksp.warehouse_id, ksp.create_by,
|
||||
ksp.create_time, ksp.update_by, ksp.update_time, bc.canteen_name, ba.area_name, ba.area_id
|
||||
from kitchen_sub_place ksp
|
||||
left join basic_canteen bc on bc.canteen_id = ksp.canteen_id
|
||||
left join basic_area ba on ba.area_id = bc.area_id
|
||||
|
|
|
|||
Loading…
Reference in New Issue