diff --git a/src/main/java/com/gxwebsoft/shop/mapper/xml/ShopStoreMapper.xml b/src/main/java/com/gxwebsoft/shop/mapper/xml/ShopStoreMapper.xml index 9fe6da1..de6074b 100644 --- a/src/main/java/com/gxwebsoft/shop/mapper/xml/ShopStoreMapper.xml +++ b/src/main/java/com/gxwebsoft/shop/mapper/xml/ShopStoreMapper.xml @@ -56,7 +56,8 @@ AND a.create_time <= #{param.createTimeEnd} - AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%') + AND (a.name LIKE CONCAT('%', #{param.keywords}, '%') + OR a.phone LIKE CONCAT('%', #{param.keywords}, '%') ) diff --git a/src/main/resources/application-ysb2.yml b/src/main/resources/application-ysb2.yml index 689ecf7..64ef51b 100644 --- a/src/main/resources/application-ysb2.yml +++ b/src/main/resources/application-ysb2.yml @@ -22,12 +22,9 @@ spring: # 日志配置 logging: - file: - name: websoft-modules.log level: - root: WARN - com.gxwebsoft: ERROR - com.baomidou.mybatisplus: ERROR + com.gxwebsoft: DEBUG + com.baomidou.mybatisplus: DEBUG socketio: host: 0.0.0.0 #IP地址