|
@@ -339,7 +339,7 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
*/
|
|
|
public IOrderPriceRes getPartMoney(Date iTime, Date oTime, String carNo, String carColor) {
|
|
|
long minutes = DateUtil.between(iTime, oTime, DateUnit.MINUTE);
|
|
|
- double hours = NumberUtil.div(minutes, 60, 1);
|
|
|
+ double hours = NumberUtil.div(minutes, 60, 2);
|
|
|
if (hours == 0) {
|
|
|
hours = 0.1D;
|
|
|
}
|
|
@@ -433,56 +433,53 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
//停车费
|
|
|
if (inTime != null) {
|
|
|
Date outTime = tbBusinessCar.getRealOutTime();
|
|
|
- String cacheCarNo = RedisUtil.get(channel);
|
|
|
- if (outTime == null && StrUtil.isNotEmpty(cacheCarNo) && StrUtil.equals(carNo.trim().toUpperCase(), cacheCarNo.trim().toUpperCase())) {
|
|
|
+ // String cacheCarNo = RedisUtil.get(channel);
|
|
|
+ if (outTime == null) {
|
|
|
outTime = new Date();
|
|
|
}
|
|
|
- if (outTime != null) {
|
|
|
- //默认需要缴费--->
|
|
|
- BigDecimal partMoney = new BigDecimal("1");
|
|
|
- if (StrUtil.isNotEmpty(tbBusinessCar.getColor()) && tbBusinessCar.getCarSize() != null) {
|
|
|
- String freeColor = partConfig.getFreeColor();
|
|
|
- //4.2米以下蓝色车辆
|
|
|
- if (tbBusinessCar.getColor().contains(freeColor)) {
|
|
|
- partMoney = new BigDecimal("0");
|
|
|
- }
|
|
|
- }
|
|
|
- if (CarEnum.PayTypeEnum.FEE_TYPE.getType().equals(tbBusinessCar.getPayType())) {
|
|
|
+ //默认需要缴费--->
|
|
|
+ BigDecimal partMoney = new BigDecimal("1");
|
|
|
+ if (StrUtil.isNotEmpty(tbBusinessCar.getColor()) && tbBusinessCar.getCarSize() != null) {
|
|
|
+ String freeColor = partConfig.getFreeColor();
|
|
|
+ //4.2米以下蓝色车辆
|
|
|
+ if (tbBusinessCar.getColor().contains(freeColor)) {
|
|
|
partMoney = new BigDecimal("0");
|
|
|
}
|
|
|
- if (CarEnum.PayTypeEnum.HAS_PAY_TYPE.getType().equals(tbBusinessCar.getPayType())) {
|
|
|
- if (tbBusinessCar.getRealOutTime() == null) {
|
|
|
- inTime = tbBusinessCar.getPayTime();
|
|
|
- } else {
|
|
|
- partMoney = new BigDecimal("0");
|
|
|
- }
|
|
|
+ }
|
|
|
+ if (CarEnum.PayTypeEnum.FEE_TYPE.getType().equals(tbBusinessCar.getPayType())) {
|
|
|
+ partMoney = new BigDecimal("0");
|
|
|
+ } else if (CarEnum.PayTypeEnum.HAS_PAY_TYPE.getType().equals(tbBusinessCar.getPayType())) {
|
|
|
+ if (tbBusinessCar.getRealOutTime() == null) {
|
|
|
+ inTime = tbBusinessCar.getPayTime();
|
|
|
+ } else {
|
|
|
+ partMoney = new BigDecimal("0");
|
|
|
}
|
|
|
- if (partMoney.doubleValue() == 1) {
|
|
|
- IOrderPriceRes partPriceRes = getPartMoney(inTime, outTime, tbBusinessCar.getCarNo(), tbBusinessCar.getColor());
|
|
|
- BigDecimal partPrice = partPriceRes.getTotalOrderPrice();
|
|
|
- carCalculateIds.add(partPriceRes.getCalculateId());
|
|
|
- partMoney = partPrice;
|
|
|
- if (partPrice.doubleValue() > 0) {
|
|
|
- carMap.put("uniqExpenseId", partPriceRes.getFireResult().get(0).getUniqExpenseId());
|
|
|
- carMap.put("carDesc", partPriceRes.getCarDesc());
|
|
|
- carMap.put("calculateId;", partPriceRes.getCalculateId());
|
|
|
- carMap.put("hourDesc", partPriceRes.getHourDesc());
|
|
|
- carMap.put("over24Hour", partPriceRes.getOver24Hour());
|
|
|
- List<PriceDetailItem> detailItemList = partPriceRes.getFireResult().get(0)
|
|
|
- .getPriceDetail();
|
|
|
- detailItemList.forEach(obj -> carMap.put(obj.getKey(), obj.getValue()));
|
|
|
- }
|
|
|
- //todo 计算停车费
|
|
|
+ }
|
|
|
+ if (partMoney.doubleValue() == 1) {
|
|
|
+ IOrderPriceRes partPriceRes = getPartMoney(inTime, outTime, tbBusinessCar.getCarNo(), tbBusinessCar.getColor());
|
|
|
+ BigDecimal partPrice = partPriceRes.getTotalOrderPrice();
|
|
|
+ carCalculateIds.add(partPriceRes.getCalculateId());
|
|
|
+ partMoney = partPrice;
|
|
|
+ if (partPrice.doubleValue() > 0) {
|
|
|
+ carMap.put("uniqExpenseId", partPriceRes.getFireResult().get(0).getUniqExpenseId());
|
|
|
+ carMap.put("carDesc", partPriceRes.getCarDesc());
|
|
|
+ carMap.put("calculateId;", partPriceRes.getCalculateId());
|
|
|
+ carMap.put("hourDesc", partPriceRes.getHourDesc());
|
|
|
+ carMap.put("over24Hour", partPriceRes.getOver24Hour());
|
|
|
+ List<PriceDetailItem> detailItemList = partPriceRes.getFireResult().get(0)
|
|
|
+ .getPriceDetail();
|
|
|
+ detailItemList.forEach(obj -> carMap.put(obj.getKey(), obj.getValue()));
|
|
|
}
|
|
|
- carMap.put("price", partMoney);
|
|
|
+ //todo 计算停车费
|
|
|
}
|
|
|
+ carMap.put("price", partMoney);
|
|
|
+
|
|
|
}
|
|
|
carMap.put("id", tbBusinessCar.getId());
|
|
|
carMap.put("carNo", tbBusinessCar.getCarNo());
|
|
|
carMap.put("pay", pay);
|
|
|
carMap.put("no", tbBusinessCar.getNo());
|
|
|
result.put("carList", Collections.singleton(carMap));
|
|
|
- BigDecimal itemsPrice = new BigDecimal("0");
|
|
|
List<Map<String, Object>> itemList = new ArrayList<>();
|
|
|
if (!items.isEmpty()) {
|
|
|
//未支付的
|
|
@@ -497,6 +494,15 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
Date startTime = businessItem.getColdStartTime();
|
|
|
Date endTime = businessItem.getColdEndTime();
|
|
|
iOrderItem.setExpenseNum(num).setUniqExpenseId(itemCode);
|
|
|
+ Map<String, Object> itemMap = new HashMap<>();
|
|
|
+ itemMap.put("id", businessItem.getId());
|
|
|
+ itemMap.put("name", businessItem.getItemName() + "(" + businessItem.getItemTypeName() + ")");
|
|
|
+ if (StrUtil.equals(SystemObject.config.getWeighbridge(), businessItem.getItemAlias())) {
|
|
|
+ itemMap.put("name", businessItem.getItemName() + "-" + carNo + "(" + businessItem.getItemTypeName() + ")");
|
|
|
+ }
|
|
|
+ itemMap.put("price", businessItem.getTotal());
|
|
|
+ itemMap.put("pay", businessItem.getPayStatus());
|
|
|
+ itemList.add(itemMap);
|
|
|
if (StrUtil.equals(itemAlias, SystemObject.config.getColdItemAlias())) {
|
|
|
tbBusinessItemService.buildColdFceItem(businessItem, iOrderItem, startTime, endTime);
|
|
|
//充电打冷--->按小时计费
|
|
@@ -511,57 +517,19 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
} else if (StrUtil.equals(itemAlias, SystemObject.config.getBigHeadCar())
|
|
|
|| StrUtil.equals(itemAlias, SystemObject.config.getCabinetCar())) {
|
|
|
//大车头、柜车、栏车
|
|
|
- tbBusinessItemService.buildDaysFceItem(businessItem, iOrderItem, startTime, endTime);
|
|
|
+ tbBusinessItemService.buildNumItem(businessItem, iOrderItem);
|
|
|
//不收停车费
|
|
|
// carMap.put("price", 0);
|
|
|
}
|
|
|
expenses.add(iOrderItem);
|
|
|
}
|
|
|
result.put("carList", Collections.singleton(carMap));
|
|
|
-
|
|
|
if (!expenses.isEmpty()) {
|
|
|
IOrderPriceRes orderPriceRes = syncService.orderPriceCal(expenses);
|
|
|
BigDecimal totalPrice = orderPriceRes.getTotalOrderPrice();
|
|
|
- carCalculateIds.add(orderPriceRes.getCalculateId());
|
|
|
- for (TbBusinessItem item : items) {
|
|
|
- BigDecimal itemPrice = item.getItemPrice().multiply(new BigDecimal(item.getNum())).setScale(2, BigDecimal.ROUND_HALF_UP);
|
|
|
- itemsPrice = itemsPrice.add(itemPrice);
|
|
|
- Map<String, Object> itemMap = new HashMap<>();
|
|
|
- itemMap.put("id", item.getId());
|
|
|
- itemMap.put("name", item.getItemName() + "(" + item.getItemTypeName() + ")");
|
|
|
- if (StrUtil.equals(SystemObject.config.getWeighbridge(), item.getItemAlias())) {
|
|
|
- itemMap.put("name", item.getItemName() + "-" + carNo + "(" + item.getItemTypeName() + ")");
|
|
|
- }
|
|
|
- itemMap.put("price", itemPrice);
|
|
|
- itemMap.put("pay", item.getPayStatus());
|
|
|
- orderPriceRes.getFireResult().stream()
|
|
|
- .filter(priceItem -> StrUtil.equals(item.getItemCode(), priceItem.getUniqExpenseId()))
|
|
|
- .findAny().ifPresent(priceItem -> {
|
|
|
- BigDecimal price = priceItem.getFirePrice().multiply(new BigDecimal(item.getNum()));
|
|
|
- boolean weighbridge = StrUtil.equals(item.getItemAlias(), SystemObject.config.getWeighbridge());
|
|
|
- if (weighbridge) {//地磅的,单价x重量
|
|
|
- price = priceItem.getFirePrice().multiply(BigDecimal.valueOf(item.getWeighbridge())).setScale(2, BigDecimal.ROUND_HALF_UP);
|
|
|
- }
|
|
|
- //柜车、栏车 || 过磅费 只有离场才知道多少钱
|
|
|
- if (StrUtil.equals(item.getItemAlias(), SystemObject.config.getCabinetCar())
|
|
|
- ) {
|
|
|
- TbBusiness tbBusiness = this.getById(item.getBusinessId());
|
|
|
- tbBusiness.setItemPrice(price);
|
|
|
- item.setTotal(price);
|
|
|
- tbBusinessItemService.updateById(item);
|
|
|
- this.updateById(tbBusiness);
|
|
|
- }
|
|
|
- if (weighbridge) {
|
|
|
- tbBusinessCar.setNetweightMoney(price);
|
|
|
- tbBusinessCarService.updateById(tbBusinessCar);
|
|
|
- }
|
|
|
- itemMap.put("price", price);
|
|
|
- });
|
|
|
- itemList.add(itemMap);
|
|
|
- }
|
|
|
result.put("itemsPrice", totalPrice);
|
|
|
+ carCalculateIds.add(orderPriceRes.getCalculateId());
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
result.put("itemList", itemList);
|
|
|
result.put("calculateId", String.join(",", carCalculateIds));
|
|
@@ -584,6 +552,8 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
result.put("w", map);
|
|
|
result.put("calculateId", String.join(",", carCalculateIds));
|
|
|
}
|
|
|
+ TbBusinessCar last=tbBusinessCarService.getById(businessCarId);
|
|
|
+ log.info("last------>{}",JSONUtil.toJsonStr(last));
|
|
|
return result;
|
|
|
}
|
|
|
|
|
@@ -700,6 +670,7 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
int index = 1;
|
|
|
int size = cars.size();
|
|
|
String goodsName = tbGoods.getName();
|
|
|
+ boolean freePartMoney = false;
|
|
|
for (TbItem tbItem : tbItems) {
|
|
|
TbItem db = tbItemService.getById(tbItem.getId());
|
|
|
String itemName = db.getItemName();
|
|
@@ -719,7 +690,6 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
String typeId = tbItem.getTypeId();
|
|
|
TbItemType tbItemType = tbItemTypeService.getById(typeId);
|
|
|
BigDecimal unitPrice = db.getPrice();
|
|
|
- unitPrice = StrUtil.equals(db.getPattern(), "RULES") ? BigDecimal.ZERO : unitPrice;
|
|
|
BigDecimal itemTotalPrice = unitPrice.multiply(new BigDecimal(num));
|
|
|
item.setNo(no + "0" + index).setPayTypeName(db.getPayTypeName())
|
|
|
.setPayType(db.getPayType())
|
|
@@ -794,6 +764,15 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
item.setPayStatus(3);
|
|
|
itemTotalPrice = zero;
|
|
|
}
|
|
|
+ } else if (SystemObject.config.getBigHeadCar().equals(alaisName) || SystemObject.config.getCabinetCar().equals(alaisName)) {
|
|
|
+ //大头车、柜车、栏车 金额=单价x数量且无停车费
|
|
|
+ freePartMoney = true;
|
|
|
+ itemTotalPrice = new BigDecimal(item.getNum()).multiply(db.getPrice());
|
|
|
+ item.setTotal(itemTotalPrice);
|
|
|
+ }else if (SystemObject.config.getPartItemAlias().equals(alaisName)){
|
|
|
+ //停车业务
|
|
|
+ itemTotalPrice=BigDecimal.ZERO;
|
|
|
+ item.setTotal(BigDecimal.ZERO);
|
|
|
}
|
|
|
Date startTime = item.getColdStartTime();
|
|
|
Date endTime = item.getColdEndTime();
|
|
@@ -802,14 +781,12 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
tbBusinessItemService.buildExpenses(Collections.singletonList(item), expenses);
|
|
|
IOrderPriceRes res = syncService.orderPriceCal(expenses);
|
|
|
item.setTotal(res.getTotalOrderPrice());
|
|
|
+ itemTotalPrice = res.getTotalOrderPrice();
|
|
|
}
|
|
|
price = price.add(itemTotalPrice);
|
|
|
itemList.add(item);
|
|
|
index++;
|
|
|
}
|
|
|
- if (price.doubleValue() < 5) {
|
|
|
- price = BigDecimal.ZERO;
|
|
|
- }
|
|
|
String declareNo = otherBusinessBO.getDeclareNo();
|
|
|
tbBusiness.setCardSize(otherBusinessBO.getCarSize()).setNetWeight(otherBusinessBO.getNetWeight())
|
|
|
.setOperator(otherBusinessBO.getOperator()).setOperateTime(otherBusinessBO.getOperateTime())
|
|
@@ -877,6 +854,9 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
.setColor(car.getColor())
|
|
|
.setCustomerId(customerId)
|
|
|
.setNo(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmm")) + RandomUtil.randomNumbers(4));
|
|
|
+ if (freePartMoney) {
|
|
|
+ db.setPay(1).setPayType(CarEnum.PayTypeEnum.FEE_TYPE.getType());
|
|
|
+ }
|
|
|
tbBusinessCarService.saveOrUpdate(db);
|
|
|
RelationBusinessCar relationBusinessCar = new RelationBusinessCar();
|
|
|
relationBusinessCar.setBusinessId(tbBusiness.getId()).setBusinessCarId(db.getId());
|
|
@@ -931,6 +911,7 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
String carBuseinssNo = DateUtil.format(now, "yyyyMMddHHmm");
|
|
|
String goodsName = tbGoods.getName();
|
|
|
List<TbBusinessItem> itemList = new ArrayList<>();
|
|
|
+ boolean freePartMoney = false;
|
|
|
if (PayEnum.PayStatusEnum.HAS_PAY_CONFIRM.getCode() != dbBusiness.getPayStatus()) {
|
|
|
List<TbBusinessItem> businessItemList = tbBusinessItemService.findByBusinessId(id);
|
|
|
//变成未取柜状态
|
|
@@ -950,6 +931,7 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
dbBusiness.setPickCustomerId(pickCustomerId).setPickCustomerName(partner.getName());
|
|
|
}
|
|
|
int size = cars.size();
|
|
|
+
|
|
|
for (TbItem tbItem : tbItems) {
|
|
|
TbItem db = tbItemService.getById(tbItem.getId());
|
|
|
String alaisName = db.getItemAlias();
|
|
@@ -969,7 +951,6 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
int num = tbItem.getNum();
|
|
|
TbItemType tbItemType = tbItemTypeService.getById(tbItem.getTypeId());
|
|
|
BigDecimal unitPrice = db.getPrice();
|
|
|
- unitPrice = StrUtil.equals(db.getPattern(), "RULES") ? BigDecimal.ZERO : unitPrice;
|
|
|
BigDecimal itemTotalPrice = unitPrice.multiply(new BigDecimal(num));
|
|
|
item.setNo(no + "0" + index).setPayTypeName(db.getPayTypeName()).setPayType(db.getPayType())
|
|
|
.setBusinessType(db.getBusinessType()).setTaxRate(NumberUtil.div(db.getTaxRate().doubleValue(), 100D, 2));
|
|
@@ -1000,6 +981,8 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
IOrderPriceRes res = syncService.orderPriceCal(expenses);
|
|
|
BigDecimal itemPrice = res.getTotalOrderPrice();
|
|
|
item.setTotal(itemPrice);
|
|
|
+ String itemNum = itemPrice.divide(item.getItemPrice(), 2, BigDecimal.ROUND_HALF_UP).toString();
|
|
|
+ item.setNum(itemNum);
|
|
|
itemTotalPrice = itemPrice;
|
|
|
}
|
|
|
}
|
|
@@ -1045,15 +1028,20 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
//无需支付
|
|
|
item.setPayStatus(3);
|
|
|
}
|
|
|
+ } else if (SystemObject.config.getBigHeadCar().equals(alaisName) || SystemObject.config.getCabinetCar().equals(alaisName)) {
|
|
|
+ //大头车、柜车、栏车 金额=单价x数量
|
|
|
+ itemTotalPrice = new BigDecimal(item.getNum()).multiply(item.getItemPrice());
|
|
|
+ item.setTotal(itemTotalPrice);
|
|
|
+ freePartMoney = true;
|
|
|
+ }else if (SystemObject.config.getPartItemAlias().equals(alaisName)){
|
|
|
+ //停车业务
|
|
|
+ itemTotalPrice=BigDecimal.ZERO;
|
|
|
+ item.setTotal(BigDecimal.ZERO);
|
|
|
}
|
|
|
-
|
|
|
price = price.add(itemTotalPrice);
|
|
|
itemList.add(item);
|
|
|
index++;
|
|
|
}
|
|
|
- if (price.doubleValue() < 5) {
|
|
|
- price = BigDecimal.ZERO;
|
|
|
- }
|
|
|
dbBusiness.setItemPrice(price).setTotalMoney(price);
|
|
|
tbBusinessItemService.saveBatch(itemList);
|
|
|
}
|
|
@@ -1101,6 +1089,9 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
dbBusinessCar
|
|
|
.setCarSize(tbBusinessCar.getCarSize()).setCarType(tbBusinessCar.getCarType())
|
|
|
.setConfirmJudge(CarEnum.ConfirmJudgeEnum.NO_JUDGE.getCode());
|
|
|
+ if (freePartMoney) {
|
|
|
+ dbBusinessCar.setPay(1).setPayType(CarEnum.PayTypeEnum.FEE_TYPE.getType());
|
|
|
+ }
|
|
|
tbBusinessCarService.updateById(dbBusinessCar);
|
|
|
}
|
|
|
} else {
|
|
@@ -1113,6 +1104,9 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
.setCustomerId(dbBusiness.getCustomerId())
|
|
|
.setTimeUpdate(now).setIsLock(0).setCarType(tbBusinessCar.getCarType()).setBusinessType(1)
|
|
|
.setConfirmJudge(CarEnum.ConfirmJudgeEnum.NO_JUDGE.getCode());
|
|
|
+ if (freePartMoney) {
|
|
|
+ checkCar.setPay(1).setPayType(CarEnum.PayTypeEnum.FEE_TYPE.getType());
|
|
|
+ }
|
|
|
tbBusinessCarService.updateById(checkCar);
|
|
|
RelationBusinessCar relationBusinessCar = new RelationBusinessCar();
|
|
|
relationBusinessCar.setBusinessId(dbBusiness.getId()).setBusinessCarId(checkCar.getId());
|
|
@@ -1238,6 +1232,7 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
* @param errorBusinessBO
|
|
|
* @param isAdmin 是否管理员
|
|
|
*/
|
|
|
+ @Deprecated
|
|
|
public void selectErrorBusiness(ErrorBusinessBO errorBusinessBO, boolean isAdmin) {
|
|
|
log.info("is admin :{}", isAdmin);
|
|
|
TbBusiness tbBusiness = getById(errorBusinessBO.getId());
|
|
@@ -1272,6 +1267,7 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
*
|
|
|
* @param tbBusinessCar
|
|
|
*/
|
|
|
+ @Deprecated
|
|
|
private void handlerCarPay(TbBusinessCar tbBusinessCar) {
|
|
|
String carNo = tbBusinessCar.getCarNo();
|
|
|
String payType = tbBusinessCar.getPayType();
|
|
@@ -1772,6 +1768,7 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
|
|
|
TbFeeDetails details = tbFeeDetailsService.savePrePayDetails(res, item, tbBusinessCar, tbBusiness, tbBusiness.getPickCustomerName(), tbBusiness.getPickCustomerName(), FeeTypeEnum.STEVEDORE_FEE);
|
|
|
tbFeeStatisticsService.addOrUpdateStatistic(now, PayEnum.PayType.PER_PAY.getCode());//更新当前日期的日统计
|
|
|
TbDeductionRecord record = automaticPay.createTbDeductionRecord(details, balance, afterBalance, tbBusiness.getPickCustomerId(), tbBusiness.getPickCustomerName(), tbBusinessCar.getCarNo(), tbBusinessCar.getId(), FeeTypeEnum.STEVEDORE_FEE);
|
|
|
+ //生成开票订单
|
|
|
tbInvoiceOrderService.addInvoiceOrder(tbBusiness.getGoodsName(), tbBusiness.getNo(), tbBusiness.getCarNoStr(), tbBusiness.getId(),
|
|
|
tbBusiness.getPickCustomerId(), tbBusiness.getPickCustomerName(), tbBusiness.getPickCustomerName(), res.getTotalOrderPrice(), details, record);
|
|
|
}
|