feat: 订单创建时间修改

This commit is contained in:
张松
2024-11-15 10:07:21 +08:00
parent ced9197698
commit 934871830a

View File

@@ -1561,7 +1561,6 @@ public class TbShopTableServiceImpl implements TbShopTableService {
orderInfo.setProductAmount(BigDecimal.ZERO); orderInfo.setProductAmount(BigDecimal.ZERO);
orderInfo.setTradeDay(DateUtils.getDay()); orderInfo.setTradeDay(DateUtils.getDay());
orderInfo.setUseType(eatTypeInfoDTO.getUseType()); orderInfo.setUseType(eatTypeInfoDTO.getUseType());
orderInfo.setCreatedAt(DateUtil.current());
if (seatCart != null) { if (seatCart != null) {
orderInfo.setSeatAmount(seatCart.getTotalAmount()); orderInfo.setSeatAmount(seatCart.getTotalAmount());
orderInfo.setSeatCount(seatCart.getNumber()); orderInfo.setSeatCount(seatCart.getNumber());