|
@@ -189,6 +189,9 @@ public class QueryDeviceDataController {
|
|
|
/**
|
|
|
* 指令记录
|
|
|
* @param commandStatus
|
|
|
+ * @param productCode
|
|
|
+ * @param deviceId
|
|
|
+ * @param userName
|
|
|
* @param startTime
|
|
|
* @param endTime
|
|
|
* @param pageNum
|
|
@@ -199,10 +202,11 @@ public class QueryDeviceDataController {
|
|
|
public ApiResult<CommonPage<DmpDeviceCommand>> deviceCommandRecord(@RequestParam(value = "commandStatus",required = false) Integer commandStatus,
|
|
|
@RequestParam(value = "productCode",required = false) String productCode,
|
|
|
@RequestParam(value = "deviceId",required = false) String deviceId,
|
|
|
+ @RequestParam(value = "userName",required = false) String userName,
|
|
|
@RequestParam(value = "startTime",required = false) String startTime,
|
|
|
@RequestParam(value = "endTime",required = false) String endTime,
|
|
|
@RequestParam(value = "pageNum", required = false, defaultValue = "1") Integer pageNum,
|
|
|
@RequestParam(value = "pageSize", required = false, defaultValue = "10") Integer pageSize){
|
|
|
- return ApiResult.success(dmpDeviceCommandService.deviceCommandRecord(commandStatus,productCode,deviceId,startTime,endTime,pageNum,pageSize));
|
|
|
+ return ApiResult.success(dmpDeviceCommandService.deviceCommandRecord(commandStatus,productCode,deviceId,userName,startTime,endTime,pageNum,pageSize));
|
|
|
}
|
|
|
}
|