|
@@ -376,7 +376,7 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
|
|
|
p.setProcessStatus(2);
|
|
p.setProcessStatus(2);
|
|
|
projectStaffRecordMapper.insertSelective(p);
|
|
projectStaffRecordMapper.insertSelective(p);
|
|
|
successNum++;
|
|
successNum++;
|
|
|
- successMsg.append("<br/>" + successNum + "、项目: " + p.getName() + " 导入成功");
|
|
|
|
|
|
|
+ successMsg.append("<br/>" + successNum + "、项目: " + p.getProjectName() + " 导入成功");
|
|
|
}else if (updateSupport){
|
|
}else if (updateSupport){
|
|
|
BeanValidators.validateWithException(validator, p);
|
|
BeanValidators.validateWithException(validator, p);
|
|
|
|
|
|
|
@@ -394,18 +394,18 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
|
|
|
}
|
|
}
|
|
|
projectStaffRecordMapper.updateByPrimaryKeySelective(p);
|
|
projectStaffRecordMapper.updateByPrimaryKeySelective(p);
|
|
|
successNum++;
|
|
successNum++;
|
|
|
- successMsg.append("<br/>" + successNum + "、项目: " + p.getName() + " 更新成功");
|
|
|
|
|
|
|
+ successMsg.append("<br/>" + successNum + "、项目: " + p.getProjectName() + " 更新成功");
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
failureNum++;
|
|
failureNum++;
|
|
|
- failureMsg.append("<br/>" + failureNum + "、项目: " + p.getName() + " 已存在");
|
|
|
|
|
|
|
+ failureMsg.append("<br/>" + failureNum + "、项目: " + p.getProjectName() + " 已存在");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
catch (Exception e)
|
|
catch (Exception e)
|
|
|
{
|
|
{
|
|
|
failureNum++;
|
|
failureNum++;
|
|
|
- String msg = "<br/>" + failureNum + "、项目: " + p.getName() + " 导入失败:";
|
|
|
|
|
|
|
+ String msg = "<br/>" + failureNum + "、项目: " + p.getProjectName() + " 导入失败:";
|
|
|
failureMsg.append(msg + e.getMessage());
|
|
failureMsg.append(msg + e.getMessage());
|
|
|
log.error(msg, e);
|
|
log.error(msg, e);
|
|
|
}
|
|
}
|