From b0932123072a837e376e64de2c3417f045462cc3 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 08 四月 2025 17:27:32 +0800
Subject: [PATCH] 新增PDA一键收货功能
---
rsf-server/src/main/java/com/vincent/rsf/server/common/domain/PageParam.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/common/domain/PageParam.java b/rsf-server/src/main/java/com/vincent/rsf/server/common/domain/PageParam.java
index 20999c9..7f8604e 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/common/domain/PageParam.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/common/domain/PageParam.java
@@ -152,9 +152,9 @@
String condition = where.getCondition();
if (i == 0) {
- queryWrapper.and(wrapper -> wrapper.like(column, condition));
+ queryWrapper.and(wrapper -> wrapper.like("`" + column + "`", condition));
} else {
- queryWrapper.or().like(column, condition);
+ queryWrapper.or().like("`" + column + "`", condition);
}
}
}
--
Gitblit v1.9.1