@@ -56,12 +56,24 @@ String totalPayment;//总计
56
56
String loanAmount;//剩余贷款
57
57
58
58
返回参数示例:
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
+ },......] }
65
77
66
78
### 逻辑三
67
79
* 房贷等额本金
@@ -76,6 +88,7 @@ calculateEqualPrincipal
76
88
* /
77
89
78
90
91
+
79
92
输出参数:
80
93
CalculateAndSumReturnStructure
81
94
包含
@@ -90,6 +103,26 @@ String interest;//利息
90
103
String totalPayment;//总计
91
104
String loanAmount;//剩余贷款
92
105
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
+ },......] }
93
126
## 使用步骤说明
94
127
95
128
1 . 应用引用依赖库
@@ -100,7 +133,7 @@ String loanAmount;//剩余贷款
100
133
3 . ![ 2.png] ( 2.png )
101
134
## 应用演示链接
102
135
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 )
104
137
使用了本依赖库的应用的链接。
105
- https://dev- test123-suber.app.codewave.163.com/dashboard/test1
138
+ https://test123-suber.app.codewave.163.com/dashboard/test1
106
139
0 commit comments