|
|
@@ -588,11 +588,11 @@ public class UserLogic {
|
|
|
CommonUtils.initList2(row, 10);
|
|
|
String mobile = (String) row.get(0);
|
|
|
// 授权额度
|
|
|
- String creditLimit = (String) row.get(0);
|
|
|
+ String creditLimit = (String) row.get(1);
|
|
|
// 账单日(1-28),如果是29表示月末
|
|
|
- String billingDay = (String) row.get(0);
|
|
|
+ String billingDay = (String) row.get(2);
|
|
|
// 账期天数(1-30天)
|
|
|
- String paymentGracePeriod = (String) row.get(0);
|
|
|
+ String paymentGracePeriod = (String) row.get(3);
|
|
|
|
|
|
if (StringUtils.isAnyBlank(mobile, creditLimit, billingDay, paymentGracePeriod)) {
|
|
|
throw new RemoteServiceException(errPrefix + "橙色区域为必填项");
|
|
|
@@ -626,7 +626,7 @@ public class UserLogic {
|
|
|
try {
|
|
|
billingDayInt = new Integer(billingDay);
|
|
|
if (billingDayInt < 1 || billingDayInt > 29) {
|
|
|
- throw new RuntimeException();
|
|
|
+ throw new RemoteServiceException(errPrefix + " 请填写正确的账单日(1-29)");
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
throw new RemoteServiceException(errPrefix + " 请填写正确的账单日(1-29)");
|