|
|
|
@ -897,7 +897,7 @@ public class EnforcementRegistrationServiceImpl implements IEnforcementRegistrat |
|
|
|
styleRow2.setBorderLeft(BorderStyle.THIN); |
|
|
|
styleRow2.setFont(font2); |
|
|
|
//设置表头
|
|
|
|
String[] headerList = {"执法单位", "被执法企业名称","企业所属区域", "企业所属街道", "执法人员","执法事项","执法时间", "联合执法", "受委托", "委托单位","行政执法类别","任务来源","是否扫码","未扫码原因","是否投诉"}; |
|
|
|
String[] headerList = {"执法单位", "被执法企业名称","统一社会信用代码","企业所属区域", "企业所属街道", "执法人员","执法事项","执法时间", "联合执法", "受委托", "委托单位","行政执法类别","任务来源","是否扫码","未扫码原因","是否投诉"}; |
|
|
|
HSSFRow headerRow = sheet.createRow(0); |
|
|
|
for (int i = 0; i < headerList.length; i++) { |
|
|
|
HSSFCell cell = headerRow.createCell(i); |
|
|
|
@ -915,11 +915,13 @@ public class EnforcementRegistrationServiceImpl implements IEnforcementRegistrat |
|
|
|
cell4.setCellValue(e.getBureauDeptName()); |
|
|
|
HSSFCell cell1 = row.createCell(1); |
|
|
|
cell1.setCellValue(e.getEnterpriseName()); |
|
|
|
HSSFCell cell2 = row.createCell(2); |
|
|
|
HSSFCell cellEnterpriseNumber = row.createCell(2); |
|
|
|
cellEnterpriseNumber.setCellValue(e.getEnterpriseNumber()); |
|
|
|
HSSFCell cell2 = row.createCell(3); |
|
|
|
cell2.setCellValue(e.getQy()); |
|
|
|
HSSFCell cell3 = row.createCell(3); |
|
|
|
HSSFCell cell3 = row.createCell(4); |
|
|
|
cell3.setCellValue(e.getJd()); |
|
|
|
HSSFCell cell5 = row.createCell(4); |
|
|
|
HSSFCell cell5 = row.createCell(5); |
|
|
|
String name=""; |
|
|
|
if(!"".equals(e.getLawEnforcer())&&e.getLawEnforcer()!=null){ |
|
|
|
name=e.getLawEnforcer(); |
|
|
|
@ -931,46 +933,46 @@ public class EnforcementRegistrationServiceImpl implements IEnforcementRegistrat |
|
|
|
name=name+e.getLawEnforcerTwo(); |
|
|
|
} |
|
|
|
cell5.setCellValue(name); |
|
|
|
HSSFCell cell6 = row.createCell(5); |
|
|
|
HSSFCell cell6 = row.createCell(6); |
|
|
|
cell6.setCellValue(e.getLawEnforcementItemText()); |
|
|
|
HSSFCell cell12 = row.createCell(6 ); |
|
|
|
HSSFCell cell12 = row.createCell(7); |
|
|
|
cell12.setCellValue(e.getEnforcementTime()); |
|
|
|
cell12.setCellStyle(dateStyle); |
|
|
|
|
|
|
|
HSSFCell cell17 = row.createCell(7); |
|
|
|
if(e.getHasUnion()!=null&&!"".equals(e.getHasUnion())){ |
|
|
|
HSSFCell cell17 = row.createCell(8); |
|
|
|
if(e.getHasUnion()!=null&&e.getHasUnion()==1){ |
|
|
|
cell17.setCellValue("是"); |
|
|
|
}else { |
|
|
|
cell17.setCellValue("否"); |
|
|
|
} |
|
|
|
HSSFCell cell18 = row.createCell(8); |
|
|
|
if(e.getHasAuto()!=null&&!"".equals(e.getHasAuto())){ |
|
|
|
HSSFCell cell18 = row.createCell(9); |
|
|
|
if(e.getHasAuto()!=null&&e.getHasAuto()==1){ |
|
|
|
cell18.setCellValue("是"); |
|
|
|
}else { |
|
|
|
cell18.setCellValue("否"); |
|
|
|
} |
|
|
|
HSSFCell cell112 = row.createCell(9 ); |
|
|
|
HSSFCell cell112 = row.createCell(10); |
|
|
|
cell112.setCellValue(e.getEntrustDeptName()); |
|
|
|
|
|
|
|
HSSFCell cell7 = row.createCell(10); |
|
|
|
HSSFCell cell7 = row.createCell(11); |
|
|
|
if(lawMap.containsKey(e.getLawEnforceCategory())){ |
|
|
|
cell7.setCellValue(lawMap.get(e.getLawEnforceCategory()).getDictLabel()); |
|
|
|
} |
|
|
|
HSSFCell cell8 = row.createCell(11); |
|
|
|
HSSFCell cell8 = row.createCell(12); |
|
|
|
if(dictDataMap1.containsKey(e.getCheckCategory())){ |
|
|
|
cell8.setCellValue(dictDataMap1.get(e.getCheckCategory()).getDictLabel()); |
|
|
|
} |
|
|
|
HSSFCell cell9 = row.createCell(12); |
|
|
|
HSSFCell cell9 = row.createCell(13); |
|
|
|
if(e.getCheckCss()!=null&&!"".equals(e.getCheckCss())){ |
|
|
|
cell9.setCellValue("否"); |
|
|
|
}else { |
|
|
|
cell9.setCellValue("是"); |
|
|
|
} |
|
|
|
HSSFCell cell10 = row.createCell(13); |
|
|
|
HSSFCell cell10 = row.createCell(14); |
|
|
|
if(dictDataMap2.containsKey(e.getCheckCss())){ |
|
|
|
cell10.setCellValue(dictDataMap2.get(e.getCheckCss()).getDictLabel()); |
|
|
|
} |
|
|
|
HSSFCell cell11 = row.createCell(14); |
|
|
|
HSSFCell cell11 = row.createCell(15); |
|
|
|
if(e.getIsComplaint()==0){ |
|
|
|
cell11.setCellValue("否"); |
|
|
|
}else { |
|
|
|
|