|
@@ -169,20 +169,20 @@ public class ApiAppDeviceLogController {
|
|
return page;
|
|
return page;
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "设备自检 结果查看")
|
|
|
|
- @RequestMapping(value = "selfcheck", method = RequestMethod.POST)
|
|
|
|
- public ApiDTO selfCheckQuery(@RequestBody @ApiParam(name = "入库参数", value = "指定sn", required = true) BenchQueryDetailParam param) {
|
|
|
|
- AppDevice device = appDeviceService.getOne(QueryParamExp.eq("sn", param.getSn()));
|
|
|
|
- device.setCheckStatus(1);
|
|
|
|
- appDeviceService.save(device);
|
|
|
|
- return ApiDTO.ok();
|
|
|
|
- }
|
|
|
|
|
|
+// @ApiOperation(value = "设备自检 结果查看")
|
|
|
|
+// @RequestMapping(value = "selfcheck", method = RequestMethod.POST)
|
|
|
|
+// public ApiDTO selfCheckQuery(@RequestBody @ApiParam(name = "入库参数", value = "指定sn", required = true) BenchQueryDetailParam param) {
|
|
|
|
+// AppDevice device = appDeviceService.getOne(QueryParamExp.eq("sn", param.getSn()));
|
|
|
|
+//// device.setCheckStatus(1);
|
|
|
|
+//// appDeviceService.save(device);
|
|
|
|
+// return ApiDTO.ok();
|
|
|
|
+// }
|
|
@ApiOperation(value = "设备自检 详情查看")
|
|
@ApiOperation(value = "设备自检 详情查看")
|
|
@RequestMapping(value = "selfcheck/detail", method = RequestMethod.POST)
|
|
@RequestMapping(value = "selfcheck/detail", method = RequestMethod.POST)
|
|
public ApiDTO selfCheckDetailQuery(@RequestBody @ApiParam(name = "入库参数", value = "指定sn", required = true) BenchQueryDetailParam param) {
|
|
public ApiDTO selfCheckDetailQuery(@RequestBody @ApiParam(name = "入库参数", value = "指定sn", required = true) BenchQueryDetailParam param) {
|
|
AppDevice device = appDeviceService.getOne(QueryParamExp.eq("sn", param.getSn()));
|
|
AppDevice device = appDeviceService.getOne(QueryParamExp.eq("sn", param.getSn()));
|
|
- device.setCheckStatus(1);
|
|
|
|
- appDeviceService.save(device);
|
|
|
|
|
|
+// device.setCheckStatus(1);
|
|
|
|
+// appDeviceService.save(device);
|
|
return ApiDTO.ok();
|
|
return ApiDTO.ok();
|
|
}
|
|
}
|
|
|
|
|