| | |
| | | |
| | | //设备工具明细 |
| | | @ApiOperation(value = "查询设备详情列表") |
| | | @PostMapping("/selectDeviceParameter") |
| | | public Result selectDeviceParameter(@RequestBody Map<String, Object> data, @RequestParam(value = "laboratoryNameIsNull", required = false) Boolean laboratoryNameIsNull) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | DeviceDto itemParameter = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), DeviceDto.class); |
| | | return Result.success(deviceService.selectDeviceParameter(page, itemParameter, laboratoryNameIsNull)); |
| | | @GetMapping("/selectDeviceParameter") |
| | | public Result selectDeviceParameter(Page page,DeviceDto deviceDto,Boolean laboratoryNameIsNull) { |
| | | return Result.success(deviceService.selectDeviceParameter(page, deviceDto, laboratoryNameIsNull)); |
| | | } |
| | | |
| | | @ApiOperation(value = "添加设备详情参数") |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除设备详情参数") |
| | | @PostMapping("/delDeviceParameter") |
| | | @DeleteMapping("/delDeviceParameter") |
| | | public Result<?> delDeviceParameter(Integer id) { |
| | | return Result.success(deviceService.delDeviceParameter(id)); |
| | | } |