Explorar el Código

安全生产目标定时任务(按季度生成指标的考核结果)

sucheng hace 1 año
padre
commit
4bcef667d3

+ 2 - 1
cx-safe-check/cx-save-check-server/src/main/java/com/rongwei/savecheck/controller/AspSafetyProductObjectiveController.java

@@ -7,6 +7,7 @@ import com.rongwei.sfcommon.sys.service.AspSafetyProductObjectiveService;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
@@ -27,7 +28,7 @@ public class AspSafetyProductObjectiveController {
      * 安全生产目标定时任务(按季度生成指标的考核结果模板)
      * @return
      */
-    @GetMapping("/safetyResult")
+    @PostMapping("/safetyResult")
     public R safetyResult (){
         try{
             aspSafetyProductObjectiveService.safetyResult();