You've already forked FrameTour-BE
规整规整项目
This commit is contained in:
@ -18,14 +18,10 @@ spring:
|
||||
username: zt
|
||||
password: ZhEnTuAi2024zHeNtUaI
|
||||
hikari:
|
||||
connection-timeout: 30000 # 等待连接池分配连接的最大时长(毫秒),超过这个时长还没可用的连接则发生SQLException, 默认:30秒
|
||||
minimum-idle: 5 # 最小连接数
|
||||
maximum-pool-size: 20 # 最大连接数
|
||||
auto-commit: true # 事务自动提交
|
||||
idle-timeout: 60000 # 连接超时的最大时长(毫秒)
|
||||
pool-name: DateSourceHikariCP # 连接池名字
|
||||
max-lifetime: 180000 # 连接的生命时长(毫秒)
|
||||
connection-test-query: SELECT 1 # 连接测试语句
|
||||
minimum-idle: 5 # 最小连接数
|
||||
maximum-pool-size: 20 # 最大连接数
|
||||
auto-commit: true # 事务自动提交
|
||||
pool-name: HikariCP # 连接池名字
|
||||
jackson:
|
||||
date-format: "yyyy-MM-dd HH:mm:ss"
|
||||
time-zone: GMT+8
|
||||
@ -34,11 +30,6 @@ spring:
|
||||
port: 6379
|
||||
# 密码过于复杂需要使用''引起来,要不可能导致项目无法启动,因为无法识别特殊字符
|
||||
password: ZhEnTuAi
|
||||
jedis:
|
||||
pool:
|
||||
max-active: -1 # 连接池最大连接数(使用负值表示没有限制)
|
||||
min-idle: 1 # 连接池中的最小空闲连接
|
||||
time-between-eviction-runs: 3000
|
||||
timeout: 40000
|
||||
# 配置用户头像存放静态资源文件夹
|
||||
resources:
|
||||
|
@ -34,10 +34,6 @@ spring:
|
||||
port: 6379
|
||||
# 密码过于复杂需要使用''引起来,要不可能导致项目无法启动,因为无法识别特殊字符
|
||||
password: ''
|
||||
jedis:
|
||||
pool:
|
||||
max-active: 64 # 连接池最大连接数(使用负值表示没有限制)
|
||||
min-idle: 2 # 连接池中的最小空闲连接
|
||||
timeout: 1000
|
||||
# 配置用户头像存放静态资源文件夹
|
||||
resources:
|
||||
|
@ -155,14 +155,15 @@
|
||||
<select id="countCompleteVideoOfMember" resultType="java.lang.Integer">
|
||||
select ifnull(count(1),0) as count
|
||||
from(
|
||||
select member_id
|
||||
from member_video
|
||||
where member_video.scenic_id = #{scenicId}
|
||||
select mv.member_id
|
||||
from member_video mv
|
||||
left join face f on f.id = mv.face_id
|
||||
where f.scenic_id = #{scenicId}
|
||||
<if test="startTime!= null">
|
||||
and member_video.create_time >= #{startTime}
|
||||
and f.create_time >= #{startTime}
|
||||
</if>
|
||||
<if test="endTime!= null">
|
||||
and member_video.create_time <= #{endTime}
|
||||
and f.create_time <= #{endTime}
|
||||
</if>
|
||||
group by member_id
|
||||
)a
|
||||
|
Reference in New Issue
Block a user