Commit 3e3ec7baec929581028b17043758e4ded9b266cb
1 parent
25a94497
update:修改传输参数
Showing
2 changed files
with
4 additions
and
4 deletions
etrade-order/src/main/java/com/diligrp/etrade/order/service/impl/LedgerPayServiceImpl.java
... | ... | @@ -116,6 +116,10 @@ public class LedgerPayServiceImpl implements ILedgerPayService { |
116 | 116 | list.add(buildSerialRecordDtoSeller(ledgerPayDto,message.getData())); |
117 | 117 | log.info("应付回款交易流水,json:{}",JsonUtils.toJsonString(list)); |
118 | 118 | rabbitTemplate.convertAndSend(RabbitConfig.EXCHANGE_ACCOUNT_SERIAL, RabbitConfig.ROUTING_ACCOUNT_SERIAL, JsonUtils.toJsonString(list)); |
119 | + ledgerPayDto.getLedgerLog().setNote(message.getMessage()); | |
120 | + ledgerPayDto.getLedgerLog().setState(LedgerLogState.FINISHED.getCode()); | |
121 | + ledgerPayDto.getLedgerLog().setPayableTime(DateUtils.parseDateTime(balanceResponseDto.getWhen(),"yyyy-MM-dd HH:mm:ss")); | |
122 | + ledgerPayDto.getLedgerLog().setTradeId(balanceResponseDto.getTradeId()); | |
119 | 123 | sendToCollector.sendToKingDee(ledgerPayDto); |
120 | 124 | } catch (Exception e) { |
121 | 125 | log.error("发送交易流水失败",e); | ... | ... |
etrade-order/src/main/java/com/diligrp/etrade/order/service/impl/SendToCollectorImpl.java
... | ... | @@ -89,7 +89,6 @@ public class SendToCollectorImpl implements SendToCollector { |
89 | 89 | fEntityDetail.setFPrice(price); |
90 | 90 | fEntityDetail.setFTaxPrice(price); |
91 | 91 | fEntityDetail.setFPriceQty(NumberTransform.POSITIVE); |
92 | - fEntityDetail.setFNoTaxAmountFor_D(price); | |
93 | 92 | fEntityDetail.setFCOSTID(new FCOSTID(OrderConstant.ORDER_BACK_CHARGE_ITEM_CODE));//费用项 |
94 | 93 | fEntityDetail.setFASSETID(new FASSETID(ledgerPayDto.getLedgerLog().getCardNo())); |
95 | 94 | fEntityDetailList.add(fEntityDetail); |
... | ... | @@ -123,7 +122,6 @@ public class SendToCollectorImpl implements SendToCollector { |
123 | 122 | fEntityDetail.setFPrice(price); |
124 | 123 | fEntityDetail.setFTaxPrice(price); |
125 | 124 | fEntityDetail.setFPriceQty(NumberTransform.NEGATIVE); |
126 | - fEntityDetail.setFNoTaxAmountFor_D(price); | |
127 | 125 | fEntityDetail.setFCOSTID(new FCOSTID(OrderConstant.ORDER_BACK_CHARGE_ITEM_CODE));//费用项 |
128 | 126 | fEntityDetail.setFASSETID(new FASSETID(ledgerPayDto.getLedgerLog().getCustomerCardNo())); |
129 | 127 | fEntityDetailList.add(fEntityDetail); |
... | ... | @@ -158,7 +156,6 @@ public class SendToCollectorImpl implements SendToCollector { |
158 | 156 | }else{ |
159 | 157 | fEntityDetail.setFPriceQty(NumberTransform.NEGATIVE); |
160 | 158 | } |
161 | - fEntityDetail.setFNoTaxAmountFor_D(price); | |
162 | 159 | fEntityDetail.setFCOSTID(new FCOSTID(OrderConstant.ORDER_TRADE_CHARGE_ITEM_CODE));//费用项 |
163 | 160 | fEntityDetail.setFASSETID(new FASSETID(order.getBuyerCardNo())); |
164 | 161 | fEntityDetailList.add(fEntityDetail); |
... | ... | @@ -191,7 +188,6 @@ public class SendToCollectorImpl implements SendToCollector { |
191 | 188 | }else{ |
192 | 189 | fEntityDetail.setFPriceQty(NumberTransform.POSITIVE); |
193 | 190 | } |
194 | - fEntityDetail.setFNoTaxAmountFor_D(price); | |
195 | 191 | fEntityDetail.setFCOSTID(new FCOSTID(OrderConstant.ORDER_TRADE_CHARGE_ITEM_CODE));//费用项 |
196 | 192 | fEntityDetail.setFASSETID(new FASSETID(order.getShopCardNo())); |
197 | 193 | fEntityDetailList.add(fEntityDetail); | ... | ... |