Commit 2102e09c836a995a074cfd46faeb587d3ac5186c

Authored by 邓伟
2 parents 20451330 15958293

Merge branch 'dev' into fix_2026-03-11

cashier-mall/src/main/java/com/diligrp/cashier/mall/service/biz/impl/TaxAgentNotifyServiceImpl.java
@@ -315,10 +315,16 @@ public class TaxAgentNotifyServiceImpl implements TaxAgentNotifyService { @@ -315,10 +315,16 @@ public class TaxAgentNotifyServiceImpl implements TaxAgentNotifyService {
315 infoMap.put(ORG, taxAgentPrepareInfo.payType + "-S"); 315 infoMap.put(ORG, taxAgentPrepareInfo.payType + "-S");
316 String chargeItemDept = String.valueOf(taxAgentPrepareInfo.payType); 316 String chargeItemDept = String.valueOf(taxAgentPrepareInfo.payType);
317 infoMap.put(SALE_DEPT, chargeItemDept); 317 infoMap.put(SALE_DEPT, chargeItemDept);
  318 + String quotedQuantity;
  319 + if (ObjectUtil.equal(taxAgentPrepareInfo.type, TaxMessageType.ORDER_PAY.getCode())) {
  320 + quotedQuantity = RED;
  321 + } else {
  322 + quotedQuantity = BLACK;
  323 + }
318 324
319 sendReceivableMessage(sellerCustomerCode, infoMap, chargeItem, taxAgentPrepareInfo.amount, 325 sendReceivableMessage(sellerCustomerCode, infoMap, chargeItem, taxAgentPrepareInfo.amount,
320 taxAgentPrepareInfo.systemDataId, entity, pipelineCode, 326 taxAgentPrepareInfo.systemDataId, entity, pipelineCode,
321 - taxAgentPrepareInfo.businessCode, taxAgentPrepareInfo.quotedQuantity, chargeItemDept); 327 + taxAgentPrepareInfo.businessCode, quotedQuantity, chargeItemDept);
322 } 328 }
323 329
324 private void sendReceivableMessage(String customerCode, Map<String, Object> map, String chargeItem, 330 private void sendReceivableMessage(String customerCode, Map<String, Object> map, String chargeItem,