|
|
@@ -141,10 +141,10 @@ public class TechnicianServiceImpl extends BaseServiceImpl<TechnicianMapper, Tec
|
|
|
temp.setXh(i.getAndIncrement() + "");
|
|
|
});
|
|
|
|
|
|
- InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/技术人员花名册.xls");
|
|
|
+ InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/基础资源管理/企业技术人员名单.xls");
|
|
|
response.setContentType("application/vnd.ms-excel");
|
|
|
response.setCharacterEncoding("utf-8");
|
|
|
- response.addHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("技术人员花名册.xls", Charsets.UTF_8));
|
|
|
+ response.addHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("企业技术人员名单.xls", Charsets.UTF_8));
|
|
|
ExcelWriter excelWriter = EasyExcel.write(response.getOutputStream())
|
|
|
.withTemplate((templateFileName))
|
|
|
.excelType(ExcelTypeEnum.XLS)
|
|
|
@@ -367,7 +367,7 @@ public class TechnicianServiceImpl extends BaseServiceImpl<TechnicianMapper, Tec
|
|
|
temp.setXh(i.getAndIncrement() + "");
|
|
|
});
|
|
|
|
|
|
- InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/每月实际参研人员名单.xls");
|
|
|
+ InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/科技人员管理/每月实际参研人员名单.xls");
|
|
|
response.setContentType("application/vnd.ms-excel");
|
|
|
response.setCharacterEncoding("utf-8");
|
|
|
response.addHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("每月实际参研人员名单.xls", Charsets.UTF_8));
|
|
|
@@ -566,7 +566,7 @@ public class TechnicianServiceImpl extends BaseServiceImpl<TechnicianMapper, Tec
|
|
|
temp.setTotal(temp.getAverageMonthlySalaryRate().add(temp.getTotalInsuranceRate()).add(temp.getProvidentFundRate()).add(temp.getBonusRate()).add(temp.getBenefitRate()).add(temp.getPensionInsuranceBcRate()).add(temp.getMedicalInsuranceBcRate()));
|
|
|
});
|
|
|
|
|
|
- InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/每月研发人员人工分配表.xls");
|
|
|
+ InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/研发费用管理/人员人工费用/每月研发人员人工分配表.xls");
|
|
|
ExcelWriter excelWriter = EasyExcel.write(os)
|
|
|
.withTemplate((templateFileName))
|
|
|
.excelType(ExcelTypeEnum.XLS)
|
|
|
@@ -626,7 +626,7 @@ public class TechnicianServiceImpl extends BaseServiceImpl<TechnicianMapper, Tec
|
|
|
temp.setTotal(temp.getAverageMonthlySalary().add(temp.getTotalInsurance()).add(temp.getProvidentFund()).add(temp.getBonus()).add(temp.getBenefit()).add(temp.getPensionInsuranceBc()).add(temp.getMedicalInsuranceBc()));
|
|
|
});
|
|
|
|
|
|
- InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/每月研发项目人工分配汇总表.xls");
|
|
|
+ InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/研发费用管理/人员人工费用/每月研发项目人工分配汇总表.xls");
|
|
|
response.setContentType("application/vnd.ms-excel");
|
|
|
response.setCharacterEncoding("utf-8");
|
|
|
response.addHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("每月研发项目人工分配汇总表.xls", Charsets.UTF_8));
|
|
|
@@ -680,7 +680,7 @@ public class TechnicianServiceImpl extends BaseServiceImpl<TechnicianMapper, Tec
|
|
|
map.put("hoursByMonth", hours1.stream().reduce(BigDecimal.ZERO, BigDecimal::add));
|
|
|
resultList.add(map);
|
|
|
});
|
|
|
- InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/参研人员花名册.xls");
|
|
|
+ InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/科技人员管理/参研人员花名册.xls");
|
|
|
ExcelWriter excelWriter = EasyExcel.write(os)
|
|
|
.withTemplate((templateFileName))
|
|
|
.excelType(ExcelTypeEnum.XLS)
|
|
|
@@ -701,7 +701,7 @@ public class TechnicianServiceImpl extends BaseServiceImpl<TechnicianMapper, Tec
|
|
|
@SneakyThrows
|
|
|
@Override
|
|
|
public void exportXmcyryhzb(OutputStream os, List<XmTechnicianSummary> list, String yearAndMonth) {
|
|
|
- InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/项目参研人员汇总表.xls");
|
|
|
+ InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/科技人员管理/项目参研人员汇总表.xls");
|
|
|
|
|
|
List<XmcyryhzmExcel> dataList = new ArrayList<>();
|
|
|
AtomicInteger i = new AtomicInteger(1);
|
|
|
@@ -788,7 +788,7 @@ public class TechnicianServiceImpl extends BaseServiceImpl<TechnicianMapper, Tec
|
|
|
list.forEach(temp -> {
|
|
|
temp.setXh(i.getAndIncrement() + "");
|
|
|
});
|
|
|
- InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/年度高新科技人员汇总表.xls");
|
|
|
+ InputStream templateFileName = this.getClass().getClassLoader().getResourceAsStream("export-template/科技人员管理/年度高新科技人员汇总表.xls");
|
|
|
ExcelWriter excelWriter = EasyExcel.write(os)
|
|
|
.withTemplate((templateFileName))
|
|
|
.excelType(ExcelTypeEnum.XLS)
|