Commit cee2004d4f49f3eb019ac3aa591bda6cc174bbb2

Authored by zhangmeiyang
1 parent 03db73d1

feat(storage): 更新字段配置及文档

- 修改 PipelineDocFieldTypeCO 类中的字段命名以提高可读性
- 更新生产字段配置文档,调整业务费用项分类与编码
- 优化应收单、收款单等相关配置结构
- 调整账套配置示例中的参数值与命名规范
- 完善各类支付场景下的配置映射关系
doc/生产字段配置.md
1 1 # 业务费用项配置(采用 结算方式+"-"+"业务")
2 2  
3 3 ```
4   -ORDER_PAY(1, "订单支付")
5   -ORDER_REFUND(2, "订单退款")
6   -OUT_ORDER_FEE(3, "订单佣金(出)")
7   -IN_ORDER_FEE(4, "订单佣金(入)")
8   -BUY_MEMBER(5, "会员购买")
9   -ONLINE_RECHARGE(6, "在线充值")
10   -PLAT_WITHDRAW(7, "平台提现")
  4 +IN_AMOUNT(1, "订单金额(入)"),
  5 +OUT_AMOUNT(2, "订单金额(出)"),
  6 +IN_ORDER_FEE(3, "订单佣金(入)"),
  7 +OUT_ORDER_FEE(4, "订单佣金(出)"),
  8 +IN_POINTS(5, "平台积分(入)"),
  9 +OUT_POINTS(6, "平台积分(出)"),
  10 +IN_PLATFORM_COUPON(7, "平台优惠券(入)"),
  11 +OUT_PLATFORM_COUPON(8, "平台优惠券(出)"),
  12 +BUY_MEMBER(9, "会员购买"),
  13 +ONLINE_RECHARGE(10, "在线充值"),
  14 +PLAT_WITHDRAW(11, "平台提现");
11 15 ```
12 16  
13 17 ## 应收单
14 18  
15   -```json
16   -[
17   - {
18   - "configValue": "1-1",
19   - "configMapValue": "CI061"
20   - },
21   - {
22   - "configValue": "2-1",
23   - "configMapValue": "CI061"
24   - },
25   - {
26   - "configValue": "3-1",
27   - "configMapValue": "CI061"
28   - },
29   - {
30   - "configValue": "4-1",
31   - "configMapValue": "CI061"
32   - },
33   - {
34   - "configValue": "5-1",
35   - "configMapValue": "CI061"
36   - },
37   - {
38   - "configValue": "6-1",
39   - "configMapValue": "CI061"
40   - },
41   - {
42   - "configValue": "7-1",
43   - "configMapValue": "CI061"
44   - },
45   - {
46   - "configValue": "8-1",
47   - "configMapValue": "CI061"
48   - },
49   - {
50   - "configValue": "9-1",
51   - "configMapValue": "CI061"
52   - },
53   - {
54   - "configValue": "10-1",
55   - "configMapValue": "CI061"
56   - },
57   - {
58   - "configValue": "11-1",
59   - "configMapValue": "CI061"
60   - },
61   - {
62   - "configValue": "12-1",
63   - "configMapValue": "CI061"
64   - },
65   - {
66   - "configValue": "20-1",
67   - "configMapValue": "CI061"
68   - },
69   - {
70   - "configValue": "1-2",
71   - "configMapValue": "CI061"
72   - },
73   - {
74   - "configValue": "2-2",
75   - "configMapValue": "CI061"
76   - },
77   - {
78   - "configValue": "3-2",
79   - "configMapValue": "CI061"
  19 +### 订单金额(入)(CI061)
  20 +
  21 +```
  22 +1. 微信小程序支付 1-1
  23 +2. 支付宝,电脑网站支付 2-1
  24 +3. 微信扫码支付 3-1
  25 +4. 微信H5支付 4-1
  26 +5. 微信公众号支付 5-1
  27 +6. 支付宝H5支付 6-1
  28 +7. 支付宝APP支付 7-1
  29 +8. 微信APP支付 8-1
  30 +9. 余额支付 9-1
  31 +10. paypal支付 10-1
  32 +11. 平台余额支付 11-1
  33 +12. 商家余额支付 12-1
  34 +13. 园区卡支付 20-1
  35 +```
  36 +
  37 +### 订单金额(出)(CI061)
  38 +
  39 +```
  40 +1. 微信小程序支付 1-2
  41 +2. 支付宝,电脑网站支付 2-2
  42 +3. 微信扫码支付 3-2
  43 +4. 微信H5支付 4-2
  44 +5. 微信公众号支付 5-2
  45 +6. 支付宝H5支付 6-2
  46 +7. 支付宝APP支付 7-2
  47 +8. 微信APP支付 8-2
  48 +9. 余额支付 9-2
  49 +10. paypal支付 10-2
  50 +11. 平台余额支付 11-2
  51 +12. 商家余额支付 12-2
  52 +13. 园区卡支付 20-2
  53 +```
  54 +### 订单佣金(入)(CI180)
  55 +
  56 +```
  57 +1. 微信小程序支付 1-3
  58 +2. 支付宝,电脑网站支付 2-3
  59 +3. 微信扫码支付 3-3
  60 +4. 微信H5支付 4-3
  61 +5. 微信公众号支付 5-3
  62 +6. 支付宝H5支付 6-3
  63 +7. 支付宝APP支付 7-3
  64 +8. 微信APP支付 8-3
  65 +9. 余额支付 9-3
  66 +10. paypal支付 10-3
  67 +11. 平台余额支付 11-3
  68 +12. 商家余额支付 12-3
  69 +13. 园区卡支付 20-3
  70 +```
  71 +
  72 +### 订单佣金(出)(CI180)
  73 +
  74 +```
  75 +1. 微信小程序支付 1-4
  76 +2. 支付宝,电脑网站支付 2-4
  77 +3. 微信扫码支付 3-4
  78 +4. 微信H5支付 4-4
  79 +5. 微信公众号支付 5-4
  80 +6. 支付宝H5支付 6-4
  81 +7. 支付宝APP支付 7-4
  82 +8. 微信APP支付 8-4
  83 +9. 余额支付 9-4
  84 +10. paypal支付 10-4
  85 +11. 平台余额支付 11-4
  86 +12. 商家余额支付 12-4
  87 +13. 园区卡支付 20-4
  88 +```
  89 +
  90 +### 平台积分(入)(CI181)
  91 +
  92 +```
  93 +1. 微信小程序支付 1-5
  94 +2. 支付宝,电脑网站支付 2-5
  95 +3. 微信扫码支付 3-5
  96 +4. 微信H5支付 4-5
  97 +5. 微信公众号支付 5-5
  98 +6. 支付宝H5支付 6-5
  99 +7. 支付宝APP支付 7-5
  100 +8. 微信APP支付 8-5
  101 +9. 余额支付 9-5
  102 +10. paypal支付 10-5
  103 +11. 平台余额支付 11-5
  104 +12. 商家余额支付 12-5
  105 +13. 园区卡支付 20-5
  106 +```
  107 +
  108 +### 平台积分(出)(CI181)
  109 +
  110 +```
  111 +1. 微信小程序支付 1-6
  112 +2. 支付宝,电脑网站支付 2-6
  113 +3. 微信扫码支付 3-6
  114 +4. 微信H5支付 4-6
  115 +5. 微信公众号支付 5-6
  116 +6. 支付宝H5支付 6-6
  117 +7. 支付宝APP支付 7-6
  118 +8. 微信APP支付 8-6
  119 +9. 余额支付 9-6
  120 +10. paypal支付 10-6
  121 +11. 平台余额支付 11-6
  122 +12. 商家余额支付 12-6
  123 +13. 园区卡支付 20-6
  124 +```
  125 +
  126 +### 平台券(入)(CI181)
  127 +
  128 +```
  129 +1. 微信小程序支付 1-7
  130 +2. 支付宝,电脑网站支付 2-7
  131 +3. 微信扫码支付 3-7
  132 +4. 微信H5支付 4-7
  133 +5. 微信公众号支付 5-7
  134 +6. 支付宝H5支付 6-7
  135 +7. 支付宝APP支付 7-7
  136 +8. 微信APP支付 8-7
  137 +9. 余额支付 9-7
  138 +10. paypal支付 10-7
  139 +11. 平台余额支付 11-7
  140 +12. 商家余额支付 12-7
  141 +13. 园区卡支付 20-7
  142 +```
  143 +
  144 +### 平台券(出)(CI181)
  145 +
  146 +```
  147 +1. 微信小程序支付 1-8
  148 +2. 支付宝,电脑网站支付 2-8
  149 +3. 微信扫码支付 3-8
  150 +4. 微信H5支付 4-8
  151 +5. 微信公众号支付 5-8
  152 +6. 支付宝H5支付 6-8
  153 +7. 支付宝APP支付 7-8
  154 +8. 微信APP支付 8-8
  155 +9. 余额支付 9-8
  156 +10. paypal支付 10-8
  157 +11. 平台余额支付 11-8
  158 +12. 商家余额支付 12-8
  159 +13. 园区卡支付 20-8
  160 +```
  161 +
  162 +### 会员购买(CI186)
  163 +
  164 +```
  165 +1. 微信小程序支付 1-9
  166 +2. 支付宝,电脑网站支付 2-9
  167 +3. 微信扫码支付 3-9
  168 +4. 微信H5支付 4-9
  169 +5. 微信公众号支付 5-9
  170 +6. 支付宝H5支付 6-9
  171 +7. 支付宝APP支付 7-9
  172 +8. 微信APP支付 8-9
  173 +9. 余额支付 9-9
  174 +10. paypal支付 10-9
  175 +11. 平台余额支付 11-9
  176 +12. 商家余额支付 12-9
  177 +13. 园区卡支付 20-9
  178 +```
  179 +
  180 +## 收款单
  181 +
  182 +### 订单支付(CI185)
  183 +
  184 +```
  185 +1. 微信小程序支付 1-1
  186 +2. 支付宝,电脑网站支付 2-1
  187 +3. 微信扫码支付 3-1
  188 +4. 微信H5支付 4-1
  189 +5. 微信公众号支付 5-1
  190 +6. 支付宝H5支付 6-1
  191 +7. 支付宝APP支付 7-1
  192 +8. 微信APP支付 8-1
  193 +9. 余额支付 9-1
  194 +10. paypal支付 10-1
  195 +11. 平台余额支付 11-1
  196 +12. 商家余额支付 12-1
  197 +13. 园区卡支付 20-1
  198 +```
  199 +
  200 +### 在线充值(CI185)
  201 +
  202 +```
  203 +1. 微信小程序支付 1-12
  204 +2. 支付宝,电脑网站支付 2-12
  205 +3. 微信扫码支付 3-12
  206 +4. 微信H5支付 4-12
  207 +5. 微信公众号支付 5-12
  208 +6. 支付宝H5支付 6-12
  209 +7. 支付宝APP支付 7-12
  210 +8. 微信APP支付 8-12
  211 +9. 余额支付 9-12
  212 +10. paypal支付 10-12
  213 +11. 平台余额支付 11-12
  214 +12. 商家余额支付 12-12
  215 +13. 园区卡支付 20-12
  216 +```
  217 +
  218 +### 会员购买(CI185)
  219 +
  220 +```
  221 +1. 微信小程序支付 1-11
  222 +2. 支付宝,电脑网站支付 2-11
  223 +3. 微信扫码支付 3-11
  224 +4. 微信H5支付 4-11
  225 +5. 微信公众号支付 5-11
  226 +6. 支付宝H5支付 6-11
  227 +7. 支付宝APP支付 7-11
  228 +8. 微信APP支付 8-11
  229 +9. 余额支付 9-11
  230 +10. paypal支付 10-11
  231 +11. 平台余额支付 11-11
  232 +12. 商家余额支付 12-11
  233 +13. 园区卡支付 20-11
  234 +```
  235 +
  236 +## 收款退款单
  237 +
  238 +### 订单退款(CI185)
  239 +
  240 +```
  241 +1. 微信小程序支付 1-2
  242 +2. 支付宝,电脑网站支付 2-2
  243 +3. 微信扫码支付 3-2
  244 +4. 微信H5支付 4-2
  245 +5. 微信公众号支付 5-2
  246 +6. 支付宝H5支付 6-2
  247 +7. 支付宝APP支付 7-2
  248 +8. 微信APP支付 8-2
  249 +9. 余额支付 9-2
  250 +10. paypal支付 10-2
  251 +11. 平台余额支付 11-2
  252 +12. 商家余额支付 12-2
  253 +13. 园区卡支付 20-2
  254 +```
  255 +
  256 +### 平台提现(CI185)
  257 +
  258 +```
  259 +1. *-11
  260 +```
  261 +
  262 +## 1.账套配置 JSON
  263 +
  264 +```json5
  265 +{
  266 + group: "MALL",
  267 + //固定
  268 + entity: "42",
  269 + //商城对应租户id
  270 + systemCode: "kingdee",
  271 + name: "中瑞商城账套",
  272 + code: "MALL_42",
  273 + // 账套名称 mall+租户id
  274 + params: {
  275 + dCID: "66435fe720f1d3",
  276 + appId: "293965_6+dDWztPVvgY1X1vX67BzbyEyLSc2tqL",
  277 + userName: "市场",
  278 + appSecret: "a384eaabf599461aa05d89ce4c366d27",
  279 + serverUrl: "http://120.46.151.190/k3cloud/",
80 280 },
81   - {
82   - "configValue": "4-2",
83   - "configMapValue": "CI061"
84   - },
85   - {
86   - "configValue": "5-2",
87   - "configMapValue": "CI061"
88   - },
89   - {
90   - "configValue": "6-2",
91   - "configMapValue": "CI061"
92   - },
93   - {
94   - "configValue": "7-2",
95   - "configMapValue": "CI061"
96   - },
97   - {
98   - "configValue": "8-2",
99   - "configMapValue": "CI061"
100   - },
101   - {
102   - "configValue": "9-2",
103   - "configMapValue": "CI061"
104   - },
105   - {
106   - "configValue": "10-2",
107   - "configMapValue": "CI061"
108   - },
109   - {
110   - "configValue": "11-2",
111   - "configMapValue": "CI061"
112   - },
113   - {
114   - "configValue": "12-2",
115   - "configMapValue": "CI061"
116   - },
117   - {
118   - "configValue": "20-2",
119   - "configMapValue": "CI061"
120   - },
121   - {
122   - "configValue": "1-3",
123   - "configMapValue": "CI180"
124   - },
125   - {
126   - "configValue": "2-3",
127   - "configMapValue": "CI180"
128   - },
129   - {
130   - "configValue": "3-3",
131   - "configMapValue": "CI180"
132   - },
133   - {
134   - "configValue": "4-3",
135   - "configMapValue": "CI180"
136   - },
137   - {
138   - "configValue": "5-3",
139   - "configMapValue": "CI180"
140   - },
141   - {
142   - "configValue": "6-3",
143   - "configMapValue": "CI180"
144   - },
145   - {
146   - "configValue": "7-3",
147   - "configMapValue": "CI180"
148   - },
149   - {
150   - "configValue": "8-3",
151   - "configMapValue": "CI180"
152   - },
153   - {
154   - "configValue": "9-3",
155   - "configMapValue": "CI180"
156   - },
157   - {
158   - "configValue": "10-3",
159   - "configMapValue": "CI180"
160   - },
161   - {
162   - "configValue": "11-3",
163   - "configMapValue": "CI180"
164   - },
165   - {
166   - "configValue": "12-3",
167   - "configMapValue": "CI180"
168   - },
169   - {
170   - "configValue": "20-3",
171   - "configMapValue": "CI180"
172   - },
173   - {
174   - "configValue": "1-4",
175   - "configMapValue": "CI180"
176   - },
177   - {
178   - "configValue": "2-4",
179   - "configMapValue": "CI180"
180   - },
181   - {
182   - "configValue": "3-4",
183   - "configMapValue": "CI180"
184   - },
185   - {
186   - "configValue": "4-4",
187   - "configMapValue": "CI180"
188   - },
189   - {
190   - "configValue": "5-4",
191   - "configMapValue": "CI180"
192   - },
193   - {
194   - "configValue": "6-4",
195   - "configMapValue": "CI180"
196   - },
197   - {
198   - "configValue": "7-4",
199   - "configMapValue": "CI180"
200   - },
201   - {
202   - "configValue": "8-4",
203   - "configMapValue": "CI180"
204   - },
205   - {
206   - "configValue": "9-4",
207   - "configMapValue": "CI180"
208   - },
209   - {
210   - "configValue": "10-4",
211   - "configMapValue": "CI180"
212   - },
213   - {
214   - "configValue": "11-4",
215   - "configMapValue": "CI180"
216   - },
217   - {
218   - "configValue": "12-4",
219   - "configMapValue": "CI180"
220   - },
221   - {
222   - "configValue": "20-4",
223   - "configMapValue": "CI180"
224   - },
225   - {
226   - "configValue": "1-5",
227   - "configMapValue": "CI186"
228   - },
229   - {
230   - "configValue": "2-5",
231   - "configMapValue": "CI186"
232   - },
233   - {
234   - "configValue": "3-5",
235   - "configMapValue": "CI186"
236   - },
237   - {
238   - "configValue": "4-5",
239   - "configMapValue": "CI186"
240   - },
241   - {
242   - "configValue": "5-5",
243   - "configMapValue": "CI186"
244   - },
245   - {
246   - "configValue": "6-5",
247   - "configMapValue": "CI186"
248   - },
249   - {
250   - "configValue": "7-5",
251   - "configMapValue": "CI186"
252   - },
253   - {
254   - "configValue": "8-5",
255   - "configMapValue": "CI186"
256   - },
257   - {
258   - "configValue": "9-5",
259   - "configMapValue": "CI186"
260   - },
261   - {
262   - "configValue": "10-5",
263   - "configMapValue": "CI186"
264   - },
265   - {
266   - "configValue": "11-5",
267   - "configMapValue": "CI186"
268   - },
269   - {
270   - "configValue": "12-5",
271   - "configMapValue": "CI186"
272   - },
273   - {
274   - "configValue": "20-5",
275   - "configMapValue": "CI186"
276   - }
277   -]
278   -```
279   -
280   -### 订单支付(CI061)
281   -
282   -```
283   -1. 微信小程序支付 1-1
284   -2. 支付宝,电脑网站支付 2-1
285   -3. 微信扫码支付 3-1
286   -4. 微信H5支付 4-1
287   -5. 微信公众号支付 5-1
288   -6. 支付宝H5支付 6-1
289   -7. 支付宝APP支付 7-1
290   -8. 微信APP支付 8-1
291   -9. 余额支付 9-1
292   -10. paypal支付 10-1
293   -11. 平台余额支付 11-1
294   -12. 商家余额支付 12-1
295   -13. 园区卡支付 20-1
296   -```
297   -
298   -### 订单退款(CI061)
299   -
300   -```
301   -1. 微信小程序支付 1-2
302   -2. 支付宝,电脑网站支付 2-2
303   -3. 微信扫码支付 3-2
304   -4. 微信H5支付 4-2
305   -5. 微信公众号支付 5-2
306   -6. 支付宝H5支付 6-2
307   -7. 支付宝APP支付 7-2
308   -8. 微信APP支付 8-2
309   -9. 余额支付 9-2
310   -10. paypal支付 10-2
311   -11. 平台余额支付 11-2
312   -12. 商家余额支付 12-2
313   -13. 园区卡支付 20-2
  281 +}
