Skip to content

Commit d395f40

Browse files
2024-4-22-出参补充
1 parent a3e8028 commit d395f40

5 files changed

+42
-9
lines changed

personalincomeUtil_y/README.md

+41-8
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,24 @@ String totalPayment;//总计
5656
String loanAmount;//剩余贷款
5757

5858
返回参数示例:
59-
[CalculateReturnStructure
60-
{month=1, principal='4166.67', interest='5562.5', totalPayment='9729.17', loanAmount='1495833.33'},
61-
CalculateReturnStructure{month=2, principal='4166.67', interest='5547.05', totalPayment='9713.72', loanAmount='1491666.67'},
62-
CalculateReturnStructure{month=3, principal='4166.67', interest='5531.6', totalPayment='9698.26', loanAmount='1487500'},
63-
CalculateReturnStructure{month=4, principal='4166.67', interest='5516.15', totalPayment='9682.81', loanAmount='1483333.33'}
64-
......]
59+
"CalculateAndSumReturnStructure":
60+
{
61+
"sumInterest": "1220081.31",
62+
"listCalculateReturnStructure":
63+
[{
64+
"month": 1,
65+
"principal": "1993.28",
66+
"interest": "5562.5",
67+
"totalPayment": "7555.78",
68+
"loanAmount": "1498006.72"
69+
},
70+
{
71+
"month": 2,
72+
"principal": "2000.67",
73+
"interest": "5555.11",
74+
"totalPayment": "7555.78",
75+
"loanAmount": "1496006.05"
76+
},......]}
6577

6678
### 逻辑三
6779
* 房贷等额本金
@@ -76,6 +88,7 @@ calculateEqualPrincipal
7688
*/
7789

7890

91+
7992
输出参数:
8093
CalculateAndSumReturnStructure
8194
包含
@@ -90,6 +103,26 @@ String interest;//利息
90103
String totalPayment;//总计
91104
String loanAmount;//剩余贷款
92105

106+
107+
返回参数示例:
108+
"CalculateAndSumReturnStructure":
109+
{
110+
"sumInterest": "1220081.31",
111+
"listCalculateReturnStructure":
112+
[{
113+
"month": 1,
114+
"principal": "1993.28",
115+
"interest": "5562.5",
116+
"totalPayment": "7555.78",
117+
"loanAmount": "1498006.72"
118+
},
119+
{
120+
"month": 2,
121+
"principal": "2000.67",
122+
"interest": "5555.11",
123+
"totalPayment": "7555.78",
124+
"loanAmount": "1496006.05"
125+
},......]}
93126
## 使用步骤说明
94127

95128
1. 应用引用依赖库
@@ -100,7 +133,7 @@ String loanAmount;//剩余贷款
100133
3. ![2.png](2.png)
101134
## 应用演示链接
102135
jar包为:
103-
[library-personalincomeUtil_y-1.0.5.zip](library-personalincomeUtil_y-1.0.5.zip)
136+
[library-personalincomeUtil_y-1.0.6.zip](library-personalincomeUtil_y-1.0.6.zip)
104137
使用了本依赖库的应用的链接。
105-
https://dev-test123-suber.app.codewave.163.com/dashboard/test1
138+
https://test123-suber.app.codewave.163.com/dashboard/test1
106139

Binary file not shown.
Binary file not shown.

personalincomeUtil_y/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.netease.lib.personalincomeUtil</groupId>
66
<artifactId>personalincomeUtil_y</artifactId>
7-
<version>1.0.5</version>
7+
<version>1.0.6</version>
88

99
<properties>
1010
<maven.compiler.source>8</maven.compiler.source>
Binary file not shown.

0 commit comments

Comments
 (0)