Commit a7d0e78cd55fce5057edc35e630502f22280d4c9
1 parent
59b8a1e2
fixbug
Showing
3 changed files
with
18 additions
and
0 deletions
src/main/java/com/order/erp/common/utils/OrderFieldUtils.java
... | ... | @@ -83,12 +83,15 @@ public class OrderFieldUtils { |
83 | 83 | return OrderProfitAnalysisFieldVO.builder() |
84 | 84 | .customerPrice(locked) |
85 | 85 | .customerTotalPrice(locked) |
86 | + .customerCurrency(locked) | |
86 | 87 | .exchangeRate(locked) |
87 | 88 | .orderStatus(locked) |
88 | 89 | .packetPrice(locked) |
89 | 90 | .packetTotalPrice(locked) |
91 | + .packetCurrency(locked) | |
90 | 92 | .productionDepartmentPrice(locked) |
91 | 93 | .productionDepartmentTotalPrice(locked) |
94 | + .productionDepartmentCurrency(locked) | |
92 | 95 | .profitRate(locked) |
93 | 96 | .build(); |
94 | 97 | } | ... | ... |
src/main/java/com/order/erp/domain/vo/order/OrderProfitAnalysisFieldVO.java
... | ... | @@ -31,6 +31,10 @@ public class OrderProfitAnalysisFieldVO implements Serializable { |
31 | 31 | */ |
32 | 32 | private String customerTotalPrice; |
33 | 33 | /** |
34 | + * 客户价格货币 | |
35 | + */ | |
36 | + private String customerCurrency; | |
37 | + /** | |
34 | 38 | * 生成科单价¥ |
35 | 39 | */ |
36 | 40 | private String productionDepartmentPrice; |
... | ... | @@ -39,6 +43,10 @@ public class OrderProfitAnalysisFieldVO implements Serializable { |
39 | 43 | */ |
40 | 44 | private String productionDepartmentTotalPrice; |
41 | 45 | /** |
46 | + * 生成科货币 | |
47 | + */ | |
48 | + private String productionDepartmentCurrency; | |
49 | + /** | |
42 | 50 | * 包装费用¥ |
43 | 51 | */ |
44 | 52 | private String packetPrice; |
... | ... | @@ -47,6 +55,10 @@ public class OrderProfitAnalysisFieldVO implements Serializable { |
47 | 55 | */ |
48 | 56 | private String packetTotalPrice; |
49 | 57 | /** |
58 | + * 包装费货币 | |
59 | + */ | |
60 | + private String packetCurrency; | |
61 | + /** | |
50 | 62 | * 汇率 |
51 | 63 | */ |
52 | 64 | private String exchangeRate; | ... | ... |
src/main/java/com/order/erp/service/order/impl/OrderBaseInfoServiceImpl.java
... | ... | @@ -349,10 +349,13 @@ public class OrderBaseInfoServiceImpl extends ServiceImpl<OrderBaseInfoMapper, O |
349 | 349 | .orderId(profitAnalysisVO.getOrderId()) |
350 | 350 | .customerPrice(Objects.nonNull(profitAnalysisVO.getCustomerPrice()) ? profitAnalysisVO.getCustomerPrice().toString() : null) |
351 | 351 | .customerTotalPrice(Objects.nonNull(profitAnalysisVO.getCustomerTotalPrice()) ? profitAnalysisVO.getCustomerTotalPrice().toString() : null) |
352 | + .customerCurrency(profitAnalysisVO.getCustomerCurrency()) | |
352 | 353 | .packetPrice(Objects.nonNull(profitAnalysisVO.getPacketPrice()) ? profitAnalysisVO.getPacketPrice().toString() : null) |
353 | 354 | .packetTotalPrice(Objects.nonNull(profitAnalysisVO.getPacketTotalPrice()) ? profitAnalysisVO.getPacketTotalPrice().toString() : null) |
355 | + .packetCurrency(profitAnalysisVO.getPacketCurrency()) | |
354 | 356 | .productionDepartmentPrice(Objects.nonNull(profitAnalysisVO.getProductionDepartmentPrice()) ? profitAnalysisVO.getProductionDepartmentPrice().toString() : null) |
355 | 357 | .productionDepartmentTotalPrice(Objects.nonNull(profitAnalysisVO.getProductionDepartmentTotalPrice()) ? profitAnalysisVO.getProductionDepartmentTotalPrice().toString() : null) |
358 | + .productionDepartmentCurrency(profitAnalysisVO.getProductionDepartmentCurrency()) | |
356 | 359 | .exchangeRate(Objects.nonNull(profitAnalysisVO.getExchangeRate()) ? profitAnalysisVO.getExchangeRate().toString() : null) |
357 | 360 | .profitRate(Objects.nonNull(profitRate) ? profitRate.toString() : null).build(); |
358 | 361 | } | ... | ... |