1. add refill api
This commit is contained in:
2025-11-16 15:18:16 +08:00
parent 35ed4dcd7d
commit db6ee8ce80

View File

@@ -276,8 +276,8 @@ public class KioskServiceImpl implements IKioskApiService {
orderDetail.setTotalAmount(detailAmount.add(priceList.getActualPrice())); orderDetail.setTotalAmount(detailAmount.add(priceList.getActualPrice()));
totalAmount = totalAmount.add(priceList.getActualPrice());
orderDetailService.save(orderDetail); orderDetailService.save(orderDetail);
totalAmount = totalAmount.add(orderDetail.getTotalAmount());
item.getPhotos().forEach(photo -> photoAttachmentService.createPhotoDetail(photo, orderDetail.getId())); item.getPhotos().forEach(photo -> photoAttachmentService.createPhotoDetail(photo, orderDetail.getId()));
} }