|
@@ -233,7 +233,7 @@ public class ApiAppDeviceLogController {
|
|
|
finalQuery.addParam(QueryParamExp.desc("addTime"));
|
|
|
finalQuery.addParam(QueryParamExp.eq("sn", p.getSn()));
|
|
|
finalQuery.addParam(QueryParamExp.eq("type", 2));
|
|
|
- Page<AppDeviceLog> deviceLogPage = deviceLogService.findByParam(query);
|
|
|
+ Page<AppDeviceLog> deviceLogPage = deviceLogService.findByParam(finalQuery);
|
|
|
AppDeviceLog lastDeviceLogPage = new AppDeviceLog();
|
|
|
if (!deviceLogPage.isEmpty()) {
|
|
|
lastDeviceLogPage = deviceLogPage.getContent().get(0);
|