|
@ -99,5 +99,14 @@ public class DetectionPlatformEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "nightRecordList")
|
|
|
@ApiOperation(value = "根据设备sn码查询起夜记录")
|
|
|
public ListEnvelop nightRecordList( @ApiParam(name="deviceSn",value = "deviceSn") @RequestParam(required = true) String deviceSn){
|
|
|
try {
|
|
|
return success("查询成功",200, platformService.nightRecordList(deviceSn));
|
|
|
}catch (Exception e){
|
|
|
return failedListEnvelopException(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|