户籍信息,流动人口bug修改。

This commit is contained in:
Renpc-kilig 2021-04-25 10:41:19 +08:00
parent 47da52461d
commit 5b26b453cf
3 changed files with 8 additions and 3 deletions

View File

@ -20,11 +20,11 @@ spring:
max-request-size: 1GB max-request-size: 1GB
datasource: datasource:
druid: druid:
url: jdbc:mysql://118.89.242.44:3309/db_user_management?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false url: jdbc:mysql://localhost:3306/db_user_management?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false
db-type: mysql db-type: mysql
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: usermanagement username: root
password: 123456789 password: 123456
initial-size: 2 initial-size: 2
min-idle: 2 min-idle: 2
max-active: 5 max-active: 5

View File

@ -259,6 +259,9 @@
<if test="keywords != null and keywords != ''"> <if test="keywords != null and keywords != ''">
AND ( AND (
t1.name_of_householder LIKE CONCAT('%', #{keywords}, '%') t1.name_of_householder LIKE CONCAT('%', #{keywords}, '%')
OR
t1.base_id LIKE CONCAT('%', #{keywords}, '%')
)
</if> </if>
<if test="startTime != null and startTime != ''"> <if test="startTime != null and startTime != ''">
AND AND

View File

@ -268,6 +268,8 @@
<if test="keywords != null and keywords != ''"> <if test="keywords != null and keywords != ''">
AND ( AND (
t1.card_number LIKE CONCAT('%', #{keywords}, '%') t1.card_number LIKE CONCAT('%', #{keywords}, '%')
OR
t1.base_id LIKE CONCAT('%', #{keywords}, '%')
) )
</if> </if>
<if test="startTime != null and startTime != ''"> <if test="startTime != null and startTime != ''">