feat:
1. add refill api
This commit is contained in:
@@ -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()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user