h5周菜谱
This commit is contained in:
parent
e277c176e8
commit
b23e27759b
|
|
@ -12,6 +12,8 @@ public class AppletCurrentDishesDetailVO {
|
|||
private Long dishesId;
|
||||
@ApiModelProperty("菜品名称")
|
||||
private String dishesName;
|
||||
@ApiModelProperty("菜品简介")
|
||||
private String intro;
|
||||
@ApiModelProperty("库存数量")
|
||||
private Integer remanentNum;
|
||||
@ApiModelProperty("限购数量")
|
||||
|
|
@ -49,6 +51,14 @@ public class AppletCurrentDishesDetailVO {
|
|||
return this.dishesName;
|
||||
}
|
||||
|
||||
public String getIntro() {
|
||||
return intro;
|
||||
}
|
||||
|
||||
public void setIntro(String intro) {
|
||||
this.intro = intro;
|
||||
}
|
||||
|
||||
public Integer getDishesPrice() {
|
||||
return this.dishesPrice;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<result property="recommendFlag" column="recommend_flag"/>
|
||||
<collection property="dishesDetailList" ofType="com.bonus.canteen.core.cook.vo.AppletCurrentDishesDetailVO">
|
||||
<result property="dishesId" column="dishes_id"/>
|
||||
<result property="dishesName" column="real_dishes_name"/>
|
||||
<result property="dishesName" column="dishes_name"/>
|
||||
<result property="intro" column="intro"/>
|
||||
<result property="remanentNum" column="remanent_num"/>
|
||||
<result property="limitNum" column="limit_num"/>
|
||||
<result property="dishesPrice" column="dishes_price"/>
|
||||
|
|
@ -72,7 +73,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<result property="stallName" column="stall_name"/>
|
||||
<collection property="dishesDetailList" ofType="com.bonus.canteen.core.cook.vo.AppletCurrentDishesDetailVO">
|
||||
<result property="dishesId" column="dishes_id"/>
|
||||
<result property="dishesName" column="real_dishes_name"/>
|
||||
<result property="dishesName" column="dishes_name"/>
|
||||
<result property="intro" column="intro"/>
|
||||
<result property="remanentNum" column="remanent_num"/>
|
||||
<result property="limitNum" column="limit_num"/>
|
||||
<result property="dishesPrice" column="dishes_price"/>
|
||||
|
|
@ -132,6 +134,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
mrd.mealtime_type,
|
||||
md.meal_type as type_id,
|
||||
'菜品' as type_name,
|
||||
md.dishes_id as base_dishes_id,
|
||||
md.dishes_id,
|
||||
md.dishes_name,
|
||||
md.dishes_name as real_dishes_name,
|
||||
|
|
@ -220,6 +223,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
mrd.mealtime_type,
|
||||
if(md.meal_type = 2, 2, mdt.dishes_type_id) as type_id,
|
||||
if(md.meal_type = 2, '套餐', mdt.dishes_type_name) as type_name,
|
||||
md.dishes_id as base_dishes_id,
|
||||
md.dishes_id,
|
||||
md.dishes_name,
|
||||
md.intro,
|
||||
|
|
|
|||
Loading…
Reference in New Issue