gaodandan il y a 6 ans
Parent
commit
c69bf492a3

+ 2 - 2
src/main/java/com/chinaitop/depot/customer/mapper/BusinessCustomerBadrecordMapper.xml

@@ -310,7 +310,7 @@
310 310
             and a.customer_id = #{customerId,jdbcType=VARCHAR}
311 311
         </if>
312 312
         <if test="name != null" >
313
-            and b.name like "%"#{name,jdbcType=VARCHAR}"%"
313
+            and b.name like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
314 314
         </if>
315 315
     </where>
316 316
     order by id desc
@@ -333,7 +333,7 @@
333 333
             and a.customer_id = #{customerId,jdbcType=VARCHAR}
334 334
         </if>
335 335
         <if test="name != null" >
336
-            and b.name like "%"#{name,jdbcType=VARCHAR}"%"
336
+            and b.name like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
337 337
         </if>
338 338
     </where>
339 339
     order by id desc

+ 1 - 1
src/main/resources/bootstrap.yml

@@ -7,7 +7,7 @@ server:
7 7
 eureka:
8 8
   client:
9 9
     service-url:
10
-      defaultZone: http://eureka-depot:9001/eureka/
10
+      defaultZone: http://192.168.123.98:9001/eureka/
11 11
   instance:
12 12
     prefer-ip-address: true
13 13