江南行列表查询的bug

This commit is contained in:
34701892@qq.com 2026-01-06 18:00:21 +08:00
parent 3cf0c68bfa
commit 9f9628a5d6
2 changed files with 28 additions and 26 deletions

View File

@ -65,8 +65,9 @@ public interface H5UserMapper {
"</script>" ) "</script>" )
void updateH5User(H5UserDTO h5UserDTO); void updateH5User(H5UserDTO h5UserDTO);
// "<if test=\"createBy != null and createBy.trim().length() > 0 \">" +
@ResultMap("h5UserMap") // " and create_by = #{createBy} " +
// "</if>" + @ResultMap("h5UserMap")
@Select("<script>" + @Select("<script>" +
"select * from allowlist_detail " + "select * from allowlist_detail " +
"<where>" + "<where>" +
@ -79,9 +80,7 @@ public interface H5UserMapper {
"<if test=\"status != null \">" + "<if test=\"status != null \">" +
" and status = #{status} " + " and status = #{status} " +
"</if>" + "</if>" +
"<if test=\"createBy != null and createBy.trim().length() > 0 \">" +
" and create_by = #{createBy} " +
"</if>" +
"</where>" + "</where>" +
"<if test=\"orderBy != null\">" + "<if test=\"orderBy != null\">" +
"order by ${orderBy} " + "order by ${orderBy} " +

View File

@ -1,3 +1,6 @@
logging:
level:
root: DEBUG
server: server:
port: 13579 port: 13579
compression: compression:
@ -22,21 +25,21 @@ spring:
# url: jdbc:mysql://192.168.0.142:3306/reference?autoReconnect=true&useUnicode=true&useSSL=false&allowMultiQueries=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai # url: jdbc:mysql://192.168.0.142:3306/reference?autoReconnect=true&useUnicode=true&useSSL=false&allowMultiQueries=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
# username: financial_prod # username: financial_prod
# password: mmTFncqmDal5HLRGY0BV # password: mmTFncqmDal5HLRGY0BV
url: jdbc:mysql://10.127.2.207:3306/reference?autoReconnect=true&useUnicode=true&useSSL=false&allowMultiQueries=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai url: jdbc:mysql://121.37.185.246:3306/reference?autoReconnect=true&useUnicode=true&useSSL=false&allowMultiQueries=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
username: financial_prod username: root
password: mmTFncqmDal5HLRGY0BV password: Xgf_8000
redis: redis:
# host: 192.168.0.172 # host: 192.168.0.172
# port: 6379 # port: 6379
# password: Xgf_redis # password: Xgf_redis
host: 10.127.2.209 host: 123.60.153.169
port: 6379 port: 6379
password: dMrt4kmwiW6LDJXy password: Xgf_redis
elasticsearch: elasticsearch:
scheme: http scheme: http
# 111.13.176.3 部署地址 # 111.13.176.3 部署地址
# 10.127.2.194 本地测试地址 # 10.127.2.194 本地测试地址
host: 10.127.2.194 host: 111.13.176.3
port: 9200 port: 9200
enable: true enable: true
username: elastic username: elastic