Commit b3940665 by 魏文甫

update

1 parent 5cc6b187
...@@ -10,6 +10,6 @@ import org.springframework.session.data.redis.config.annotation.web.http.EnableR ...@@ -10,6 +10,6 @@ import org.springframework.session.data.redis.config.annotation.web.http.EnableR
@Configuration @Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds=1800,redisNamespace = "kzy_wx") @EnableRedisHttpSession(maxInactiveIntervalInSeconds=86400,redisNamespace = "kzy_wx")
public class ConfigRedisSession { public class ConfigRedisSession {
} }
\ No newline at end of file
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
LEFT JOIN t_kzy_user u ON t.user_id = u.id AND t.type = 1 LEFT JOIN t_kzy_user u ON t.user_id = u.id AND t.type = 1
WHERE WHERE
t.is_delete = 0 AND t.auth_status=2 t.is_delete = 0 AND t.auth_status=2
AND t.relation_id = #{courseId,jdbcType=BIGINT} AND t.relation_id = #{informationId,jdbcType=BIGINT}
ORDER BY ORDER BY
t.id DESC t.id DESC
LIMIT #{start,jdbcType=INTEGER},#{pageSize,jdbcType=INTEGER} LIMIT #{start,jdbcType=INTEGER},#{pageSize,jdbcType=INTEGER}
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
LEFT JOIN t_kzy_user u ON t.user_id = u.id AND t.type = 1 LEFT JOIN t_kzy_user u ON t.user_id = u.id AND t.type = 1
WHERE WHERE
t.is_delete = 0 AND t.auth_status=2 t.is_delete = 0 AND t.auth_status=2
AND t.relation_id = #{courseId,jdbcType=BIGINT} AND t.relation_id = #{informationId,jdbcType=BIGINT}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!