|
|
@ -6671,12 +6671,28 @@ public class LoanRepaymentScheduleService extends MybatisBaseService<LoanRepayme |
|
|
|
info.setMainAmount(field); |
|
|
|
} |
|
|
|
if (head.equals("销售部门编码")) { |
|
|
|
if (field.contains(".")) { |
|
|
|
String s = field.substring(field.indexOf(".") + 1); |
|
|
|
double v = Double.parseDouble(s); |
|
|
|
int intValue = (int) v; |
|
|
|
if (intValue == 0) { |
|
|
|
field = field.substring(0, field.indexOf(".")); |
|
|
|
} |
|
|
|
} |
|
|
|
info.setSalesDeptNo(field); |
|
|
|
} |
|
|
|
if (head.equals("销售部门")) { |
|
|
|
info.setSalesDept(field); |
|
|
|
} |
|
|
|
if (head.equals("分公司编码")) { |
|
|
|
if (field.contains(".")) { |
|
|
|
String s = field.substring(field.indexOf(".") + 1); |
|
|
|
double v = Double.parseDouble(s); |
|
|
|
int intValue = (int) v; |
|
|
|
if (intValue == 0) { |
|
|
|
field = field.substring(0, field.indexOf(".")); |
|
|
|
} |
|
|
|
} |
|
|
|
info.setUseOrgNo(field); |
|
|
|
} |
|
|
|
if (head.equals("分公司")) { |
|
|
|