Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
wangming
/
kzy-wx
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b3940665
authored
Mar 16, 2020
by
魏文甫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
1 parent
5cc6b187
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
src/main/java/com/server/common/configure/ConfigRedisSession.java
src/main/resources/mybatis/mapping/CommentMapper.xml
src/main/java/com/server/common/configure/ConfigRedisSession.java
View file @
b394066
...
...
@@ -10,6 +10,6 @@ import org.springframework.session.data.redis.config.annotation.web.http.EnableR
@Configuration
@EnableRedisHttpSession
(
maxInactiveIntervalInSeconds
=
18
00
,
redisNamespace
=
"kzy_wx"
)
@EnableRedisHttpSession
(
maxInactiveIntervalInSeconds
=
864
00
,
redisNamespace
=
"kzy_wx"
)
public
class
ConfigRedisSession
{
}
\ No newline at end of file
src/main/resources/mybatis/mapping/CommentMapper.xml
View file @
b394066
...
...
@@ -40,7 +40,7 @@
LEFT JOIN t_kzy_user u ON t.user_id = u.id AND t.type = 1
WHERE
t.is_delete = 0 AND t.auth_status=2
AND t.relation_id = #{
course
Id,jdbcType=BIGINT}
AND t.relation_id = #{
information
Id,jdbcType=BIGINT}
ORDER BY
t.id DESC
LIMIT #{start,jdbcType=INTEGER},#{pageSize,jdbcType=INTEGER}
...
...
@@ -53,7 +53,7 @@
LEFT JOIN t_kzy_user u ON t.user_id = u.id AND t.type = 1
WHERE
t.is_delete = 0 AND t.auth_status=2
AND t.relation_id = #{
course
Id,jdbcType=BIGINT}
AND t.relation_id = #{
information
Id,jdbcType=BIGINT}
</select>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment