@Controller
@RequestMapping(value="/core/plan")
public class CorePlanController
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) CorePlanService |
planService |
| 构造器和说明 |
|---|
CorePlanController() |
| 限定符和类型 | 方法和说明 |
|---|---|
RetVo |
active(java.lang.String id) |
RetVo |
add(CorePlan corePlan) |
RetVo |
delete(java.util.ArrayList<CorePlan> list) |
RetVo |
disable(java.lang.String id) |
java.lang.String |
index(javax.servlet.http.HttpServletRequest request) |
RetVo |
modify(CorePlan corePlan) |
RetPageVo |
query(java.util.Map<java.lang.String,java.lang.Object> params) |
@Autowired CorePlanService planService
@RequestMapping(value="/",
method=GET)
public java.lang.String index(javax.servlet.http.HttpServletRequest request)
@ResponseBody
@RequestMapping(value="/query",
method=GET)
public RetPageVo query(@RequestParam
java.util.Map<java.lang.String,java.lang.Object> params)
throws java.lang.Exception
java.lang.Exception@ResponseBody
@RequestMapping(value="/delete",
method=DELETE)
public RetVo delete(@RequestBody
java.util.ArrayList<CorePlan> list)
@ResponseBody
@RequestMapping(value="/modify",
method=POST)
public RetVo modify(@RequestBody
CorePlan corePlan)
throws java.lang.Exception
java.lang.Exception@ResponseBody
@RequestMapping(value="/add",
method=POST)
public RetVo add(@RequestBody
CorePlan corePlan)
throws java.lang.Exception
java.lang.Exception@ResponseBody
@RequestMapping(value="/run",
method=GET)
public RetVo active(@RequestParam(value="id")
java.lang.String id)
@ResponseBody
@RequestMapping(value="/disable",
method=GET)
public RetVo disable(@RequestParam(value="id")
java.lang.String id)