Browse Source

去掉模糊搜索处理特殊字符

wuweihao 3 năm trước cách đây
mục cha
commit
ceba3ba55f

+ 1 - 1
gis_cms/src/main/java/com/gis/cms/mapper/provider/GoodsProvider.java

@@ -45,7 +45,7 @@ public class GoodsProvider {
 
         String searchKey = param.getSearchKey();
         if (!StringUtils.isAllBlank(searchKey)) {
-            searchKey = RegexUtil.specificSymbol(searchKey);
+//            searchKey = RegexUtil.specificSymbol(searchKey);
             searchKey = StringUtils.trim(searchKey);
             sql.append(" and ( name like '%").append(searchKey).append("%' )");
         }

+ 0 - 1
gis_common/src/main/java/com/gis/common/util/JwtUtil.java

@@ -8,7 +8,6 @@ import io.jsonwebtoken.Claims;
 import io.jsonwebtoken.JwtBuilder;
 import io.jsonwebtoken.Jwts;
 import io.jsonwebtoken.SignatureAlgorithm;
-import lombok.extern.log4j.Log4j2;
 import lombok.extern.slf4j.Slf4j;
 import org.junit.Test;
 import org.springframework.util.Assert;

+ 1 - 1
gis_pano/pom.xml

@@ -2,7 +2,7 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <parent>
-        <artifactId>720yun_local_manage</artifactId>
+        <artifactId>army_beijing_fourteen</artifactId>
         <groupId>com.gis</groupId>
         <version>1.0.0</version>
     </parent>

+ 4 - 29
pom.xml

@@ -49,10 +49,6 @@
     <aliyun.core.version>4.0.3</aliyun.core.version>
     <aliyun.dysmsapi.version>1.1.0</aliyun.dysmsapi.version>
     <aliyun.oss.version>2.5.0</aliyun.oss.version>
-    <!--<mybatis.version>3.5.7</mybatis.version>-->
-    <!--<tk.mybatis.version>2.0.2</tk.mybatis.version>-->
-    <!--<tk.mapper.version>4.0.3</tk.mapper.version>-->
-    <!--<pagehelper.version>1.2.5</pagehelper.version>-->
   </properties>
 
 
@@ -79,12 +75,6 @@
         <version>${gis.version}</version>
       </dependency>
 
-      <!--<dependency>-->
-        <!--<groupId>com.gis</groupId>-->
-        <!--<artifactId>gis_scene</artifactId>-->
-        <!--<version>${gis.version}</version>-->
-      <!--</dependency>-->
-
       <dependency>
       <groupId>com.gis</groupId>
       <artifactId>gis_cms</artifactId>
@@ -102,38 +92,23 @@
       <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-core</artifactId>
-        <!--<version>5.3.18</version>-->
         <version>5.2.20.RELEASE</version>
       </dependency>
 
-
-
-      <!-- springboot -->
       <dependency>
         <groupId>org.springframework.boot</groupId>
-        <artifactId>spring-boot-starter-data-jpa</artifactId>
+        <artifactId>spring-boot-starter-web</artifactId>
         <version>${spring.boot.version}</version>
-
       </dependency>
 
-      <!--<dependency>-->
-        <!--<groupId>org.springframework.boot</groupId>-->
-        <!--<artifactId>spring-boot-starter-web</artifactId>-->
-        <!--<version>${spring.boot.version}</version>-->
-        <!--<exclusions>-->
-          <!--<exclusion>-->
-            <!--<groupId>org.springframework</groupId>-->
-            <!--<artifactId>spring-core</artifactId>-->
-          <!--</exclusion>-->
-        <!--</exclusions>-->
-      <!--</dependency>-->
-
+      <!-- springboot -->
       <dependency>
         <groupId>org.springframework.boot</groupId>
-        <artifactId>spring-boot-starter-web</artifactId>
+        <artifactId>spring-boot-starter-data-jpa</artifactId>
         <version>${spring.boot.version}</version>
       </dependency>
 
+
       <dependency>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-test</artifactId>