|
@@ -3,7 +3,6 @@ package com.sundot.airport.web.controller.system;
|
|
3
|
import java.util.List;
|
3
|
import java.util.List;
|
|
4
|
import javax.servlet.http.HttpServletResponse;
|
4
|
import javax.servlet.http.HttpServletResponse;
|
|
5
|
|
5
|
|
|
6
|
-import com.sundot.airport.blocked.domain.BlockedRate;
|
|
|
|
7
|
import org.springframework.security.access.prepost.PreAuthorize;
|
6
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
8
|
import org.springframework.beans.factory.annotation.Autowired;
|
7
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
9
|
import org.springframework.web.bind.annotation.GetMapping;
|
8
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -77,7 +76,7 @@ public class BasePerformanceIndicatorController extends BaseController {
|
|
77
|
*/
|
76
|
*/
|
|
78
|
@PostMapping("/importTemplate")
|
77
|
@PostMapping("/importTemplate")
|
|
79
|
public void importTemplate(HttpServletResponse response) {
|
78
|
public void importTemplate(HttpServletResponse response) {
|
|
80
|
- ExcelUtil<BlockedRate> util = new ExcelUtil<>(BlockedRate.class);
|
|
|
|
|
|
79
|
+ ExcelUtil<BasePerformanceIndicator> util = new ExcelUtil<>(BasePerformanceIndicator.class);
|
|
81
|
util.importTemplateExcel(response, "考核指标数据导入模板");
|
80
|
util.importTemplateExcel(response, "考核指标数据导入模板");
|
|
82
|
}
|
81
|
}
|
|
83
|
|
82
|
|