314 282 ```
315 283  
316   -### 订单佣金(出)(CI180)
317   -
318   -```
319   -1. 微信小程序支付 1-3
320   -2. 支付宝,电脑网站支付 2-3
321   -3. 微信扫码支付 3-3
322   -4. 微信H5支付 4-3
323   -5. 微信公众号支付 5-3
324   -6. 支付宝H5支付 6-3
325   -7. 支付宝APP支付 7-3
326   -8. 微信APP支付 8-3
327   -9. 余额支付 9-3
328   -10. paypal支付 10-3
329   -11. 平台余额支付 11-3
330   -12. 商家余额支付 12-3
331   -13. 园区卡支付 20-3
332   -```
  284 +## 2.应收单配置 JSON
333 285  
334   -### 订单佣金(入)(CI180)
  286 +### 2.1 settleOrg 结算组织
335 287  
336   -```
337   -1. 微信小程序支付 1-4
338   -2. 支付宝,电脑网站支付 2-4
339   -3. 微信扫码支付 3-4
340   -4. 微信H5支付 4-4
341   -5. 微信公众号支付 5-4
342   -6. 支付宝H5支付 6-4
343   -7. 支付宝APP支付 7-4
344   -8. 微信APP支付 8-4
345   -9. 余额支付 9-4
346   -10. paypal支付 10-4
347   -11. 平台余额支付 11-4
348   -12. 商家余额支付 12-4
349   -13. 园区卡支付 20-4
  288 +```json
  289 +{
  290 + "pipelineId": 2,
  291 + "documentType": "AR_receivable",
  292 + "configKey": "settleOrg",
  293 + "settingFieldType": 1,
  294 + "dynamicValues": [
  295 + {
  296 + "configValue": "0-B",
  297 + "configMapValue": "101.02"
  298 + },
  299 + {
  300 + "configValue": "1-B",
  301 + "configMapValue": "101.02"
  302 + },
  303 + {
  304 + "configValue": "2-B",
  305 + "configMapValue": "101.02"
  306 + },
  307 + {
  308 + "configValue": "3-B",
  309 + "configMapValue": "101.02"
  310 + },
  311 + {
  312 + "configValue": "4-B",
  313 + "configMapValue": "101.02"
  314 + },
  315 + {
  316 + "configValue": "5-B",
  317 + "configMapValue": "101.02"
  318 + },
  319 + {
  320 + "configValue": "6-B",
  321 + "configMapValue": "101.02"
  322 + },
  323 + {
  324 + "configValue": "7-B",
  325 + "configMapValue": "101.02"
  326 + },
  327 + {
  328 + "configValue": "8-B",
  329 + "configMapValue": "101.02"
  330 + },
  331 + {
  332 + "configValue": "9-B",
  333 + "configMapValue": "101.02"
  334 + },
  335 + {
  336 + "configValue": "10-B",
  337 + "configMapValue": "101.02"
  338 + },
  339 + {
  340 + "configValue": "11-B",
  341 + "configMapValue": "101.02"
  342 + },
  343 + {
  344 + "configValue": "12-B",
  345 + "configMapValue": "101.02"
  346 + },
  347 + {
  348 + "configValue": "20-B",
  349 + "configMapValue": "101"
  350 + },
  351 + {
  352 + "configValue": "0-S",
  353 + "configMapValue": "101.02"
  354 + },
  355 + {
  356 + "configValue": "1-S",
  357 + "configMapValue": "101.02"
  358 + },
  359 + {
  360 + "configValue": "2-S",
  361 + "configMapValue": "101.02"
  362 + },
  363 + {
  364 + "configValue": "3-S",
  365 + "configMapValue": "101.02"
  366 + },
  367 + {
  368 + "configValue": "4-S",
  369 + "configMapValue": "101.02"
  370 + },
  371 + {
  372 + "configValue": "5-S",
  373 + "configMapValue": "101.02"
  374 + },
  375 + {
  376 + "configValue": "6-S",
  377 + "configMapValue": "101.02"
  378 + },
  379 + {
  380 + "configValue": "7-S",
  381 + "configMapValue": "101.02"
  382 + },
  383 + {
  384 + "configValue": "8-S",
  385 + "configMapValue": "101.02"
  386 + },
  387 + {
  388 + "configValue": "9-S",
  389 + "configMapValue": "101.02"
  390 + },
  391 + {
  392 + "configValue": "10-S",
  393 + "configMapValue": "101.02"
  394 + },
  395 + {
  396 + "configValue": "11-S",
  397 + "configMapValue": "101.02"
  398 + },
  399 + {
  400 + "configValue": "12-S",
  401 + "configMapValue": "101.02"
  402 + },
  403 + {
  404 + "configValue": "20-S",
  405 + "configMapValue": "101.02"
  406 + }
  407 + ]
  408 +}
350 409 ```
351 410  
352   -### 会员购买(CI186)
  411 +### 2.2 currency 币别
