Commit 75582572 authored by fangxinjiang's avatar fangxinjiang

权限配置页面

parent dd97dee8
...@@ -80,7 +80,7 @@ public class TEmployeeContractAreaResServiceImpl extends ServiceImpl<TEmployeeCo ...@@ -80,7 +80,7 @@ public class TEmployeeContractAreaResServiceImpl extends ServiceImpl<TEmployeeCo
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TEmployeeContractAreaResSearchVo searchVo) { public void listExport(HttpServletResponse response, TEmployeeContractAreaResSearchVo searchVo) {
String fileName = "合同地市权限配置表批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "合同审核权限批量导出" + DateUtil.getThisTime() + ".xlsx";
//获取要导出的列表 //获取要导出的列表
List<TEmpContractAreaExportVo> list = new ArrayList<>(); List<TEmpContractAreaExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo,null, Common.getList(searchVo.getIds()),null); long count = noPageCountDiy(searchVo,null, Common.getList(searchVo.getIds()),null);
...@@ -107,7 +107,7 @@ public class TEmployeeContractAreaResServiceImpl extends ServiceImpl<TEmployeeCo ...@@ -107,7 +107,7 @@ public class TEmployeeContractAreaResServiceImpl extends ServiceImpl<TEmployeeCo
} }
} }
if (Common.isNotNull(list)) { if (Common.isNotNull(list)) {
WriteSheet writeSheet = EasyExcel.writerSheet("合同地市权限配置表" + index).build(); WriteSheet writeSheet = EasyExcel.writerSheet("合同审核权限配置表" + index).build();
excelWriter.write(list, writeSheet); excelWriter.write(list, writeSheet);
index++; index++;
} }
...@@ -117,7 +117,7 @@ public class TEmployeeContractAreaResServiceImpl extends ServiceImpl<TEmployeeCo ...@@ -117,7 +117,7 @@ public class TEmployeeContractAreaResServiceImpl extends ServiceImpl<TEmployeeCo
} }
} }
} else { } else {
WriteSheet writeSheet = EasyExcel.writerSheet("合同地市权限配置表" + index).build(); WriteSheet writeSheet = EasyExcel.writerSheet("合同审核权限配置表" + index).build();
excelWriter.write(list, writeSheet); excelWriter.write(list, writeSheet);
} }
if (Common.isNotNull(list)) { if (Common.isNotNull(list)) {
......
...@@ -79,7 +79,7 @@ public class TInsuranceAreaResServiceImpl extends ServiceImpl<TInsuranceAreaResM ...@@ -79,7 +79,7 @@ public class TInsuranceAreaResServiceImpl extends ServiceImpl<TInsuranceAreaResM
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TInsuranceAreaResSearchVo searchVo){ public void listExport(HttpServletResponse response, TInsuranceAreaResSearchVo searchVo){
String fileName = "商险地市权限配置表批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "商险办理权限批量导出" + DateUtil.getThisTime() + ".xlsx";
//获取要导出的列表 //获取要导出的列表
List<TInsuranceAreaExportVo> list = new ArrayList<>(); List<TInsuranceAreaExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo,null,Common.getList(searchVo.getIds()),null); long count = noPageCountDiy(searchVo,null,Common.getList(searchVo.getIds()),null);
...@@ -106,7 +106,7 @@ public class TInsuranceAreaResServiceImpl extends ServiceImpl<TInsuranceAreaResM ...@@ -106,7 +106,7 @@ public class TInsuranceAreaResServiceImpl extends ServiceImpl<TInsuranceAreaResM
} }
} }
if (Common.isNotNull(list)){ if (Common.isNotNull(list)){
WriteSheet writeSheet = EasyExcel.writerSheet("商险地市权限配置表"+index).build(); WriteSheet writeSheet = EasyExcel.writerSheet("商险办理权限配置表"+index).build();
excelWriter.write(list,writeSheet); excelWriter.write(list,writeSheet);
index++; index++;
} }
...@@ -116,7 +116,7 @@ public class TInsuranceAreaResServiceImpl extends ServiceImpl<TInsuranceAreaResM ...@@ -116,7 +116,7 @@ public class TInsuranceAreaResServiceImpl extends ServiceImpl<TInsuranceAreaResM
} }
} }
}else { }else {
WriteSheet writeSheet = EasyExcel.writerSheet("商险地市权限配置表"+index).build(); WriteSheet writeSheet = EasyExcel.writerSheet("商险办理权限配置表"+index).build();
excelWriter.write(list,writeSheet); excelWriter.write(list,writeSheet);
} }
if (Common.isNotNull(list)){ if (Common.isNotNull(list)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment