|
@@ -189,6 +189,11 @@ public class PlanYearsController extends BaseController {
|
|
|
@Log(title = ModularConstans.planYear, businessType = BusinessType.EXPORT)
|
|
|
public void exportPlanExamine(HttpServletResponse response, @RequestBody PlanYearsStandardVo yearsStandardVo, HttpServletRequest request) throws Exception {
|
|
|
List<PlanYearsResponseVo> list = planYearsService.selectPlanYearsExamineListEXP(yearsStandardVo);
|
|
|
+ Long num = 1L;
|
|
|
+ for(PlanYearsResponseVo li:list){
|
|
|
+ li.setPlanYearId(num);
|
|
|
+ num++;
|
|
|
+ }
|
|
|
InputStream resourceAsStream = this.getClass().getResourceAsStream("/template/plan_year.xlsx");
|
|
|
OutputStream outputStream = null;
|
|
|
try {
|