From 94174d2cc22afed6f41c270d970903484bfc5708 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Mon, 05 Aug 2024 16:06:18 +0800
Subject: [PATCH] SM2测试类
---
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