Merge branch 'refs/heads/dev' into test

This commit is contained in:
张松
2024-12-11 09:30:02 +08:00
2 changed files with 9 additions and 2 deletions

View File

@@ -316,6 +316,9 @@ public class TbOrderInfoServiceImpl implements TbOrderInfoService {
case "deposit":
dto.setPayType("储值卡支付");
break;
case "creditBuyer":
dto.setPayType("挂账支付");
break;
default:
dto.setPayType(tbOrderInfo.getSendType());
break;

View File

@@ -464,8 +464,12 @@ public class TbShopTableServiceImpl implements TbShopTableService {
tbCashierCart.setSalePrice(tbCashierCart.getSalePrice());
tbCashierCart.setTotalAmount(updateCartDTO.getNum().multiply(tbCashierCart.getSalePrice()));
tbCashierCart.setNote(updateCartDTO.getNote());
tbCashierCart.setIsPrint(updateCartDTO.getIsPrint());
tbCashierCart.setIsWaitCall(updateCartDTO.getIsWaitCall());
if (updateCartDTO.getIsPrint() != null) {
tbCashierCart.setIsPrint(updateCartDTO.getIsPrint());
}
if (updateCartDTO.getIsWaitCall() != null) {
tbCashierCart.setIsWaitCall(updateCartDTO.getIsWaitCall());
}
if (updateCartDTO.getIsPack() != null) {
if (!updateCartDTO.getIsPack()) {