|
@@ -388,7 +388,7 @@ public class PlanYearsServiceImpl extends ServiceImpl<PlanYearsMapper, PlanYears
|
|
|
ofYear.setPurchaseDeptId(String.valueOf(info.getDeptId()));
|
|
|
} else {
|
|
|
++failureNum;
|
|
|
- failureMsg.append(failureNum + "、采购单位“" + ofYear.getPurchaseDeptName() + "”不存在");
|
|
|
+ failureMsg.append(failureNum + "、采购单位“" + ofYear.getPurchaseDeptName() + "”不存在 <br/>");
|
|
|
}
|
|
|
//机关业务指导处是多选字段
|
|
|
StringBuilder zBuilder = new StringBuilder();
|
|
@@ -402,14 +402,14 @@ public class PlanYearsServiceImpl extends ServiceImpl<PlanYearsMapper, PlanYears
|
|
|
zBuilder.append(infoTow.getId() + ",");
|
|
|
} else {
|
|
|
++failureNum;
|
|
|
- failureMsg.append(failureNum + "、机关业务指导处(科)“" + s + "”不存在");
|
|
|
+ failureMsg.append(failureNum + "、机关业务指导处(科)“" + s + "”不存在 <br/>");
|
|
|
}
|
|
|
} else {
|
|
|
if (!ObjectUtils.isEmpty(infoTow)) {
|
|
|
zBuilder.append(infoTow.getId());
|
|
|
} else {
|
|
|
++failureNum;
|
|
|
- failureMsg.append(failureNum + "、机关业务指导处(科)“" + s + "”不存在");
|
|
|
+ failureMsg.append(failureNum + "、机关业务指导处(科)“" + s + "”不存在 <br/>");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -426,7 +426,7 @@ public class PlanYearsServiceImpl extends ServiceImpl<PlanYearsMapper, PlanYears
|
|
|
zBuilder.append(infoTow.getId());
|
|
|
} else {
|
|
|
++failureNum;
|
|
|
- failureMsg.append(failureNum + "、机关业务指导处(科)“" + ofYear.getOrganDivision() + "”不存在");
|
|
|
+ failureMsg.append(failureNum + "、机关业务指导处(科)“" + ofYear.getOrganDivision() + "”不存在 <br/>");
|
|
|
}
|
|
|
}
|
|
|
ofYear.setOrganDivision(zBuilder.toString());
|
|
@@ -456,13 +456,13 @@ public class PlanYearsServiceImpl extends ServiceImpl<PlanYearsMapper, PlanYears
|
|
|
successNum++;
|
|
|
successMsg.append(successNum + "、项目【" + ofYear.getProjectName() + "】导入成功!");
|
|
|
} catch (Exception exc) {
|
|
|
- String msg = successNum + "、项目【" + ofYear.getProjectName() + "】导入失败";
|
|
|
+ String msg = successNum + "、项目【" + ofYear.getProjectName() + "】导入失败 <br/>";
|
|
|
failureMsg.append(msg);
|
|
|
log.error(msg, exc);
|
|
|
}
|
|
|
}
|
|
|
if (failureNum > 0) {
|
|
|
- failureMsg.insert(0, "导入失败!共 " + failureNum + " 条数据格式不正确:");
|
|
|
+ failureMsg.insert(0, "导入失败!共 " + failureNum + " 条数据格式不正确: <br/>");
|
|
|
throw new ServiceException(failureMsg.toString());
|
|
|
} else {
|
|
|
successMsg.insert(0, "导入成功!共 " + successNum + " 条。");
|