feat(shop): 更新应用配置和商店搜索功能
- 修改日志级别配置,将com.gxwebsoft和mybatis-plus设置为DEBUG模式 - 移除文件日志配置和root日志级别设置 - 更新商店搜索条件,从comments字段改为name和phone字段搜索 - 添加OR条件支持电话号码搜索功能
This commit is contained in:
@@ -56,7 +56,8 @@
|
|||||||
AND a.create_time <= #{param.createTimeEnd}
|
AND a.create_time <= #{param.createTimeEnd}
|
||||||
</if>
|
</if>
|
||||||
<if test="param.keywords != null">
|
<if test="param.keywords != null">
|
||||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
AND (a.name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||||
|
OR a.phone LIKE CONCAT('%', #{param.keywords}, '%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
|||||||
@@ -22,12 +22,9 @@ spring:
|
|||||||
|
|
||||||
# 日志配置
|
# 日志配置
|
||||||
logging:
|
logging:
|
||||||
file:
|
|
||||||
name: websoft-modules.log
|
|
||||||
level:
|
level:
|
||||||
root: WARN
|
com.gxwebsoft: DEBUG
|
||||||
com.gxwebsoft: ERROR
|
com.baomidou.mybatisplus: DEBUG
|
||||||
com.baomidou.mybatisplus: ERROR
|
|
||||||
|
|
||||||
socketio:
|
socketio:
|
||||||
host: 0.0.0.0 #IP地址
|
host: 0.0.0.0 #IP地址
|
||||||
|
|||||||
Reference in New Issue
Block a user