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