whycrzh
2021-01-08 cf2abed0458be6b97c36d650804fcbc655b50af4
src/main/java/com/fgkj/controller/User_task_paramController.java
@@ -1,22 +1,23 @@
package com.fgkj.controller;
import java.util.List;
import com.fgkj.util.*;
import com.fgkj.dto.ServiceModel;
import com.fgkj.dto.User_task_param;
import com.fgkj.services.User_task_paramService;
import com.google.gson.reflect.TypeToken;
import com.opensymphony.xwork2.ActionSupport;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import javax.annotation.Resource;
@RequestMapping("userTaskParam")
@RestController
@Api
public class User_task_paramController{
   @Autowired
   @Resource
   private User_task_paramService service;
   
   //4.2作业参数(新增作业参数)
@@ -30,6 +31,7 @@
    //4.2作业参数(重命名操作)
   @PutMapping("/")
   public ServiceModel update(@RequestBody User_task_param utp) {
//      System.out.println("utp = " + utp);
      ServiceModel model=service.update(utp);
      
      return model;