| | |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入seinspect") |
| | | public R save(@Valid @RequestBody Seinspect seinspect) throws Exception { |
| | | arg.test01(arg.url+"/seinspect/save",seinspect); |
| | | //arg.test01(arg.url+"/seinspect/save",seinspect); |
| | | return R.status(seinspectService.save(seinspect)); |
| | | } |
| | | |
| | |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入seinspect") |
| | | public R update(@Valid @RequestBody Seinspect seinspect) throws Exception { |
| | | arg.test01(arg.url+"/seinspect/update",seinspect); |
| | | //arg.test01(arg.url+"/seinspect/update",seinspect); |
| | | return R.status(seinspectService.updateById(seinspect)); |
| | | } |
| | | |
| | |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | arg.sendPostRemoveByIds(arg.url+"/seinspect/remove",ids); |
| | | //arg.sendPostRemoveByIds(arg.url+"/seinspect/remove",ids); |
| | | return R.status(seinspectService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |