Selaa lähdekoodia

最长融信期限

sqg 4 vuotta sitten
vanhempi
commit
b22d326db5

+ 1 - 1
sc-service/src/main/java/com/huyi/service/credit/controller/OwnCreditController.java

@@ -433,7 +433,7 @@ public class OwnCreditController extends BaseController {
                 long effectiveDate = cal.getTimeInMillis();
                 cal.setTime(zfrRepaymentDate);
                 long repaymentDate = cal.getTimeInMillis();
-                long betweenDays = (effectiveDate - repaymentDate) / (1000 * 3600 * 24);
+                int betweenDays = (int)(effectiveDate - repaymentDate) / (1000 * 3600 * 24);
                 intervalTime = String.valueOf(betweenDays);
             }
             //最短账期