|
@@ -54,45 +54,45 @@ public class AspSafetyPerformanceAppraisalServiceImpl extends ServiceImpl<AspSaf
|
|
|
if (!name3.equals("集团公司安全监管(20分)")) {
|
|
|
return R.error("第2行,第3列,表头模板有误!");
|
|
|
}
|
|
|
- String name4 = row1.getCell(8) == null ? "" : row1.getCell(8).toString().trim();
|
|
|
+ String name4 = row1.getCell(10) == null ? "" : row1.getCell(10).toString().trim();
|
|
|
if (!name4.equals("公司内部安全监管(10分)")) {
|
|
|
- return R.error("第2行,第9列,表头模板有误!");
|
|
|
+ return R.error("第2行,第11列,表头模板有误!");
|
|
|
}
|
|
|
- String name5 = row1.getCell(14) == null ? "" : row1.getCell(14).toString().trim();
|
|
|
+ String name5 = row1.getCell(18) == null ? "" : row1.getCell(18).toString().trim();
|
|
|
if (!name5.equals("车间自我安全管理(10分)")) {
|
|
|
- return R.error("第2行,第15列,表头模板有误!");
|
|
|
+ return R.error("第2行,第19列,表头模板有误!");
|
|
|
}
|
|
|
- String name6 = row1.getCell(17) == null ? "" : row1.getCell(17).toString().trim();
|
|
|
+ String name6 = row1.getCell(21) == null ? "" : row1.getCell(21).toString().trim();
|
|
|
if (!name6.equals("工伤管理(50分)")) {
|
|
|
- return R.error("第2行,第18列,表头模板有误!");
|
|
|
+ return R.error("第2行,第22列,表头模板有误!");
|
|
|
}
|
|
|
- String name7 = row1.getCell(22) == null ? "" : row1.getCell(22).toString().trim();
|
|
|
+ String name7 = row1.getCell(26) == null ? "" : row1.getCell(26).toString().trim();
|
|
|
if (!name7.equals("车间、部门安全工作配合情况")) {
|
|
|
- return R.error("第2行,第23列,表头模板有误!");
|
|
|
+ return R.error("第2行,第27列,表头模板有误!");
|
|
|
}
|
|
|
- String name8 = row1.getCell(26) == null ? "" : row1.getCell(26).toString().trim();
|
|
|
+ String name8 = row1.getCell(30) == null ? "" : row1.getCell(30).toString().trim();
|
|
|
if (!name8.equals("扣分合计")) {
|
|
|
- return R.error("第2行,第27列,表头模板有误!");
|
|
|
+ return R.error("第2行,第31列,表头模板有误!");
|
|
|
}
|
|
|
- String name9 = row1.getCell(27) == null ? "" : row1.getCell(27).toString().trim();
|
|
|
+ String name9 = row1.getCell(31) == null ? "" : row1.getCell(31).toString().trim();
|
|
|
if (!name9.equals("车间名称")) {
|
|
|
- return R.error("第2行,第28列,表头模板有误!");
|
|
|
+ return R.error("第2行,第32列,表头模板有误!");
|
|
|
}
|
|
|
- String name10 = row1.getCell(28) == null ? "" : row1.getCell(28).toString().trim();
|
|
|
+ String name10 = row1.getCell(32) == null ? "" : row1.getCell(32).toString().trim();
|
|
|
if (!name10.equals("车间人数")) {
|
|
|
- return R.error("第2行,第29列,表头模板有误!");
|
|
|
+ return R.error("第2行,第33列,表头模板有误!");
|
|
|
}
|
|
|
- String name11 = row1.getCell(29) == null ? "" : row1.getCell(29).toString().trim();
|
|
|
+ String name11 = row1.getCell(33) == null ? "" : row1.getCell(33).toString().trim();
|
|
|
if (!name11.equals("加分项")) {
|
|
|
- return R.error("第2行,第29列,表头模板有误!");
|
|
|
+ return R.error("第2行,第34列,表头模板有误!");
|
|
|
}
|
|
|
- String name12 = row1.getCell(35) == null ? "" : row1.getCell(35).toString().trim();
|
|
|
+ String name12 = row1.getCell(39) == null ? "" : row1.getCell(39).toString().trim();
|
|
|
if (!name12.equals("加分合计")) {
|
|
|
- return R.error("第2行,第36列,表头模板有误!");
|
|
|
+ return R.error("第2行,第40列,表头模板有误!");
|
|
|
}
|
|
|
- String name13 = row1.getCell(36) == null ? "" : row1.getCell(36).toString().trim();
|
|
|
+ String name13 = row1.getCell(40) == null ? "" : row1.getCell(40).toString().trim();
|
|
|
if (!name13.equals("综合得分情况")) {
|
|
|
- return R.error("第2行,第37列,表头模板有误!");
|
|
|
+ return R.error("第2行,第41列,表头模板有误!");
|
|
|
}
|
|
|
//分析第2行
|
|
|
Row row2 = sheet.getRow(2);
|
|
@@ -112,95 +112,111 @@ public class AspSafetyPerformanceAppraisalServiceImpl extends ServiceImpl<AspSaf
|
|
|
if (!name17.equals("监控/集团安环部现场检查隐患条数")) {
|
|
|
return R.error("第3行,第6列,表头模板有误!");
|
|
|
}
|
|
|
- String name18 = row2.getCell(6) == null ? "" : row2.getCell(6).toString().trim();
|
|
|
- if (!name18.equals("考试或提问不合格人数")) {
|
|
|
+ String name17_1 = row2.getCell(6) == null ? "" : row2.getCell(6).toString().trim();
|
|
|
+ if (!name17_1.equals("集团燃气专项检查隐患条数")) {
|
|
|
return R.error("第3行,第7列,表头模板有误!");
|
|
|
}
|
|
|
- String name19 = row2.getCell(7) == null ? "" : row2.getCell(7).toString().trim();
|
|
|
- if (!name19.equals("集团考核通报(50元/扣0.5分)")) {
|
|
|
+ String name17_2 = row2.getCell(7) == null ? "" : row2.getCell(7).toString().trim();
|
|
|
+ if (!name17_2.equals("集团日常巡查隐患条数")) {
|
|
|
return R.error("第3行,第8列,表头模板有误!");
|
|
|
}
|
|
|
- String name20 = row2.getCell(8) == null ? "" : row2.getCell(8).toString().trim();
|
|
|
- if (!name20.equals("月度安全检查")) {
|
|
|
+ String name18 = row2.getCell(8) == null ? "" : row2.getCell(8).toString().trim();
|
|
|
+ if (!name18.equals("考试或提问不合格人数")) {
|
|
|
return R.error("第3行,第9列,表头模板有误!");
|
|
|
}
|
|
|
- String name21 = row2.getCell(9) == null ? "" : row2.getCell(9).toString().trim();
|
|
|
- if (!name21.equals("安全部日常巡查条数")) {
|
|
|
+ String name19 = row2.getCell(9) == null ? "" : row2.getCell(9).toString().trim();
|
|
|
+ if (!name19.equals("集团考核通报(50元/扣0.5分)")) {
|
|
|
return R.error("第3行,第10列,表头模板有误!");
|
|
|
}
|
|
|
- String name22 = row2.getCell(10) == null ? "" : row2.getCell(10).toString().trim();
|
|
|
- if (!name22.equals("复查整改率")) {
|
|
|
+ String name20 = row2.getCell(10) == null ? "" : row2.getCell(10).toString().trim();
|
|
|
+ if (!name20.equals("月度安全检查")) {
|
|
|
return R.error("第3行,第11列,表头模板有误!");
|
|
|
}
|
|
|
- String name23 = row2.getCell(11) == null ? "" : row2.getCell(11).toString().trim();
|
|
|
- if (!name23.equals("车间员工违章率(违章次数/车间总人数)")) {
|
|
|
+ String name20_1 = row2.getCell(11) == null ? "" : row2.getCell(11).toString().trim();
|
|
|
+ if (!name20_1.equals("危险化学品检查")) {
|
|
|
return R.error("第3行,第12列,表头模板有误!");
|
|
|
}
|
|
|
- String name24 = row2.getCell(13) == null ? "" : row2.getCell(13).toString().trim();
|
|
|
- if (!name24.equals("公司考核通报(50元/扣0.5分)")) {
|
|
|
+ String name20_2 = row2.getCell(12) == null ? "" : row2.getCell(12).toString().trim();
|
|
|
+ if (!name20_2.equals("高低压二氧化碳灭火系统检查")) {
|
|
|
+ return R.error("第3行,第13列,表头模板有误!");
|
|
|
+ }
|
|
|
+ String name21 = row2.getCell(13) == null ? "" : row2.getCell(13).toString().trim();
|
|
|
+ if (!name21.equals("安全部日常巡查条数")) {
|
|
|
return R.error("第3行,第14列,表头模板有误!");
|
|
|
}
|
|
|
- String name25 = row2.getCell(14) == null ? "" : row2.getCell(14).toString().trim();
|
|
|
- if (!name25.equals("公司对车间提问合格率")) {
|
|
|
+ String name22 = row2.getCell(14) == null ? "" : row2.getCell(14).toString().trim();
|
|
|
+ if (!name22.equals("复查整改率")) {
|
|
|
return R.error("第3行,第15列,表头模板有误!");
|
|
|
}
|
|
|
- String name26 = row2.getCell(15) == null ? "" : row2.getCell(15).toString().trim();
|
|
|
- if (!name26.equals("车间自查违章率")) {
|
|
|
+ String name23 = row2.getCell(15) == null ? "" : row2.getCell(15).toString().trim();
|
|
|
+ if (!name23.equals("车间员工违章率(违章次数/车间总人数)")) {
|
|
|
return R.error("第3行,第16列,表头模板有误!");
|
|
|
}
|
|
|
- String name27 = row2.getCell(16) == null ? "" : row2.getCell(16).toString().trim();
|
|
|
+ String name24 = row2.getCell(17) == null ? "" : row2.getCell(17).toString().trim();
|
|
|
+ if (!name24.equals("公司考核通报(50元/扣0.5分)")) {
|
|
|
+ return R.error("第3行,第18列,表头模板有误!");
|
|
|
+ }
|
|
|
+ String name25 = row2.getCell(18) == null ? "" : row2.getCell(18).toString().trim();
|
|
|
+ if (!name25.equals("公司对车间提问合格率")) {
|
|
|
+ return R.error("第3行,第19列,表头模板有误!");
|
|
|
+ }
|
|
|
+ String name26 = row2.getCell(19) == null ? "" : row2.getCell(19).toString().trim();
|
|
|
+ if (!name26.equals("车间自查违章率")) {
|
|
|
+ return R.error("第3行,第20列,表头模板有误!");
|
|
|
+ }
|
|
|
+ String name27 = row2.getCell(20) == null ? "" : row2.getCell(20).toString().trim();
|
|
|
if (!name27.equals("车间级隐患排查条数")) {
|
|
|
- return R.error("第3行,第17列,表头模板有误!");
|
|
|
+ return R.error("第3行,第21列,表头模板有误!");
|
|
|
}
|
|
|
- String name28 = row2.getCell(17) == null ? "" : row2.getCell(17).toString().trim();
|
|
|
+ String name28 = row2.getCell(21) == null ? "" : row2.getCell(21).toString().trim();
|
|
|
if (!name28.equals("安全事件或未遂事件起数")) {
|
|
|
- return R.error("第3行,第18列,表头模板有误!");
|
|
|
+ return R.error("第3行,第22列,表头模板有误!");
|
|
|
}
|
|
|
- String name29 = row2.getCell(18) == null ? "" : row2.getCell(18).toString().trim();
|
|
|
+ String name29 = row2.getCell(22) == null ? "" : row2.getCell(22).toString().trim();
|
|
|
if (!name29.equals("费用(元)")) {
|
|
|
- return R.error("第3行,第19列,表头模板有误!");
|
|
|
+ return R.error("第3行,第23列,表头模板有误!");
|
|
|
}
|
|
|
- String name30 = row2.getCell(19) == null ? "" : row2.getCell(19).toString().trim();
|
|
|
+ String name30 = row2.getCell(23) == null ? "" : row2.getCell(23).toString().trim();
|
|
|
if (!name30.equals("工伤事故起数")) {
|
|
|
- return R.error("第3行,第20列,表头模板有误!");
|
|
|
+ return R.error("第3行,第24列,表头模板有误!");
|
|
|
}
|
|
|
- String name31 = row2.getCell(20) == null ? "" : row2.getCell(20).toString().trim();
|
|
|
+ String name31 = row2.getCell(24) == null ? "" : row2.getCell(24).toString().trim();
|
|
|
if (!name31.equals("费用(元)")) {
|
|
|
- return R.error("第3行,第21列,表头模板有误!");
|
|
|
+ return R.error("第3行,第25列,表头模板有误!");
|
|
|
}
|
|
|
- String name32 = row2.getCell(21) == null ? "" : row2.getCell(21).toString().trim();
|
|
|
+ String name32 = row2.getCell(25) == null ? "" : row2.getCell(25).toString().trim();
|
|
|
if (!name32.equals("千人工伤率(‰)")) {
|
|
|
- return R.error("第3行,第22列,表头模板有误!");
|
|
|
+ return R.error("第3行,第26列,表头模板有误!");
|
|
|
}
|
|
|
- String name33 = row2.getCell(22) == null ? "" : row2.getCell(22).toString().trim();
|
|
|
+ String name33 = row2.getCell(26) == null ? "" : row2.getCell(26).toString().trim();
|
|
|
if (!name33.equals("专项开展不到位、不及时、效果不佳情况")) {
|
|
|
- return R.error("第3行,第23列,表头模板有误!");
|
|
|
+ return R.error("第3行,第27列,表头模板有误!");
|
|
|
}
|
|
|
- String name34 = row2.getCell(24) == null ? "" : row2.getCell(24).toString().trim();
|
|
|
+ String name34 = row2.getCell(28) == null ? "" : row2.getCell(28).toString().trim();
|
|
|
if (!name34.equals("车间、部门上交的资料质量差、标准低情况")) {
|
|
|
- return R.error("第3行,第25列,表头模板有误!");
|
|
|
+ return R.error("第3行,第29列,表头模板有误!");
|
|
|
}
|
|
|
- String name35 = row2.getCell(29) == null ? "" : row2.getCell(29).toString().trim();
|
|
|
+ String name35 = row2.getCell(33) == null ? "" : row2.getCell(33).toString().trim();
|
|
|
if (!name35.equals("车间自行组织预防安全培训、活动等/次数")) {
|
|
|
- return R.error("第3行,第30列,表头模板有误!");
|
|
|
+ return R.error("第3行,第34列,表头模板有误!");
|
|
|
}
|
|
|
- String name36 = row2.getCell(31) == null ? "" : row2.getCell(31).toString().trim();
|
|
|
+ String name36 = row2.getCell(35) == null ? "" : row2.getCell(35).toString().trim();
|
|
|
if (!name36.equals("迎接外部检查无隐患问题/次数")) {
|
|
|
- return R.error("第3行,第32列,表头模板有误!");
|
|
|
+ return R.error("第3行,第36列,表头模板有误!");
|
|
|
}
|
|
|
- String name37 = row2.getCell(33) == null ? "" : row2.getCell(33).toString().trim();
|
|
|
+ String name37 = row2.getCell(37) == null ? "" : row2.getCell(37).toString().trim();
|
|
|
if (!name37.equals("车间、部门承接公司安全活动次数")) {
|
|
|
- return R.error("第3行,第34列,表头模板有误!");
|
|
|
+ return R.error("第3行,第38列,表头模板有误!");
|
|
|
}
|
|
|
//分析第3行
|
|
|
Row row3 = sheet.getRow(3);
|
|
|
- String name38 = row3.getCell(11) == null ? "" : row3.getCell(11).toString().trim();
|
|
|
+ String name38 = row3.getCell(15) == null ? "" : row3.getCell(15).toString().trim();
|
|
|
if (!name38.equals("违章考核起数")) {
|
|
|
- return R.error("第4行,第12列,表头模板有误!");
|
|
|
+ return R.error("第4行,第16列,表头模板有误!");
|
|
|
}
|
|
|
- String name39 = row3.getCell(12) == null ? "" : row3.getCell(12).toString().trim();
|
|
|
+ String name39 = row3.getCell(16) == null ? "" : row3.getCell(16).toString().trim();
|
|
|
if (!name39.equals("人员违章率")) {
|
|
|
- return R.error("第4行,第13列,表头模板有误!");
|
|
|
+ return R.error("第4行,第17列,表头模板有误!");
|
|
|
}
|
|
|
//================表头分析结束================
|
|
|
|
|
@@ -240,30 +256,34 @@ public class AspSafetyPerformanceAppraisalServiceImpl extends ServiceImpl<AspSaf
|
|
|
String monthlyinspection = row.getCell(3) == null ? "" : row.getCell(3).toString().trim();
|
|
|
String quarterlyinspection = row.getCell(4) == null ? "" : row.getCell(4).toString().trim();
|
|
|
String onstieinspection = row.getCell(5) == null ? "" : row.getCell(5).toString().trim();
|
|
|
- String faildpeople = row.getCell(6) == null ? "" : row.getCell(6).toString().trim();
|
|
|
- String assessmentreport = row.getCell(7) == null ? "" : row.getCell(7).toString().trim();
|
|
|
- String monthlysafetyinspection = row.getCell(8) == null ? "" : row.getCell(8).toString().trim();
|
|
|
- String dailyinspection = row.getCell(9) == null ? "" : row.getCell(9).toString().trim();
|
|
|
- String reviewrate = row.getCell(10) == null ? "" : row.getCell(10).toString().trim();
|
|
|
- String violationassessment = row.getCell(11) == null ? "" : row.getCell(11).toString().trim();
|
|
|
- String personnelviolationrate = row.getCell(12) == null ? "" : row.getCell(12).toString().trim();
|
|
|
- String commpanyassessmentreport = row.getCell(13) == null ? "" : row.getCell(13).toString().trim();
|
|
|
- String rateforworkshopquestion = row.getCell(14) == null ? "" : row.getCell(14).toString().trim();
|
|
|
- String workshopselfrate = row.getCell(15) == null ? "" : row.getCell(15).toString().trim();
|
|
|
- String numberofworkshoplevel = row.getCell(16) == null ? "" : row.getCell(16).toString().trim();
|
|
|
- String numberofsafetyincident = row.getCell(17) == null ? "" : row.getCell(17).toString().trim();
|
|
|
- String cost1 = row.getCell(18) == null ? "" : row.getCell(18).toString().trim();
|
|
|
- String numberofaccident = row.getCell(19) == null ? "" : row.getCell(19).toString().trim();
|
|
|
- String cost2 = row.getCell(20) == null ? "" : row.getCell(20).toString().trim();
|
|
|
- String thousandartificialinjuryrate = row.getCell(21) == null ? "" : row.getCell(21).toString().trim();
|
|
|
- String numberofspecialproject = row.getCell(22) == null ? "" : row.getCell(22).toString().trim();
|
|
|
- String numberofbadmatterials = row.getCell(24) == null ? "" : row.getCell(24).toString().trim();
|
|
|
- String totaldeductionpoints = row.getCell(26) == null ? "" : row.getCell(26).toString().trim();
|
|
|
- String trainingbyself = row.getCell(29) == null ? "" : row.getCell(29).toString().trim();
|
|
|
- String trainingbyout = row.getCell(31) == null ? "" : row.getCell(31).toString().trim();
|
|
|
- String trainingbycompany = row.getCell(33) == null ? "" : row.getCell(33).toString().trim();
|
|
|
- String totalbonuspoints = row.getCell(35) == null ? "" : row.getCell(35).toString().trim();
|
|
|
- String totalscore = row.getCell(36) == null ? "" : row.getCell(36).toString().trim();
|
|
|
+ String numberofcheckdanger = row.getCell(6) == null ? "" : row.getCell(6).toString().trim();
|
|
|
+ String numberofdaycheckdanger = row.getCell(7) == null ? "" : row.getCell(7).toString().trim();
|
|
|
+ String faildpeople = row.getCell(8) == null ? "" : row.getCell(8).toString().trim();
|
|
|
+ String assessmentreport = row.getCell(9) == null ? "" : row.getCell(9).toString().trim();
|
|
|
+ String monthlysafetyinspection = row.getCell(10) == null ? "" : row.getCell(10).toString().trim();
|
|
|
+ String dangerouschemicalcheck = row.getCell(11) == null ? "" : row.getCell(11).toString().trim();
|
|
|
+ String lowpressurecheck = row.getCell(12) == null ? "" : row.getCell(12).toString().trim();
|
|
|
+ String dailyinspection = row.getCell(13) == null ? "" : row.getCell(13).toString().trim();
|
|
|
+ String reviewrate = row.getCell(14) == null ? "" : row.getCell(14).toString().trim();
|
|
|
+ String violationassessment = row.getCell(15) == null ? "" : row.getCell(15).toString().trim();
|
|
|
+ String personnelviolationrate = row.getCell(16) == null ? "" : row.getCell(16).toString().trim();
|
|
|
+ String commpanyassessmentreport = row.getCell(17) == null ? "" : row.getCell(17).toString().trim();
|
|
|
+ String rateforworkshopquestion = row.getCell(18) == null ? "" : row.getCell(18).toString().trim();
|
|
|
+ String workshopselfrate = row.getCell(19) == null ? "" : row.getCell(19).toString().trim();
|
|
|
+ String numberofworkshoplevel = row.getCell(20) == null ? "" : row.getCell(20).toString().trim();
|
|
|
+ String numberofsafetyincident = row.getCell(21) == null ? "" : row.getCell(21).toString().trim();
|
|
|
+ String cost1 = row.getCell(22) == null ? "" : row.getCell(22).toString().trim();
|
|
|
+ String numberofaccident = row.getCell(23) == null ? "" : row.getCell(23).toString().trim();
|
|
|
+ String cost2 = row.getCell(24) == null ? "" : row.getCell(24).toString().trim();
|
|
|
+ String thousandartificialinjuryrate = row.getCell(25) == null ? "" : row.getCell(25).toString().trim();
|
|
|
+ String numberofspecialproject = row.getCell(26) == null ? "" : row.getCell(26).toString().trim();
|
|
|
+ String numberofbadmatterials = row.getCell(28) == null ? "" : row.getCell(28).toString().trim();
|
|
|
+ String totaldeductionpoints = row.getCell(30) == null ? "" : row.getCell(30).toString().trim();
|
|
|
+ String trainingbyself = row.getCell(33) == null ? "" : row.getCell(33).toString().trim();
|
|
|
+ String trainingbyout = row.getCell(35) == null ? "" : row.getCell(35).toString().trim();
|
|
|
+ String trainingbycompany = row.getCell(37) == null ? "" : row.getCell(37).toString().trim();
|
|
|
+ String totalbonuspoints = row.getCell(39) == null ? "" : row.getCell(39).toString().trim();
|
|
|
+ String totalscore = row.getCell(40) == null ? "" : row.getCell(40).toString().trim();
|
|
|
|
|
|
if (ObjectUtil.isEmpty(departname)) {
|
|
|
return R.error("第" + (i + 1) + "行数据存在空值,请检查表格!");
|
|
@@ -283,6 +303,12 @@ public class AspSafetyPerformanceAppraisalServiceImpl extends ServiceImpl<AspSaf
|
|
|
if (ObjectUtil.isEmpty(onstieinspection)) {
|
|
|
return R.error("第" + (i + 1) + "行数据存在空值,请检查表格!");
|
|
|
}
|
|
|
+ if (ObjectUtil.isEmpty(numberofcheckdanger)) {
|
|
|
+ return R.error("第" + (i + 1) + "行数据存在空值,请检查表格!");
|
|
|
+ }
|
|
|
+ if (ObjectUtil.isEmpty(numberofdaycheckdanger)) {
|
|
|
+ return R.error("第" + (i + 1) + "行数据存在空值,请检查表格!");
|
|
|
+ }
|
|
|
if (ObjectUtil.isEmpty(faildpeople)) {
|
|
|
return R.error("第" + (i + 1) + "行数据存在空值,请检查表格!");
|
|
|
}
|
|
@@ -292,6 +318,12 @@ public class AspSafetyPerformanceAppraisalServiceImpl extends ServiceImpl<AspSaf
|
|
|
if (ObjectUtil.isEmpty(monthlysafetyinspection)) {
|
|
|
return R.error("第" + (i + 1) + "行数据存在空值,请检查表格!");
|
|
|
}
|
|
|
+ if (ObjectUtil.isEmpty(dangerouschemicalcheck)) {
|
|
|
+ return R.error("第" + (i + 1) + "行数据存在空值,请检查表格!");
|
|
|
+ }
|
|
|
+ if (ObjectUtil.isEmpty(lowpressurecheck)) {
|
|
|
+ return R.error("第" + (i + 1) + "行数据存在空值,请检查表格!");
|
|
|
+ }
|
|
|
if (ObjectUtil.isEmpty(dailyinspection)) {
|
|
|
return R.error("第" + (i + 1) + "行数据存在空值,请检查表格!");
|
|
|
}
|
|
@@ -362,9 +394,13 @@ public class AspSafetyPerformanceAppraisalServiceImpl extends ServiceImpl<AspSaf
|
|
|
detail.setMonthlyinspection(monthlyinspection);
|
|
|
detail.setQuarterlyinspection(quarterlyinspection);
|
|
|
detail.setOnstieinspection(onstieinspection);
|
|
|
+ detail.setNumberofcheckdanger(numberofcheckdanger);
|
|
|
+ detail.setNumberofdaycheckdanger(numberofdaycheckdanger);
|
|
|
detail.setFaildpeople(faildpeople);
|
|
|
detail.setAssessmentreport(assessmentreport);
|
|
|
detail.setMonthlysafetyinspection(monthlysafetyinspection);
|
|
|
+ detail.setDangerouschemicalcheck(dangerouschemicalcheck);
|
|
|
+ detail.setLowpressurecheck(lowpressurecheck);
|
|
|
detail.setDailyinspection(dailyinspection);
|
|
|
detail.setReviewrate(reviewrate);
|
|
|
detail.setViolationassessment(violationassessment);
|
|
@@ -409,25 +445,29 @@ public class AspSafetyPerformanceAppraisalServiceImpl extends ServiceImpl<AspSaf
|
|
|
String monthlyinspection = row.getCell(3) == null ? "" : row.getCell(3).toString().trim();
|
|
|
String quarterlyinspection = row.getCell(4) == null ? "" : row.getCell(4).toString().trim();
|
|
|
String onstieinspection = row.getCell(5) == null ? "" : row.getCell(5).toString().trim();
|
|
|
- String faildpeople = row.getCell(6) == null ? "" : row.getCell(6).toString().trim();
|
|
|
- String assessmentreport = row.getCell(7) == null ? "" : row.getCell(7).toString().trim();
|
|
|
- String monthlysafetyinspection = row.getCell(8) == null ? "" : row.getCell(8).toString().trim();
|
|
|
- String dailyinspection = row.getCell(9) == null ? "" : row.getCell(9).toString().trim();
|
|
|
- String reviewrate = row.getCell(10) == null ? "" : row.getCell(10).toString().trim();
|
|
|
- String violationscore = row.getCell(11) == null ? "" : row.getCell(11).toString().trim();
|
|
|
- String commpanyassessmentreport = row.getCell(13) == null ? "" : row.getCell(13).toString().trim();
|
|
|
- String rateforworkshopquestion = row.getCell(14) == null ? "" : row.getCell(14).toString().trim();
|
|
|
- String workshopselfrate = row.getCell(15) == null ? "" : row.getCell(15).toString().trim();
|
|
|
- String numberofworkshoplevel = row.getCell(16) == null ? "" : row.getCell(16).toString().trim();
|
|
|
- String score1 = row.getCell(17) == null ? "" : row.getCell(17).toString().trim();
|
|
|
- String score2 = row.getCell(19) == null ? "" : row.getCell(19).toString().trim();
|
|
|
- String thousandartificialinjuryrate = row.getCell(21) == null ? "" : row.getCell(21).toString().trim();
|
|
|
- String numberofspecialproject = row.getCell(22) == null ? "" : row.getCell(22).toString().trim();
|
|
|
- String numberofbadmatterials = row.getCell(24) == null ? "" : row.getCell(24).toString().trim();
|
|
|
+ String numberofcheckdanger = row.getCell(6) == null ? "" : row.getCell(6).toString().trim();
|
|
|
+ String numberofdaycheckdanger = row.getCell(7) == null ? "" : row.getCell(7).toString().trim();
|
|
|
+ String faildpeople = row.getCell(8) == null ? "" : row.getCell(8).toString().trim();
|
|
|
+ String assessmentreport = row.getCell(9) == null ? "" : row.getCell(9).toString().trim();
|
|
|
+ String monthlysafetyinspection = row.getCell(10) == null ? "" : row.getCell(10).toString().trim();
|
|
|
+ String dangerouschemicalcheck = row.getCell(11) == null ? "" : row.getCell(11).toString().trim();
|
|
|
+ String lowpressurecheck = row.getCell(12) == null ? "" : row.getCell(12).toString().trim();
|
|
|
+ String dailyinspection = row.getCell(13) == null ? "" : row.getCell(13).toString().trim();
|
|
|
+ String reviewrate = row.getCell(14) == null ? "" : row.getCell(14).toString().trim();
|
|
|
+ String violationscore = row.getCell(15) == null ? "" : row.getCell(15).toString().trim();
|
|
|
+ String commpanyassessmentreport = row.getCell(17) == null ? "" : row.getCell(17).toString().trim();
|
|
|
+ String rateforworkshopquestion = row.getCell(18) == null ? "" : row.getCell(18).toString().trim();
|
|
|
+ String workshopselfrate = row.getCell(19) == null ? "" : row.getCell(19).toString().trim();
|
|
|
+ String numberofworkshoplevel = row.getCell(20) == null ? "" : row.getCell(20).toString().trim();
|
|
|
+ String score1 = row.getCell(21) == null ? "" : row.getCell(21).toString().trim();
|
|
|
+ String score2 = row.getCell(23) == null ? "" : row.getCell(23).toString().trim();
|
|
|
+ String thousandartificialinjuryrate = row.getCell(25) == null ? "" : row.getCell(25).toString().trim();
|
|
|
+ String numberofspecialproject = row.getCell(26) == null ? "" : row.getCell(26).toString().trim();
|
|
|
+ String numberofbadmatterials = row.getCell(28) == null ? "" : row.getCell(28).toString().trim();
|
|
|
// String totaldeductionpoints = row.getCell(26) == null ? "" : row.getCell(26).toString().trim();
|
|
|
- String trainingbyself = row.getCell(29) == null ? "" : row.getCell(29).toString().trim();
|
|
|
- String trainingbyout = row.getCell(31) == null ? "" : row.getCell(31).toString().trim();
|
|
|
- String trainingbycompany = row.getCell(33) == null ? "" : row.getCell(33).toString().trim();
|
|
|
+ String trainingbyself = row.getCell(33) == null ? "" : row.getCell(33).toString().trim();
|
|
|
+ String trainingbyout = row.getCell(35) == null ? "" : row.getCell(35).toString().trim();
|
|
|
+ String trainingbycompany = row.getCell(37) == null ? "" : row.getCell(37).toString().trim();
|
|
|
// String totalbonuspoints = row.getCell(35) == null ? "" : row.getCell(35).toString().trim();
|
|
|
// String totalscore = row.getCell(36) == null ? "" : row.getCell(36).toString().trim();
|
|
|
|
|
@@ -505,9 +545,13 @@ public class AspSafetyPerformanceAppraisalServiceImpl extends ServiceImpl<AspSaf
|
|
|
detail.setMonthlyinspection(monthlyinspection);
|
|
|
detail.setQuarterlyinspection(quarterlyinspection);
|
|
|
detail.setOnstieinspection(onstieinspection);
|
|
|
+ detail.setNumberofcheckdanger(numberofcheckdanger);
|
|
|
+ detail.setNumberofdaycheckdanger(numberofdaycheckdanger);
|
|
|
detail.setFaildpeople(faildpeople);
|
|
|
detail.setAssessmentreport(assessmentreport);
|
|
|
detail.setMonthlysafetyinspection(monthlysafetyinspection);
|
|
|
+ detail.setDangerouschemicalcheck(dangerouschemicalcheck);
|
|
|
+ detail.setLowpressurecheck(lowpressurecheck);
|
|
|
detail.setDailyinspection(dailyinspection);
|
|
|
detail.setReviewrate(reviewrate);
|
|
|
// detail.setViolationassessment(violationassessment);
|