|
@@ -110,6 +110,7 @@ public class FinancialExpenditureServiceImpl extends BaseServiceImpl<Long, Finan
|
|
|
}else {
|
|
|
objectMap.put("amount", row.get(s));
|
|
|
}
|
|
|
+ continue;
|
|
|
}
|
|
|
if (columnValue.equals("organName") && StringUtils.isNotEmpty(row.get(s).toString())) {
|
|
|
Integer integer = organMap.get(row.get(s));
|
|
@@ -119,6 +120,7 @@ public class FinancialExpenditureServiceImpl extends BaseServiceImpl<Long, Finan
|
|
|
}else {
|
|
|
objectMap.put("organId", integer);
|
|
|
}
|
|
|
+ continue;
|
|
|
}
|
|
|
if (columnValue.equals("cooperationOrganName") && StringUtils.isNotEmpty(row.get(s).toString())) {
|
|
|
Integer integer = cooperationOrganMap.get(row.get(s));
|
|
@@ -127,6 +129,7 @@ public class FinancialExpenditureServiceImpl extends BaseServiceImpl<Long, Finan
|
|
|
}else {
|
|
|
objectMap.put("cooperationOrganId", integer);
|
|
|
}
|
|
|
+ continue;
|
|
|
}
|
|
|
if (columnValue.equals("paymentTime") && StringUtils.isNotEmpty(row.get(s).toString())) {
|
|
|
String toString = row.get(s).toString();
|
|
@@ -134,8 +137,11 @@ public class FinancialExpenditureServiceImpl extends BaseServiceImpl<Long, Finan
|
|
|
Date date = DateUtil.stringToDate(toString, DateUtil.DEFAULT_PATTERN);
|
|
|
if(date == null){
|
|
|
throw new BizException("导入数据错误 付款时间格式错误");
|
|
|
+ }else {
|
|
|
+ objectMap.put(columnValue, DateUtil.format(date,DateUtil.DEFAULT_PATTERN));
|
|
|
}
|
|
|
}
|
|
|
+ continue;
|
|
|
}
|
|
|
objectMap.put(columnValue, row.get(s));
|
|
|
}
|