353 412  
354   -```
355   -1. 微信小程序支付 1-5
356   -2. 支付宝,电脑网站支付 2-5
357   -3. 微信扫码支付 3-5
358   -4. 微信H5支付 4-5
359   -5. 微信公众号支付 5-5
360   -6. 支付宝H5支付 6-5
361   -7. 支付宝APP支付 7-5
362   -8. 微信APP支付 8-5
363   -9. 余额支付 9-5
364   -10. paypal支付 10-5
365   -11. 平台余额支付 11-5
366   -12. 商家余额支付 12-5
367   -13. 园区卡支付 20-5
  413 +```json
  414 +{
  415 + "pipelineId": 2,
  416 + "documentType": "AR_receivable",
  417 + "configKey": "currency",
  418 + "settingFieldType": 0,
  419 + "fixedValue": "PRE001"
  420 +}
368 421 ```
369 422  
370   -## 收款单
371   -
372   -```json
373   -[
374   - {
375   - "configValue": "1-1",
376   - "configMapValue": "CI185"
377   - },
378   - {
379   - "configValue": "2-1",
380   - "configMapValue": "CI185"
381   - },
382   - {
383   - "configValue": "3-1",
384   - "configMapValue": "CI185"
385   - },
386   - {
387   - "configValue": "4-1",
388   - "configMapValue": "CI185"
389   - },
390   - {
391   - "configValue": "5-1",
392   - "configMapValue": "CI185"
393   - },
394   - {
395   - "configValue": "6-1",
396   - "configMapValue": "CI185"
397   - },
398   - {
399   - "configValue": "7-1",
400   - "configMapValue": "CI185"
401   - },
402   - {
403   - "configValue": "8-1",
404   - "configMapValue": "CI185"
405   - },
406   - {
407   - "configValue": "9-1",
408   - "configMapValue": "CI185"
409   - },
410   - {
411   - "configValue": "10-1",
412   - "configMapValue": "CI185"
413   - },
414   - {
415   - "configValue": "11-1",
416   - "configMapValue": "CI185"
417   - },
418   - {
419   - "configValue": "12-1",
420   - "configMapValue": "CI185"
421   - },
422   - {
423   - "configValue": "20-1",
424   - "configMapValue": "CI185"
425   - },
426   - {
427   - "configValue": "1-6",
428   - "configMapValue": "CI185"
429   - },
430   - {
431   - "configValue": "2-6",
432   - "configMapValue": "CI185"
433   - },
434   - {
435   - "configValue": "3-6",
436   - "configMapValue": "CI185"
437   - },
438   - {
439   - "configValue": "4-6",
440   - "configMapValue": "CI185"
441   - },
442   - {
443   - "configValue": "5-6",
444   - "configMapValue": "CI185"
445   - },
446   - {
447   - "configValue": "6-6",
448   - "configMapValue": "CI185"
449   - },
450   - {
451   - "configValue": "7-6",
452   - "configMapValue": "CI185"
453   - },
454   - {
455   - "configValue": "8-6",
456   - "configMapValue": "CI185"
457   - },
458   - {
459   - "configValue": "9-6",
460   - "configMapValue": "CI185"
461   - },
462   - {
463   - "configValue": "10-6",
464   - "configMapValue": "CI185"
465   - },
466   - {
467   - "configValue": "11-6",
468   - "configMapValue": "CI185"
469   - },
470   - {
471   - "configValue": "12-6",
472   - "configMapValue": "CI185"
473   - },
474   - {
475   - "configValue": "20-6",
476   - "configMapValue": "CI185"
477   - }
478   -]
479   -```
480   -
481   -### 订单支付(CI185)
482   -
483   -```
484   -1. 微信小程序支付 1-1
485   -2. 支付宝,电脑网站支付 2-1
486   -3. 微信扫码支付 3-1
487   -4. 微信H5支付 4-1
488   -5. 微信公众号支付 5-1
489   -6. 支付宝H5支付 6-1
490   -7. 支付宝APP支付 7-1
491   -8. 微信APP支付 8-1
492   -9. 余额支付 9-1
493   -10. paypal支付 10-1
494   -11. 平台余额支付 11-1
495   -12. 商家余额支付 12-1
496   -13. 园区卡支付 20-1
497   -```
498   -
499   -### 在线充值(CI185)
500   -
501   -```
502   -1. 微信小程序支付 1-6
503   -2. 支付宝,电脑网站支付 2-6
504   -3. 微信扫码支付 3-6
505   -4. 微信H5支付 4-6
506   -5. 微信公众号支付 5-6
507   -6. 支付宝H5支付 6-6
508   -7. 支付宝APP支付 7-6
509   -8. 微信APP支付 8-6
510   -9. 余额支付 9-6
511   -10. paypal支付 10-6
512   -11. 平台余额支付 11-6
513   -12. 商家余额支付 12-6
514   -13. 园区卡支付 20-6
515   -```
516   -
517   -## 收款退款单
518   -
519   -```json
520   -[
521   - {
522   - "configValue": "1-2",
523   - "configMapValue": "CI185"
524   - },
525   - {
526   - "configValue": "2-2",
527   - "configMapValue": "CI185"
528   - },
529   - {
530   - "configValue": "3-2",
531   - "configMapValue": "CI185"
532   - },
533   - {
534   - "configValue": "4-2",
535   - "configMapValue": "CI185"
536   - },
537   - {
538   - "configValue": "5-2",
539   - "configMapValue": "CI185"
540   - },
541   - {
542   - "configValue": "6-2",
543   - "configMapValue": "CI185"
544   - },
545   - {
546   - "configValue": "7-2",
547   - "configMapValue": "CI185"
548   - },
549   - {
550   - "configValue": "8-2",
551   - "configMapValue": "CI185"
552   - },
553   - {
554   - "configValue": "9-2",
555   - "configMapValue": "CI185"
556   - },
557   - {
558   - "configValue": "10-2",
559   - "configMapValue": "CI185"
560   - },
561   - {
562   - "configValue": "11-2",
563   - "configMapValue": "CI185"
564   - },
565   - {
566   - "configValue": "12-2",
567   - "configMapValue": "CI185"
568   - },
569   - {
570   - "configValue": "20-2",
571   - "configMapValue": "CI185"
572   - },
573   - {
574   - "configValue": "1-7",
575   - "configMapValue": "CI185"
576   - },
577   - {
578   - "configValue": "2-7",
579   - "configMapValue": "CI185"
580   - },
581   - {
582   - "configValue": "3-7",
583   - "configMapValue": "CI185"
584   - },
585   - {
586   - "configValue": "4-7",
587   - "configMapValue": "CI185"
588   - },
589   - {
590   - "configValue": "5-7",
591   - "configMapValue": "CI185"
592   - },
593   - {
594   - "configValue": "6-7",
595   - "configMapValue": "CI185"
596   - },
597   - {
598   - "configValue": "7-7",
599   - "configMapValue": "CI185"
600   - },
601   - {
602   - "configValue": "8-7",
603   - "configMapValue": "CI185"
604   - },
605   - {
606   - "configValue": "9-7",
607   - "configMapValue": "CI185"
608   - },
609   - {
610   - "configValue": "10-7",
611   - "configMapValue": "CI185"
612   - },
613   - {
614   - "configValue": "11-7",
615   - "configMapValue": "CI185"
616   - },
617   - {
618   - "configValue": "12-7",
619   - "configMapValue": "CI185"
620   - },
621   - {
622   - "configValue": "20-7",
623   - "configMapValue": "CI185"
624   - }
625   -]
626   -```
627   -
628   -### 订单退款(CI185)
629   -
630   -```
631   -1. 微信小程序支付 1-2
632   -2. 支付宝,电脑网站支付 2-2
633   -3. 微信扫码支付 3-2
634   -4. 微信H5支付 4-2
635   -5. 微信公众号支付 5-2
636   -6. 支付宝H5支付 6-2
637   -7. 支付宝APP支付 7-2
638   -8. 微信APP支付 8-2
639   -9. 余额支付 9-2
640   -10. paypal支付 10-2
641   -11. 平台余额支付 11-2
642   -12. 商家余额支付 12-2
643   -13. 园区卡支付 20-2
644   -```
645   -
646   -### 平台提现(CI185)
647   -
648   -```
649   -1. 微信小程序支付 1-7
650   -2. 支付宝,电脑网站支付 2-7
651   -3. 微信扫码支付 3-7
652   -4. 微信H5支付 4-7
653   -5. 微信公众号支付 5-7
654   -6. 支付宝H5支付 6-7
655   -7. 支付宝APP支付 7-7
656   -8. 微信APP支付 8-7
657   -9. 余额支付 9-7
658   -10. paypal支付 10-7
659   -11. 平台余额支付 11-7
660   -12. 商家余额支付 12-7
661   -13. 园区卡支付 20-7
662   -```
663   -
664   -## 1.账套配置JSON
665   -
666   -```json5
667   -{
668   - "group": "mall",
669   - //固定
670   - "entity": "9",
671   - //商城对应租户id
672   - "systemCode": "kingdee",
673   - "name": "中瑞商城账套",
674   - "code": "MALL_PIPELINE",
675   - // 账套名称 mall+租户id
676   - "params": {
677   - "dCID": "66435fe720f1d3",
678   - "appId": "293965_6+dDWztPVvgY1X1vX67BzbyEyLSc2tqL",
679   - "userName": "市场",
680   - "appSecret": "a384eaabf599461aa05d89ce4c366d27",
681   - "serverUrl": "http://120.46.151.190/k3cloud/"
682   - }
683   -}
684   -```
685   -
686   -## 2.应收单配置JSON
687   -
688   -### 2.1 settleOrg 结算组织
  423 +### 2.3 saleOrg 销售组织
689 424  
690 425 ```json
691 426 {
692 427 "pipelineId": 2,
693 428 "documentType": "AR_receivable",
694   - "configKey": "settleOrg",
  429 + "configKey": "saleOrg",
695 430 "settingFieldType": 1,
696 431 "dynamicValues": [
697 432 {
... ... @@ -748,7 +483,7 @@ PLAT_WITHDRAW(7, "平台提现")
748 483 },
749 484 {
750 485 "configValue": "20-B",
751   - "configMapValue": "101"
  486 + "configMapValue": "101.02"
752 487 },
753 488 {
754 489 "configValue": "0-S",
... ... @@ -810,25 +545,37 @@ PLAT_WITHDRAW(7, "平台提现")
810 545 }
811 546 ```
812 547  
813   -### 2.2 currency 币别
  548 +### 2.4 businessType 业务类型
814 549  
815 550 ```json
816 551 {
817 552 "pipelineId": 2,
818 553 "documentType": "AR_receivable",
819   - "configKey": "currency",
  554 + "configKey": "businessType",
  555 + "settingFieldType": 0,
  556 + "fixedValue": "scfyys-001"
  557 +}
  558 +```
  559 +
  560 +### 2.5 standardCurrency 本位币
  561 +
  562 +```json
  563 +{
  564 + "pipelineId": 2,
  565 + "documentType": "AR_receivable",
  566 + "configKey": "standardCurrency",
820 567 "settingFieldType": 0,
821 568 "fixedValue": "PRE001"
822 569 }
823 570 ```
824 571  
825   -### 2.3 saleOrg 销售组织
  572 +### 2.6 payOrg 收款组织
826 573  
827 574 ```json
828 575 {
829 576 "pipelineId": 2,
830 577 "documentType": "AR_receivable",
831   - "configKey": "saleOrg",
  578 + "configKey": "payOrg",
832 579 "settingFieldType": 1,
833 580 "dynamicValues": [
834 581 {
... ... @@ -885,7 +632,7 @@ PLAT_WITHDRAW(7, "平台提现")
885 632 },
886 633 {
887 634 "configValue": "20-B",
888   - "configMapValue": "101.02"
  635 + "configMapValue": "101"
889 636 },
890 637 {
891 638 "configValue": "0-S",
... ... @@ -947,183 +694,34 @@ PLAT_WITHDRAW(7, "平台提现")
947 694 }
948 695 ```
949 696  
950   -### 2.4 businessType 业务类型
951   -
952   -```json
953   -{
954   - "pipelineId": 2,
955   - "documentType": "AR_receivable",
956   - "configKey": "businessType",
957   - "settingFieldType": 0,
958   - "fixedValue": "scfyys-001"
959   -}
960   -```
961   -
962   -### 2.5 standardCurrency 本位币
  697 +### 2.7 chargeItemDept 费用承担部门
963 698  
964 699 ```json
965 700 {
966 701 "pipelineId": 2,
967 702 "documentType": "AR_receivable",
968   - "configKey": "standardCurrency",
  703 + "configKey": "chargeItemDept",
969 704 "settingFieldType": 0,
970   - "fixedValue": "PRE001"
  705 + "fixedValue": "BM000098"
971 706 }
972 707 ```
973 708  
974   -### 2.6 payOrg 收款组织
  709 +### 2.8 saleDept 销售部门
975 710  
976 711 ```json
977 712 {
978 713 "pipelineId": 2,
979 714 "documentType": "AR_receivable",
980   - "configKey": "payOrg",
  715 + "configKey": "saleDept",
981 716 "settingFieldType": 1,
982 717 "dynamicValues": [
983 718 {
984   - "configValue": "0-B",
985   - "configMapValue": "101.02"
  719 + "configValue": "0",
  720 + "configMapValue": "BM000098"
986 721 },
987 722 {
988   - "configValue": "1-B",
989   - "configMapValue": "101.02"
990   - },
991   - {
992   - "configValue": "2-B",
993   - "configMapValue": "101.02"
994   - },
995   - {
996   - "configValue": "3-B",
997   - "configMapValue": "101.02"
998   - },
999   - {
1000   - "configValue": "4-B",
1001   - "configMapValue": "101.02"
1002   - },
1003   - {
1004   - "configValue": "5-B",
1005   - "configMapValue": "101.02"
1006   - },
1007   - {
1008   - "configValue": "6-B",
1009   - "configMapValue": "101.02"
1010   - },
1011   - {
1012   - "configValue": "7-B",
1013   - "configMapValue": "101.02"
1014   - },
1015   - {
1016   - "configValue": "8-B",
1017   - "configMapValue": "101.02"
1018   - },
1019   - {
1020   - "configValue": "9-B",
1021   - "configMapValue": "101.02"
1022   - },
1023   - {
1024   - "configValue": "10-B",
1025   - "configMapValue": "101.02"
1026   - },
1027   - {
1028   - "configValue": "11-B",
1029   - "configMapValue": "101.02"
1030   - },
1031   - {
1032   - "configValue": "12-B",
1033   - "configMapValue": "101.02"
1034   - },
1035   - {
1036   - "configValue": "20-B",
1037   - "configMapValue": "101"
1038   - },
1039   - {
1040   - "configValue": "0-S",
1041   - "configMapValue": "101.02"
1042   - },
1043   - {
1044   - "configValue": "1-S",
1045   - "configMapValue": "101.02"
1046   - },
1047   - {
1048   - "configValue": "2-S",
1049   - "configMapValue": "101.02"
1050   - },
1051   - {
1052   - "configValue": "3-S",
1053   - "configMapValue": "101.02"
1054   - },
1055   - {
1056   - "configValue": "4-S",
1057   - "configMapValue": "101.02"
1058   - },
1059   - {
1060   - "configValue": "5-S",
1061   - "configMapValue": "101.02"
1062   - },
1063   - {
1064   - "configValue": "6-S",
1065   - "configMapValue": "101.02"
1066   - },
1067   - {
1068   - "configValue": "7-S",
1069   - "configMapValue": "101.02"
1070   - },
1071   - {
1072   - "configValue": "8-S",
1073   - "configMapValue": "101.02"
1074   - },
1075   - {
1076   - "configValue": "9-S",
1077   - "configMapValue": "101.02"
1078   - },
1079   - {
1080   - "configValue": "10-S",
1081   - "configMapValue": "101.02"
1082   - },
1083   - {
1084   - "configValue": "11-S",
1085   - "configMapValue": "101.02"
1086   - },
1087   - {
1088   - "configValue": "12-S",
1089   - "configMapValue": "101.02"
1090   - },
1091   - {
1092   - "configValue": "20-S",
1093   - "configMapValue": "101.02"
1094   - }
1095   - ]
1096   -}
1097   -```
1098   -
1099   -### 2.7 chargeItemDept 费用承担部门
1100   -
1101   -```json
1102   -{
1103   - "pipelineId": 2,
1104   - "documentType": "AR_receivable",
1105   - "configKey": "chargeItemDept",
1106   - "settingFieldType": 0,
1107   - "fixedValue": "BM000098"
1108   -}
1109   -```
1110   -
1111   -### 2.8 saleDept 销售部门
1112   -
1113   -```json
1114   -{
1115   - "pipelineId": 2,
1116   - "documentType": "AR_receivable",
1117   - "configKey": "saleDept",
1118   - "settingFieldType": 1,
1119   - "dynamicValues": [
1120   - {
1121   - "configValue": "0",
1122   - "configMapValue": "BM000098"
1123   - },
1124   - {
1125   - "configValue": "1",
1126   - "configMapValue": "BM000098"
  723 + "configValue": "1",
  724 + "configMapValue": "BM000098"
1127 725 },
1128 726 {
1129 727 "configValue": "2",
... ... @@ -1186,267 +784,475 @@ PLAT_WITHDRAW(7, "平台提现")
1186 784 "configKey": "chargeItem",
1187 785 "settingFieldType": 1,
1188 786 "dynamicValues": [
1189   - {
1190   - "configValue": "1-1",
1191   - "configMapValue": "CI061"
1192   - },
1193   - {
1194   - "configValue": "2-1",
1195   - "configMapValue": "CI061"
1196   - },
1197   - {
1198   - "configValue": "3-1",
1199   - "configMapValue": "CI061"
1200   - },
1201   - {
1202   - "configValue": "4-1",
1203   - "configMapValue": "CI061"
1204   - },
1205   - {
1206   - "configValue": "5-1",
1207   - "configMapValue": "CI061"
1208   - },
1209   - {
1210   - "configValue": "6-1",
1211   - "configMapValue": "CI061"
1212   - },
1213   - {
1214   - "configValue": "7-1",
1215   - "configMapValue": "CI061"
1216   - },
1217   - {
1218   - "configValue": "8-1",
1219   - "configMapValue": "CI061"
1220   - },
1221   - {
1222   - "configValue": "9-1",
1223   - "configMapValue": "CI061"
1224   - },
1225   - {
1226   - "configValue": "10-1",
1227   - "configMapValue": "CI061"
1228   - },
1229   - {
1230   - "configValue": "11-1",
1231   - "configMapValue": "CI061"
1232   - },
1233   - {
1234   - "configValue": "12-1",
1235   - "configMapValue": "CI061"
1236   - },
1237   - {
1238   - "configValue": "20-1",
1239   - "configMapValue": "CI061"
1240   - },
1241   - {
1242   - "configValue": "1-2",
1243   - "configMapValue": "CI061"
1244   - },
1245   - {
1246   - "configValue": "2-2",
1247   - "configMapValue": "CI061"
1248   - },
1249   - {
1250   - "configValue": "3-2",
1251   - "configMapValue": "CI061"
1252   - },
1253   - {
1254   - "configValue": "4-2",
1255   - "configMapValue": "CI061"
1256   - },
1257   - {
1258   - "configValue": "5-2",
1259   - "configMapValue": "CI061"
1260   - },
1261   - {
1262   - "configValue": "6-2",
1263   - "configMapValue": "CI061"
1264   - },
1265   - {
1266   - "configValue": "7-2",
1267   - "configMapValue": "CI061"
1268   - },
1269   - {
1270   - "configValue": "8-2",
1271   - "configMapValue": "CI061"
1272   - },
1273   - {
1274   - "configValue": "9-2",
1275   - "configMapValue": "CI061"
1276   - },
1277   - {
1278   - "configValue": "10-2",
1279   - "configMapValue": "CI061"
1280   - },
1281   - {
1282   - "configValue": "11-2",
1283   - "configMapValue": "CI061"
1284   - },
1285   - {
1286   - "configValue": "12-2",
1287   - "configMapValue": "CI061"
1288   - },
1289   - {
1290   - "configValue": "20-2",
1291   - "configMapValue": "CI061"
1292   - },
1293   - {
1294   - "configValue": "1-3",
1295   - "configMapValue": "CI180"
1296   - },
1297   - {
1298   - "configValue": "2-3",
1299   - "configMapValue": "CI180"
1300   - },
1301   - {
1302   - "configValue": "3-3",
1303   - "configMapValue": "CI180"
1304   - },
1305   - {
1306   - "configValue": "4-3",
1307   - "configMapValue": "CI180"
1308   - },
1309   - {
1310   - "configValue": "5-3",
1311   - "configMapValue": "CI180"
1312   - },
1313   - {
1314   - "configValue": "6-3",
1315   - "configMapValue": "CI180"
1316   - },
1317   - {
1318   - "configValue": "7-3",
1319   - "configMapValue": "CI180"
1320   - },
1321   - {
1322   - "configValue": "8-3",
1323   - "configMapValue": "CI180"
1324   - },
1325   - {
1326   - "configValue": "9-3",
1327   - "configMapValue": "CI180"
1328   - },
1329   - {
1330   - "configValue": "10-3",
1331   - "configMapValue": "CI180"
1332   - },
1333   - {
1334   - "configValue": "11-3",
1335   - "configMapValue": "CI180"
1336   - },
1337   - {
1338   - "configValue": "12-3",
1339   - "configMapValue": "CI180"
1340   - },
1341   - {
1342   - "configValue": "20-3",
1343   - "configMapValue": "CI180"
1344   - },
1345   - {
1346   - "configValue": "1-4",
1347   - "configMapValue": "CI180"
1348   - },
1349   - {
1350   - "configValue": "2-4",
1351   - "configMapValue": "CI180"
1352   - },
1353   - {
1354   - "configValue": "3-4",
1355   - "configMapValue": "CI180"
1356   - },
1357   - {
1358   - "configValue": "4-4",
1359   - "configMapValue": "CI180"
1360   - },
1361   - {
1362   - "configValue": "5-4",
1363   - "configMapValue": "CI180"
1364   - },
1365   - {
1366   - "configValue": "6-4",
1367   - "configMapValue": "CI180"
1368   - },
1369   - {
1370   - "configValue": "7-4",
1371   - "configMapValue": "CI180"
1372   - },
1373   - {
1374   - "configValue": "8-4",
1375   - "configMapValue": "CI180"
1376   - },
1377   - {
1378   - "configValue": "9-4",
1379   - "configMapValue": "CI180"
1380   - },
1381   - {
1382   - "configValue": "10-4",
1383   - "configMapValue": "CI180"
1384   - },
1385   - {
1386   - "configValue": "11-4",
1387   - "configMapValue": "CI180"
1388   - },
1389   - {
1390   - "configValue": "12-4",
1391   - "configMapValue": "CI180"
1392   - },
1393   - {
1394   - "configValue": "20-4",
1395   - "configMapValue": "CI180"
1396   - },
1397   - {
1398   - "configValue": "1-5",
1399   - "configMapValue": "CI186"
1400   - },
1401   - {
1402   - "configValue": "2-5",
1403   - "configMapValue": "CI186"
1404   - },
1405   - {
1406   - "configValue": "3-5",
1407   - "configMapValue": "CI186"
1408   - },
1409   - {
1410   - "configValue": "4-5",
1411   - "configMapValue": "CI186"
1412   - },
1413   - {
1414   - "configValue": "5-5",
1415   - "configMapValue": "CI186"
1416   - },
1417   - {
1418   - "configValue": "6-5",
1419   - "configMapValue": "CI186"
1420   - },
1421   - {
1422   - "configValue": "7-5",
1423   - "configMapValue": "CI186"
1424   - },
1425   - {
1426   - "configValue": "8-5",
1427   - "configMapValue": "CI186"
1428   - },
1429   - {
1430   - "configValue": "9-5",
1431   - "configMapValue": "CI186"
1432   - },
1433   - {
1434   - "configValue": "10-5",
1435   - "configMapValue": "CI186"
1436   - },
1437   - {
1438   - "configValue": "11-5",
1439   - "configMapValue": "CI186"
1440   - },
1441   - {
1442   - "configValue": "12-5",
1443   - "configMapValue": "CI186"
1444   - },
1445   - {
1446   - "configValue": "20-5",
1447   - "configMapValue": "CI186"
1448   - }
1449   - ]
  787 + {
  788 + "configValue": "1-1",
  789 + "configMapValue": "CI061"
  790 + },
  791 + {
  792 + "configValue": "2-1",
  793 + "configMapValue": "CI061"
  794 + },
  795 + {
  796 + "configValue": "3-1",
  797 + "configMapValue": "CI061"
  798 + },
  799 + {
  800 + "configValue": "4-1",
  801 + "configMapValue": "CI061"
  802 + },
  803 + {
  804 + "configValue": "5-1",
  805 + "configMapValue": "CI061"
  806 + },
  807 + {
  808 + "configValue": "6-1",
  809 + "configMapValue": "CI061"
  810 + },
  811 + {
  812 + "configValue": "7-1",
  813 + "configMapValue": "CI061"
  814 + },
  815 + {
  816 + "configValue": "8-1",
  817 + "configMapValue": "CI061"
  818 + },
  819 + {
  820 + "configValue": "9-1",
  821 + "configMapValue": "CI061"
  822 + },
  823 + {
  824 + "configValue": "10-1",
  825 + "configMapValue": "CI061"
  826 + },
  827 + {
  828 + "configValue": "11-1",
  829 + "configMapValue": "CI061"
  830 + },
  831 + {
  832 + "configValue": "12-1",
  833 + "configMapValue": "CI061"
  834 + },
  835 + {
  836 + "configValue": "20-1",
  837 + "configMapValue": "CI061"
  838 + },
  839 + {
  840 + "configValue": "1-2",
  841 + "configMapValue": "CI061"
  842 + },
  843 + {
  844 + "configValue": "2-2",
  845 + "configMapValue": "CI061"
  846 + },
  847 + {
  848 + "configValue": "3-2",
  849 + "configMapValue": "CI061"
  850 + },
  851 + {
  852 + "configValue": "4-2",
  853 + "configMapValue": "CI061"
  854 + },
  855 + {
  856 + "configValue": "5-2",
  857 + "configMapValue": "CI061"
  858 + },
  859 + {
  860 + "configValue": "6-2",
  861 + "configMapValue": "CI061"
  862 + },
  863 + {
  864 + "configValue": "7-2",
  865 + "configMapValue": "CI061"
  866 + },
  867 + {
  868 + "configValue": "8-2",
  869 + "configMapValue": "CI061"
  870 + },
  871 + {
  872 + "configValue": "9-2",
  873 + "configMapValue": "CI061"
  874 + },
  875 + {
  876 + "configValue": "10-2",
  877 + "configMapValue": "CI061"
  878 + },
  879 + {
  880 + "configValue": "11-2",
  881 + "configMapValue": "CI061"
  882 + },
  883 + {
  884 + "configValue": "12-2",
  885 + "configMapValue": "CI061"
  886 + },
  887 + {
  888 + "configValue": "20-2",
  889 + "configMapValue": "CI061"
  890 + },
  891 + {
  892 + "configValue": "1-3",
  893 + "configMapValue": "CI180"
  894 + },
  895 + {
  896 + "configValue": "2-3",
  897 + "configMapValue": "CI180"
  898 + },
  899 + {
  900 + "configValue": "3-3",
  901 + "configMapValue": "CI180"
  902 + },
  903 + {
  904 + "configValue": "4-3",
  905 + "configMapValue": "CI180"
  906 + },
  907 + {
  908 + "configValue": "5-3",
  909 + "configMapValue": "CI180"
  910 + },
  911 + {
  912 + "configValue": "6-3",
  913 + "configMapValue": "CI180"
  914 + },
  915 + {
  916 + "configValue": "7-3",
  917 + "configMapValue": "CI180"
  918 + },
  919 + {
  920 + "configValue": "8-3",
  921 + "configMapValue": "CI180"
  922 + },
  923 + {
  924 + "configValue": "9-3",
  925 + "configMapValue": "CI180"
  926 + },
  927 + {
  928 + "configValue": "10-3",
  929 + "configMapValue": "CI180"
  930 + },
  931 + {
  932 + "configValue": "11-3",
  933 + "configMapValue": "CI180"
  934 + },
  935 + {
  936 + "configValue": "12-3",
  937 + "configMapValue": "CI180"
  938 + },
  939 + {
  940 + "configValue": "20-3",
  941 + "configMapValue": "CI180"
  942 + },
  943 + {
  944 + "configValue": "1-4",
  945 + "configMapValue": "CI180"
  946 + },
  947 + {
  948 + "configValue": "2-4",
  949 + "configMapValue": "CI180"
  950 + },
  951 + {
  952 + "configValue": "3-4",
  953 + "configMapValue": "CI180"
  954 + },
  955 + {
  956 + "configValue": "4-4",
  957 + "configMapValue": "CI180"
  958 + },
  959 + {
  960 + "configValue": "5-4",
  961 + "configMapValue": "CI180"
  962 + },
  963 + {
  964 + "configValue": "6-4",
  965 + "configMapValue": "CI180"
  966 + },
  967 + {
  968 + "configValue": "7-4",
  969 + "configMapValue": "CI180"
  970 + },
  971 + {
  972 + "configValue": "8-4",
  973 + "configMapValue": "CI180"
  974 + },
  975 + {
  976 + "configValue": "9-4",
  977 + "configMapValue": "CI180"
  978 + },
  979 + {
  980 + "configValue": "10-4",
  981 + "configMapValue": "CI180"
  982 + },
  983 + {
  984 + "configValue": "11-4",
  985 + "configMapValue": "CI180"
  986 + },
  987 + {
  988 + "configValue": "12-4",
  989 + "configMapValue": "CI180"
  990 + },
  991 + {
  992 + "configValue": "20-4",
  993 + "configMapValue": "CI180"
  994 + },
  995 + {
  996 + "configValue": "1-5",
  997 + "configMapValue": "CI181"
  998 + },
  999 + {
  1000 + "configValue": "2-5",
  1001 + "configMapValue": "CI181"
  1002 + },
  1003 + {
  1004 + "configValue": "3-5",
  1005 + "configMapValue": "CI181"
  1006 + },
  1007 + {
  1008 + "configValue": "4-5",
  1009 + "configMapValue": "CI181"
  1010 + },
  1011 + {
  1012 + "configValue": "5-5",
  1013 + "configMapValue": "CI181"
  1014 + },
  1015 + {
  1016 + "configValue": "6-5",
  1017 + "configMapValue": "CI181"
  1018 + },
  1019 + {
  1020 + "configValue": "7-5",
  1021 + "configMapValue": "CI181"
  1022 + },
  1023 + {
  1024 + "configValue": "8-5",
  1025 + "configMapValue": "CI181"
  1026 + },
  1027 + {
  1028 + "configValue": "9-5",
  1029 + "configMapValue": "CI181"
  1030 + },
  1031 + {
  1032 + "configValue": "10-5",
  1033 + "configMapValue": "CI181"
  1034 + },
  1035 + {
  1036 + "configValue": "11-5",
  1037 + "configMapValue": "CI181"
  1038 + },
  1039 + {
  1040 + "configValue": "12-5",
  1041 + "configMapValue": "CI181"
  1042 + },
  1043 + {
  1044 + "configValue": "20-5",
  1045 + "configMapValue": "CI181"
  1046 + },
  1047 + {
  1048 + "configValue": "1-6",
  1049 + "configMapValue": "CI181"
  1050 + },
  1051 + {
  1052 + "configValue": "2-6",
  1053 + "configMapValue": "CI181"
  1054 + },
  1055 + {
  1056 + "configValue": "3-6",
  1057 + "configMapValue": "CI181"
  1058 + },
  1059 + {
  1060 + "configValue": "4-6",
  1061 + "configMapValue": "CI181"
  1062 + },
  1063 + {
  1064 + "configValue": "5-6",
  1065 + "configMapValue": "CI181"
  1066 + },
  1067 + {
  1068 + "configValue": "6-6",
  1069 + "configMapValue": "CI181"
  1070 + },
  1071 + {
  1072 + "configValue": "7-6",
  1073 + "configMapValue": "CI181"
  1074 + },
  1075 + {
  1076 + "configValue": "8-6",
  1077 + "configMapValue": "CI181"
  1078 + },
  1079 + {
  1080 + "configValue": "9-6",
  1081 + "configMapValue": "CI181"
  1082 + },
  1083 + {
  1084 + "configValue": "10-6",
  1085 + "configMapValue": "CI181"
  1086 + },
  1087 + {
  1088 + "configValue": "11-6",
  1089 + "configMapValue": "CI181"
  1090 + },
  1091 + {
  1092 + "configValue": "12-6",
  1093 + "configMapValue": "CI181"
  1094 + },
  1095 + {
  1096 + "configValue": "20-6",
  1097 + "configMapValue": "CI181"
  1098 + },
  1099 + {
  1100 + "configValue": "1-7",
  1101 + "configMapValue": "CI181"
  1102 + },
  1103 + {
  1104 + "configValue": "2-7",
  1105 + "configMapValue": "CI181"
  1106 + },
  1107 + {
  1108 + "configValue": "3-7",
  1109 + "configMapValue": "CI181"
  1110 + },
  1111 + {
  1112 + "configValue": "4-7",
  1113 + "configMapValue": "CI181"
  1114 + },
  1115 + {
  1116 + "configValue": "5-7",
  1117 + "configMapValue": "CI181"
  1118 + },
  1119 + {
  1120 + "configValue": "6-7",
  1121 + "configMapValue": "CI181"
  1122 + },
  1123 + {
  1124 + "configValue": "7-7",
  1125 + "configMapValue": "CI181"
  1126 + },
  1127 + {
  1128 + "configValue": "8-7",
  1129 + "configMapValue": "CI181"
  1130 + },
  1131 + {
  1132 + "configValue": "9-7",
  1133 + "configMapValue": "CI181"
  1134 + },
  1135 + {
  1136 + "configValue": "10-7",
  1137 + "configMapValue": "CI181"
  1138 + },
  1139 + {
  1140 + "configValue": "11-7",
  1141 + "configMapValue": "CI181"
  1142 + },
  1143 + {
  1144 + "configValue": "12-7",
  1145 + "configMapValue": "CI181"
  1146 + },
  1147 + {
  1148 + "configValue": "20-7",
  1149 + "configMapValue": "CI181"
  1150 + },
  1151 + {
  1152 + "configValue": "1-8",
  1153 + "configMapValue": "CI181"
  1154 + },
  1155 + {
  1156 + "configValue": "2-8",
  1157 + "configMapValue": "CI181"
  1158 + },
  1159 + {
  1160 + "configValue": "3-8",
  1161 + "configMapValue": "CI181"
  1162 + },
  1163 + {
  1164 + "configValue": "4-8",
  1165 + "configMapValue": "CI181"
  1166 + },
  1167 + {
  1168 + "configValue": "5-8",
  1169 + "configMapValue": "CI181"
  1170 + },
  1171 + {
  1172 + "configValue": "6-8",
  1173 + "configMapValue": "CI181"
  1174 + },
  1175 + {
  1176 + "configValue": "7-8",
  1177 + "configMapValue": "CI181"
  1178 + },
  1179 + {
  1180 + "configValue": "8-8",
  1181 + "configMapValue": "CI181"
  1182 + },
  1183 + {
  1184 + "configValue": "9-8",
  1185 + "configMapValue": "CI181"
  1186 + },
  1187 + {
  1188 + "configValue": "10-8",
  1189 + "configMapValue": "CI181"
  1190 + },
  1191 + {
  1192 + "configValue": "11-8",
  1193 + "configMapValue": "CI181"
  1194 + },
  1195 + {
  1196 + "configValue": "12-8",
  1197 + "configMapValue": "CI181"
  1198 + },
  1199 + {
  1200 + "configValue": "20-8",
  1201 + "configMapValue": "CI181"
  1202 + },
  1203 + {
  1204 + "configValue": "1-9",
  1205 + "configMapValue": "CI186"
  1206 + },
  1207 + {
  1208 + "configValue": "2-9",
  1209 + "configMapValue": "CI186"
  1210 + },
  1211 + {
  1212 + "configValue": "3-9",
  1213 + "configMapValue": "CI186"
  1214 + },
  1215 + {
  1216 + "configValue": "4-9",
  1217 + "configMapValue": "CI186"
  1218 + },
  1219 + {
  1220 + "configValue": "5-9",
  1221 + "configMapValue": "CI186"
  1222 + },
  1223 + {
  1224 + "configValue": "6-9",
  1225 + "configMapValue": "CI186"
  1226 + },
  1227 + {
  1228 + "configValue": "7-9",
  1229 + "configMapValue": "CI186"
  1230 + },
  1231 + {
  1232 + "configValue": "8-9",
  1233 + "configMapValue": "CI186"
  1234 + },
  1235 + {
  1236 + "configValue": "9-9",
  1237 + "configMapValue": "CI186"
  1238 + },
  1239 + {
  1240 + "configValue": "10-9",
  1241 + "configMapValue": "CI186"
  1242 + },
  1243 + {
  1244 + "configValue": "11-9",
  1245 + "configMapValue": "CI186"
  1246 + },
  1247 + {
  1248 + "configValue": "12-9",
  1249 + "configMapValue": "CI186"
  1250 + },
  1251 + {
  1252 + "configValue": "20-9",
  1253 + "configMapValue": "CI186"
  1254 + }
  1255 +]
1450 1256 }
1451 1257 ```
1452 1258  
... ... @@ -1587,7 +1393,7 @@ PLAT_WITHDRAW(7, "平台提现")
1587 1393 }
1588 1394 ```
1589 1395  
1590   -## 3.收款单配置JSON
  1396 +## 3.收款单配置 JSON
1591 1397  
1592 1398 ### 3.1 currency 币别
1593 1399  
... ... @@ -1718,111 +1524,163 @@ PLAT_WITHDRAW(7, "平台提现")
1718 1524 "configKey": "chargeItem",
1719 1525 "settingFieldType": 1,
1720 1526 "dynamicValues": [
1721   - {
1722   - "configValue": "1-1",
1723   - "configMapValue": "CI185"
1724   - },
1725   - {
1726   - "configValue": "2-1",
1727   - "configMapValue": "CI185"
1728   - },
1729   - {
1730   - "configValue": "3-1",
1731   - "configMapValue": "CI185"
1732   - },
1733   - {
1734   - "configValue": "4-1",
1735   - "configMapValue": "CI185"
1736   - },
1737   - {
1738   - "configValue": "5-1",
1739   - "configMapValue": "CI185"
1740   - },
1741   - {
1742   - "configValue": "6-1",
1743   - "configMapValue": "CI185"
1744   - },
1745   - {
1746   - "configValue": "7-1",
1747   - "configMapValue": "CI185"
1748   - },
1749   - {
1750   - "configValue": "8-1",
1751   - "configMapValue": "CI185"
1752   - },
1753   - {
1754   - "configValue": "9-1",
1755   - "configMapValue": "CI185"
1756   - },
1757   - {
1758   - "configValue": "10-1",
1759   - "configMapValue": "CI185"
1760   - },
1761   - {
1762   - "configValue": "11-1",
1763   - "configMapValue": "CI185"
1764   - },
1765   - {
1766   - "configValue": "12-1",
1767   - "configMapValue": "CI185"
1768   - },
1769   - {
1770   - "configValue": "20-1",
1771   - "configMapValue": "CI185"
1772   - },
1773   - {
1774   - "configValue": "1-6",
1775   - "configMapValue": "CI185"
1776   - },
1777   - {
1778   - "configValue": "2-6",
1779   - "configMapValue": "CI185"
1780   - },
1781   - {
1782   - "configValue": "3-6",
1783   - "configMapValue": "CI185"
1784   - },
1785   - {
1786   - "configValue": "4-6",
1787   - "configMapValue": "CI185"
1788   - },
1789   - {
1790   - "configValue": "5-6",
1791   - "configMapValue": "CI185"
1792   - },
1793   - {
1794   - "configValue": "6-6",
1795   - "configMapValue": "CI185"
1796   - },
1797   - {
1798   - "configValue": "7-6",
1799   - "configMapValue": "CI185"
1800   - },
1801   - {
1802   - "configValue": "8-6",
1803   - "configMapValue": "CI185"
1804   - },
1805   - {
1806   - "configValue": "9-6",
1807   - "configMapValue": "CI185"
1808   - },
1809   - {
1810   - "configValue": "10-6",
1811   - "configMapValue": "CI185"
1812   - },
1813   - {
1814   - "configValue": "11-6",
1815   - "configMapValue": "CI185"
1816   - },
1817   - {
1818   - "configValue": "12-6",
1819   - "configMapValue": "CI185"
1820   - },
1821   - {
1822   - "configValue": "20-6",
1823   - "configMapValue": "CI185"
1824   - }
1825   - ]
  1527 + {
  1528 + "configValue": "1-10",
  1529 + "configMapValue": "CI185"
  1530 + },
  1531 + {
  1532 + "configValue": "2-10",
  1533 + "configMapValue": "CI185"
  1534 + },
  1535 + {
  1536 + "configValue": "3-10",
  1537 + "configMapValue": "CI185"
  1538 + },
  1539 + {
  1540 + "configValue": "4-10",
  1541 + "configMapValue": "CI185"
  1542 + },
  1543 + {
  1544 + "configValue": "5-10",
  1545 + "configMapValue": "CI185"
  1546 + },
  1547 + {
  1548 + "configValue": "6-10",
  1549 + "configMapValue": "CI185"
  1550 + },
  1551 + {
  1552 + "configValue": "7-10",
  1553 + "configMapValue": "CI185"
  1554 + },
  1555 + {
  1556 + "configValue": "8-10",
  1557 + "configMapValue": "CI185"
  1558 + },
  1559 + {
  1560 + "configValue": "9-10",
  1561 + "configMapValue": "CI185"
  1562 + },
  1563 + {
  1564 + "configValue": "10-10",
  1565 + "configMapValue": "CI185"
  1566 + },
  1567 + {
  1568 + "configValue": "11-10",
  1569 + "configMapValue": "CI185"
  1570 + },
  1571 + {
  1572 + "configValue": "12-10",
  1573 + "configMapValue": "CI185"
  1574 + },
  1575 + {
  1576 + "configValue": "20-10",
  1577 + "configMapValue": "CI185"
  1578 + },
  1579 + {
  1580 + "configValue": "1-1",
  1581 + "configMapValue": "CI185"
  1582 + },
  1583 + {
  1584 + "configValue": "2-1",
  1585 + "configMapValue": "CI185"
  1586 + },
  1587 + {
  1588 + "configValue": "3-1",
  1589 + "configMapValue": "CI185"
  1590 + },
  1591 + {
  1592 + "configValue": "4-1",
  1593 + "configMapValue": "CI185"
  1594 + },
  1595 + {
  1596 + "configValue": "5-1",
  1597 + "configMapValue": "CI185"
  1598 + },
  1599 + {
  1600 + "configValue": "6-1",
  1601 + "configMapValue": "CI185"
  1602 + },
  1603 + {
  1604 + "configValue": "7-1",
  1605 + "configMapValue": "CI185"
  1606 + },
  1607 + {
  1608 + "configValue": "8-1",
  1609 + "configMapValue": "CI185"
  1610 + },
  1611 + {
  1612 + "configValue": "9-1",
  1613 + "configMapValue": "CI185"
  1614 + },
  1615 + {
  1616 + "configValue": "10-1",
  1617 + "configMapValue": "CI185"
  1618 + },
  1619 + {
  1620 + "configValue": "11-1",
  1621 + "configMapValue": "CI185"
  1622 + },
  1623 + {
  1624 + "configValue": "12-1",
  1625 + "configMapValue": "CI185"
  1626 + },
  1627 + {
  1628 + "configValue": "20-1",
  1629 + "configMapValue": "CI185"
  1630 + },
  1631 + {
  1632 + "configValue": "1-9",
  1633 + "configMapValue": "CI185"
  1634 + },
  1635 + {
  1636 + "configValue": "2-9",
  1637 + "configMapValue": "CI185"
  1638 + },
  1639 + {
  1640 + "configValue": "3-9",
  1641 + "configMapValue": "CI185"
  1642 + },
  1643 + {
  1644 + "configValue": "4-9",
  1645 + "configMapValue": "CI185"
  1646 + },
  1647 + {
  1648 + "configValue": "5-9",
  1649 + "configMapValue": "CI185"
  1650 + },
  1651 + {
  1652 + "configValue": "6-9",
  1653 + "configMapValue": "CI185"
  1654 + },
  1655 + {
  1656 + "configValue": "7-9",
  1657 + "configMapValue": "CI185"
  1658 + },
  1659 + {
  1660 + "configValue": "8-9",
  1661 + "configMapValue": "CI185"
  1662 + },
  1663 + {
  1664 + "configValue": "9-9",
  1665 + "configMapValue": "CI185"
  1666 + },
  1667 + {
  1668 + "configValue": "10-9",
  1669 + "configMapValue": "CI185"
  1670 + },
  1671 + {
  1672 + "configValue": "11-9",
  1673 + "configMapValue": "CI185"
  1674 + },
  1675 + {
  1676 + "configValue": "12-9",
  1677 + "configMapValue": "CI185"
  1678 + },
  1679 + {
  1680 + "configValue": "20-9",
  1681 + "configMapValue": "CI185"
  1682 + }
  1683 +]
1826 1684 }
1827 1685 ```
1828 1686  
... ... @@ -1862,7 +1720,7 @@ PLAT_WITHDRAW(7, "平台提现")
1862 1720 }
1863 1721 ```
1864 1722  
1865   -## 4.收款退款单配置JSON
  1723 +## 4.收款退款单配置 JSON
1866 1724  
1867 1725 ### 4.1 currency 币别
1868 1726  
... ... @@ -2058,7 +1916,7 @@ PLAT_WITHDRAW(7, "平台提现")
2058 1916 "configMapValue": "CI185"
2059 1917 },
2060 1918 {
2061   - "configValue": "*-7",
  1919 + "configValue": "*-11",
2062 1920 "configMapValue": "CI185"
2063 1921 }
2064 1922 ]
... ... @@ -2091,7 +1949,7 @@ PLAT_WITHDRAW(7, "平台提现")
2091 1949  
2092 1950 ## 5.客户
2093 1951  
2094   -### 5.1 currency币别
  1952 +### 5.1 currency 币别
2095 1953  
2096 1954 ```json
2097 1955 {
... ...
tax-storage/src/main/java/com/diligrp/tax/storage/model/co/PipelineDocFieldTypeCO.java
... ... @@ -50,10 +50,10 @@ public class PipelineDocFieldTypeCO {
50 50 /**
51 51 * 动态值
52 52 */
53   - private List<DynamicValueDO> dynamicValueDOS;
  53 + private List<DynamicValueDO> dynamicValues;
54 54  
55 55 /**
56 56 * 远程参数
57 57 */
58   - private PipelineDocFieldTypeRemoteParamDO pipelineDocFieldTypeRemoteParamDO;
  58 + private PipelineDocFieldTypeRemoteParamDO remoteParam;
59 59 }
... ...
tax-storage/src/main/java/com/diligrp/tax/storage/service/PipelineDocFieldTypeService.java
... ... @@ -134,16 +134,16 @@ public class PipelineDocFieldTypeService {
134 134 public void saveRemoteConfig(PipelineDocFieldTypeCO co, com.diligrp.tax.storage.domain.PipelineDocFieldType newType) {
135 135 PipelineDocFieldTypeRemote config = new PipelineDocFieldTypeRemote();
136 136 config.setPipelineFieldTypeId(newType.getId());
137   - config.setRemoteAddress(co.getPipelineDocFieldTypeRemoteParamDO().getRemoteAddress());
138   - config.setField(co.getPipelineDocFieldTypeRemoteParamDO().getField());
139   - config.setDataPath(co.getPipelineDocFieldTypeRemoteParamDO().getDataPath());
140   - config.setFixedParams(co.getPipelineDocFieldTypeRemoteParamDO().getFixedParams());
  137 + config.setRemoteAddress(co.getRemoteParam().getRemoteAddress());
  138 + config.setField(co.getRemoteParam().getField());
  139 + config.setDataPath(co.getRemoteParam().getDataPath());
  140 + config.setFixedParams(co.getRemoteParam().getFixedParams());
141 141 pipelineDocFieldTypeRemoteRepository.insert(config);
142 142 }
143 143  
144 144 @Transactional
145 145 public void saveDynamicConfig(PipelineDocFieldTypeCO co, com.diligrp.tax.storage.domain.PipelineDocFieldType newType) {
146   - co.getDynamicValueDOS().forEach(dynamicValueDO -> {
  146 + co.getDynamicValues().forEach(dynamicValueDO -> {
147 147 PipelineDocFieldTypeDynamic dynamicConfig = new PipelineDocFieldTypeDynamic();
148 148 dynamicConfig.setPipelineFieldTypeId(newType.getId());
149 149 dynamicConfig.setConfigValue(dynamicValueDO.getConfigValue());
... ...