| | |
| | | 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作业参数(新增作业参数) |
| | |
| | | //4.2作业参数(重命名操作) |
| | | @PutMapping("/") |
| | | public ServiceModel update(@RequestBody User_task_param utp) { |
| | | // System.out.println("utp = " + utp); |
| | | ServiceModel model=service.update(utp); |
| | | |
| | | return model; |