双屏消费机菜品接口加入限购数量等值
This commit is contained in:
parent
fd0ef49b62
commit
38bd7bedf3
|
|
@ -15,6 +15,12 @@ public class IssueRecipeDetailCompressVO implements Serializable {
|
|||
private Integer prefPrice;
|
||||
@ApiModelProperty("销售价格")
|
||||
private Integer salePrice;
|
||||
@ApiModelProperty("供应数量")
|
||||
private Integer supplyNum;
|
||||
@ApiModelProperty("剩余数量")
|
||||
private Integer surplusNum;
|
||||
@ApiModelProperty("个人限购数量")
|
||||
private Integer restrictNum;
|
||||
|
||||
public Long getDetailId() {
|
||||
return this.detailId;
|
||||
|
|
@ -48,4 +54,27 @@ public class IssueRecipeDetailCompressVO implements Serializable {
|
|||
this.salePrice = salePrice;
|
||||
}
|
||||
|
||||
public Integer getSupplyNum() {
|
||||
return supplyNum;
|
||||
}
|
||||
|
||||
public void setSupplyNum(Integer supplyNum) {
|
||||
this.supplyNum = supplyNum;
|
||||
}
|
||||
|
||||
public Integer getSurplusNum() {
|
||||
return surplusNum;
|
||||
}
|
||||
|
||||
public void setSurplusNum(Integer surplusNum) {
|
||||
this.surplusNum = surplusNum;
|
||||
}
|
||||
|
||||
public Integer getRestrictNum() {
|
||||
return restrictNum;
|
||||
}
|
||||
|
||||
public void setRestrictNum(Integer restrictNum) {
|
||||
this.restrictNum = restrictNum;
|
||||
}
|
||||
}
|
||||
|
|
@ -758,7 +758,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
detail_id as detailId,
|
||||
dishes_id as dishesId,
|
||||
price as salePrice,
|
||||
sale_price as prefPrice
|
||||
sale_price as prefPrice,
|
||||
supply_num as supplyNum,
|
||||
surplus_num as surplusNum,
|
||||
restrict_num as restrictNum
|
||||
from menu_recipe_dishes where detail_id in
|
||||
<foreach collection="detailIds" item="detailId" separator="," open="(" close=")">
|
||||
#{detailId}
|
||||
|
|
|
|||
Loading…
Reference in New Issue