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