设备超市订单
This commit is contained in:
parent
b6919b8fd2
commit
bfeb28a945
|
|
@ -89,6 +89,11 @@ public class ShopOrderAddParam {
|
||||||
orderInfo.setDiscountsAmount(BigDecimal.ZERO);
|
orderInfo.setDiscountsAmount(BigDecimal.ZERO);
|
||||||
orderInfo.setRealAmount(param.getRealAmount());
|
orderInfo.setRealAmount(param.getRealAmount());
|
||||||
orderInfo.setAccountPayAmount(param.getRealAmount());
|
orderInfo.setAccountPayAmount(param.getRealAmount());
|
||||||
|
orderInfo.setCanteenId(-1L);
|
||||||
|
orderInfo.setStallId(-1L);
|
||||||
|
orderInfo.setMealtimeType(-1);
|
||||||
|
orderInfo.setIdentityVerification(orderInfoAddParam.getIdentityVerification());
|
||||||
|
orderInfoList.add(orderInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return orderInfoList;
|
return orderInfoList;
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,6 @@ public class ShopOrderInfoAddParam {
|
||||||
@NotNull(message = "订单日期不能为空")
|
@NotNull(message = "订单日期不能为空")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
private Date orderDate;
|
private Date orderDate;
|
||||||
|
@NotNull(message = "核身方式不能为空")
|
||||||
|
private Integer identityVerification;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue