From 174ff27d50bac8e578fabf7b3e7ec266c41422bc Mon Sep 17 00:00:00 2001
From: aix <vip_xiaobin810@163.com>
Date: Fri, 09 Aug 2024 11:55:04 +0800
Subject: [PATCH] 获取直播返回直播设备id
---
src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java b/src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java
index 26ce42f..4cdb880 100644
--- a/src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java
+++ b/src/main/java/com/dji/sample/patches/service/impl/GetPatchesServiceImpl.java
@@ -70,8 +70,8 @@
if (param.getDkmj()!=null){
queryWrapper.eq(LotInfo::getDkmj,param.getDkmj());
}
- if (param.getIsPlan() != null) {
- queryWrapper.eq(LotInfo::getIsPlan, param.getIsPlan());
+ if (param.getIsPush() != null) {
+ queryWrapper.eq(LotInfo::getIsPush, param.getIsPush());
}
// 执行分页查询
@@ -187,8 +187,8 @@
queryWrapper.in(LotInfo::getId, ids);
return mapper.selectList(queryWrapper);
}
- public List<LotInfo> listLotinfo() {
- return mapper.selectList(null);
+ public List<LotInfo> listLotinfo(String workspaceId) {
+ return mapper.selectList(new LambdaQueryWrapper<LotInfo>().eq(LotInfo::getWorkspaceId,workspaceId));
}
@Override
public LotInfo getPatchesFromId(String patchesId){
--
Gitblit v1.9.3