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