Merge branch 'feature/bug-1286' into develop
This commit is contained in:
commit
4d40c002fb
|
|
@ -803,4 +803,15 @@ public class DeviceController extends ControllerBase {
|
||||||
);
|
);
|
||||||
return ApiResult.success();
|
return ApiResult.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取服务代理商公司变更记录
|
||||||
|
*/
|
||||||
|
@GetMapping("getServiceAgentChangeRecord")
|
||||||
|
public ApiResult<List<DeviceAgentRecord>> getServiceAgentChangeRecord(@RequestParam Integer deviceId) {
|
||||||
|
return ApiResult.success(deviceAgentRecordService.lambdaQuery()
|
||||||
|
.eq(DeviceAgentRecord::getDeviceId, deviceId)
|
||||||
|
.orderByDesc(DeviceAgentRecord::getId)
|
||||||
|
.list());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -843,4 +843,15 @@ public class DeviceController extends ControllerBase {
|
||||||
);
|
);
|
||||||
return ApiResult.success();
|
return ApiResult.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取服务代理商公司变更记录
|
||||||
|
*/
|
||||||
|
@GetMapping("getServiceAgentChangeRecord")
|
||||||
|
public ApiResult<List<GongfuDeviceAgentRecord>> getServiceAgentChangeRecord(@RequestParam Long deviceId) {
|
||||||
|
return ApiResult.success(gongfuDeviceAgentRecordService.lambdaQuery()
|
||||||
|
.eq(GongfuDeviceAgentRecord::getDeviceId, deviceId)
|
||||||
|
.orderByDesc(GongfuDeviceAgentRecord::getId)
|
||||||
|
.list());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue