From af4a334421b7bde1af95a3d6f973a1033d9868a4 Mon Sep 17 00:00:00 2001 From: Jack <46790855@qq.com> Date: Thu, 19 Jun 2025 00:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=BA=93=E7=9B=B8=E5=85=B3=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../library/service/impl/LibraryProductImpl.java | 2 +- mall-shop/src/main/resources/bootstrap-dev.yml | 2 +- mall-shop/src/main/resources/bootstrap-local.yml | 2 +- mall-shop/src/main/resources/bootstrap-prod.yml | 2 +- mall-shop/src/main/resources/bootstrap-test.yml | 2 +- mall-shop/src/main/resources/bootstrap-uat.yml | 2 +- .../mapper/library/LibraryProductMapper.xml | 12 +++++------- pom.xml | 3 +++ 8 files changed, 14 insertions(+), 13 deletions(-) diff --git a/mall-shop/src/main/java/com/suisung/mall/shop/library/service/impl/LibraryProductImpl.java b/mall-shop/src/main/java/com/suisung/mall/shop/library/service/impl/LibraryProductImpl.java index ed1b64cb..b070392d 100644 --- a/mall-shop/src/main/java/com/suisung/mall/shop/library/service/impl/LibraryProductImpl.java +++ b/mall-shop/src/main/java/com/suisung/mall/shop/library/service/impl/LibraryProductImpl.java @@ -29,7 +29,7 @@ public class LibraryProductImpl extends BaseServiceImpl - AND ( + AND p.name LIKE CONCAT('%', #{productName}, '%') - OR - + AND + p.keywords LIKE CONCAT('%', #{keyword}, '%') - ) @@ -84,11 +83,10 @@ - AND ( - + AND + p.keywords LIKE CONCAT('%', #{keyword}, '%') - ) diff --git a/pom.xml b/pom.xml index 7c28a006..00c1f207 100644 --- a/pom.xml +++ b/pom.xml @@ -396,6 +396,7 @@ D:/wwwroot/mall/public/static https://mall.gpxscs.cn + https://static.gpxscs.cn false @@ -445,6 +446,7 @@ /opt/apps/mall/public/static https://mall.gpxscs.cn + https://static.gpxscs.cn true @@ -494,6 +496,7 @@ /opt/apps/mall/public/static https://mall.gpxscs.cn + https://static.gpxscs.cn true