|
@@ -3,12 +3,9 @@ package com.rongwei.bsserver.sys.controller;
|
|
|
|
|
|
import com.rongwei.bscommon.sys.service.EquLubricationPlanService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
-import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.util.Map;
|
|
@@ -31,7 +28,7 @@ public class EquLubricationPlanController {
|
|
|
/**
|
|
|
* 导出润滑计划标准
|
|
|
* */
|
|
|
- @RequestMapping("/wordExportLubrication")
|
|
|
+ @PostMapping("/wordExportLubrication")
|
|
|
@ResponseBody
|
|
|
public void wordExportLubrication(@RequestBody Map<String, Object> parameter, HttpServletResponse response){
|
|
|
equLubricationPlanService.wordExportLubrication(parameter,response);
|