Commit 142003440568ca26711e85a7d808c09f20224265
1 parent
6b00acaa
金蝶问题修复
Showing
4 changed files
with
12 additions
and
11 deletions
etrade-thirdparty/src/main/java/com/diligrp/etrade/thirdparty/component/TransferComponent.java
... | ... | @@ -63,7 +63,7 @@ public class TransferComponent { |
63 | 63 | if (!ObjectUtils.isEmpty(fNumber)){ |
64 | 64 | FCOSTDEPARTMENTID fCOSTDEPARTMENTID = new FCOSTDEPARTMENTID(); |
65 | 65 | fCOSTDEPARTMENTID.setFNUMBER(fNumber); |
66 | - co.setFCOSTDEPARTMENTID(fCOSTDEPARTMENTID); | |
66 | + co.getFEntityDetail().forEach(e->e.setFCOSTDEPARTMENTID(fCOSTDEPARTMENTID)); | |
67 | 67 | } |
68 | 68 | } |
69 | 69 | this.transPayOrgId(co.getFPAYORGID(), marketId, systemCode); | ... | ... |
etrade-thirdparty/src/main/java/com/diligrp/etrade/thirdparty/domain/co/business/BaseBillCo.java
... | ... | @@ -24,7 +24,6 @@ public class BaseBillCo implements Serializable { |
24 | 24 | private FCUSTOMERID FCUSTOMERID; |
25 | 25 | private FSALEORGID FSALEORGID; |
26 | 26 | private FSALEDEPTID FSALEDEPTID; |
27 | - private FCOSTDEPARTMENTID FCOSTDEPARTMENTID; | |
28 | 27 | private FPAYORGID FPAYORGID; |
29 | 28 | private FTRANSFERID FTRANSFERID; |
30 | 29 | private FORDERID FORDERID; |
... | ... | @@ -162,15 +161,6 @@ public class BaseBillCo implements Serializable { |
162 | 161 | this.FSALEDEPTID = FSALEDEPTID; |
163 | 162 | } |
164 | 163 | |
165 | - @JsonProperty("FCOSTDEPARTMENTID") | |
166 | - public FCOSTDEPARTMENTID getFCOSTDEPARTMENTID() { | |
167 | - return FCOSTDEPARTMENTID; | |
168 | - } | |
169 | - | |
170 | - public void setFCOSTDEPARTMENTID(FCOSTDEPARTMENTID FCOSTDEPARTMENTID) { | |
171 | - this.FCOSTDEPARTMENTID = FCOSTDEPARTMENTID; | |
172 | - } | |
173 | - | |
174 | 164 | @JsonProperty("FPAYORGID") |
175 | 165 | public FPAYORGID getFPAYORGID() { |
176 | 166 | return FPAYORGID; | ... | ... |
etrade-thirdparty/src/main/java/com/diligrp/etrade/thirdparty/domain/model/FEntityDetail.java
... | ... | @@ -16,6 +16,7 @@ public class FEntityDetail { |
16 | 16 | private BigDecimal FTaxPrice; |
17 | 17 | private BigDecimal FPrice; |
18 | 18 | private BigDecimal FNoTaxAmountFor_D; |
19 | + private FCOSTDEPARTMENTID FCOSTDEPARTMENTID; | |
19 | 20 | |
20 | 21 | @JsonProperty("FCOSTID") |
21 | 22 | public FCOSTID getFCOSTID() { |
... | ... | @@ -70,4 +71,13 @@ public class FEntityDetail { |
70 | 71 | public void setFNoTaxAmountFor_D(BigDecimal FNoTaxAmountFor_D) { |
71 | 72 | this.FNoTaxAmountFor_D = FNoTaxAmountFor_D; |
72 | 73 | } |
74 | + | |
75 | + @JsonProperty("FCOSTDEPARTMENTID") | |
76 | + public FCOSTDEPARTMENTID getFCOSTDEPARTMENTID() { | |
77 | + return FCOSTDEPARTMENTID; | |
78 | + } | |
79 | + | |
80 | + public void setFCOSTDEPARTMENTID(FCOSTDEPARTMENTID FCOSTDEPARTMENTID) { | |
81 | + this.FCOSTDEPARTMENTID = FCOSTDEPARTMENTID; | |
82 | + } | |
73 | 83 | } | ... | ... |
etrade-thirdparty/src/main/resources/com/diligrp/etrade/thirdparty/mapper/TransMapper.xml