修改会员点单信息
This commit is contained in:
@@ -17,4 +17,5 @@ public class CreateOrderDTO {
|
|||||||
private Integer orderId;
|
private Integer orderId;
|
||||||
@NotEmpty
|
@NotEmpty
|
||||||
private String useType;
|
private String useType;
|
||||||
|
private String vipUserId;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1187,6 +1187,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
orderInfo.setCreatedAt(DateUtil.current());
|
orderInfo.setCreatedAt(DateUtil.current());
|
||||||
orderInfo.setSeatAmount(mealAmount);
|
orderInfo.setSeatAmount(mealAmount);
|
||||||
orderInfo.setSeatCount(mealNum);
|
orderInfo.setSeatCount(mealNum);
|
||||||
|
orderInfo.setUserId(createOrderDTO.getVipUserId());
|
||||||
orderInfo.setSendType(shopEatTypeInfoDTO.getSendType());
|
orderInfo.setSendType(shopEatTypeInfoDTO.getSendType());
|
||||||
// 存在新添加的商品,增加下单次数
|
// 存在新添加的商品,增加下单次数
|
||||||
if (hasNewInfo) {
|
if (hasNewInfo) {
|
||||||
@@ -1220,6 +1221,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
orderInfo.setTableName(tbShopTable != null ? tbShopTable.getName() : null);
|
orderInfo.setTableName(tbShopTable != null ? tbShopTable.getName() : null);
|
||||||
orderInfo.setPlaceNum(placeNum);
|
orderInfo.setPlaceNum(placeNum);
|
||||||
orderInfo.setUseType(createOrderDTO.getUseType());
|
orderInfo.setUseType(createOrderDTO.getUseType());
|
||||||
|
orderInfo.setUserId(createOrderDTO.getVipUserId());
|
||||||
orderInfo.setSeatAmount(mealAmount);
|
orderInfo.setSeatAmount(mealAmount);
|
||||||
orderInfo.setSeatCount(mealNum);
|
orderInfo.setSeatCount(mealNum);
|
||||||
orderInfo.setSendType(shopEatTypeInfoDTO.getSendType());
|
orderInfo.setSendType(shopEatTypeInfoDTO.getSendType());
|
||||||
|
|||||||
Reference in New Issue
Block a user