| | |
| | | @Api(tags = "在线监测-实时监控") |
| | | @RestController |
| | | @RequestMapping("Li9130_setparam_planAction") |
| | | public class Li9130SetparamPlanController { |
| | | public class Li9130SetparamPlanController extends BaseController{ |
| | | @Autowired |
| | | private Li9130SetparamPlanService service; |
| | | |
| | |
| | | |
| | | @ApiOperation(value = "插入多端预设信息",notes = "Li9130_setparam_planAction_action_add") |
| | | @PostMapping("add") |
| | | public Response add(@RequestParam List<Li9130SetparamPlan> list){ |
| | | public Response add(@RequestBody List<Li9130SetparamPlan> list){ |
| | | return service.add(list); |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑预设信息",notes = "Li9130_setparam_planAction_action_update") |
| | | @PostMapping("update") |
| | | public Response update(@RequestParam Li9130SetparamPlan setparamPlan){ |
| | | public Response update(@RequestBody Li9130SetparamPlan setparamPlan){ |
| | | return service.update(setparamPlan); |
| | | } |
| | | |