From 9cf1706b6e10b7684d92145995b9522b7b4642e2 Mon Sep 17 00:00:00 2001 From: qirong <2032486488@qq.com> Date: 星期三, 07 六月 2023 11:43:36 +0800 Subject: [PATCH] 导入题目 --- xzs/src/main/java/com/mindskip/xzs/domain/Department.java | 47 +++ xzs/src/main/resources/mapper/DepartmentMapper.xml | 33 ++ xzs/log/xzs.20230607.log | 400 ++++++++++++++++++++++++++++++ xzs/src/main/java/com/mindskip/xzs/service/impl/DepartmentServiceImpl.java | 49 +++ xzs/src/main/java/com/mindskip/xzs/repository/DepartmentMapper.java | 17 + xzs/src/main/java/com/mindskip/xzs/service/DepartmentService.java | 36 ++ xzs/src/main/java/com/mindskip/xzs/configuration/spring/security/RestAuthenticationSuccessHandler.java | 2 xzs/log/xzs.20230606.log | 156 ++++++++++++ xzs/src/main/java/com/mindskip/xzs/controller/admin/DepartmentController.java | 35 ++ 9 files changed, 774 insertions(+), 1 deletions(-) diff --git a/xzs/log/xzs.20230606.log b/xzs/log/xzs.20230606.log index ab6c5f6..bd31f7b 100644 --- a/xzs/log/xzs.20230606.log +++ b/xzs/log/xzs.20230606.log @@ -2894,3 +2894,159 @@ 2023-06-06 16:27:45.562 DEBUG 2964 --- [XNIO-1 task-37] r.c.m.x.r.U.insertSelective : ==> Preparing: insert into t_user_event_log ( user_id, user_name, real_name, content, create_time ) values ( ?, ?, ?, ?, ? ) 2023-06-06 16:27:45.563 DEBUG 2964 --- [XNIO-1 task-37] r.c.m.x.r.U.insertSelective : ==> Parameters: 1(Integer), student(String), 瀛︾敓(String), student 鎻愪氦璇曞嵎锛氳鏂囨湡涓�冭瘯 寰楀垎锛�2 鑰楁椂锛�5鍒� 0绉�(String), 2023-06-06 16:27:45.459(Timestamp) 2023-06-06 16:27:45.583 DEBUG 2964 --- [XNIO-1 task-37] r.c.m.x.r.U.insertSelective : <== Updates: 1 +2023-06-06 16:52:04.654 INFO 24412 --- [restartedMain] com.mindskip.xzs.XzsApplication : Starting XzsApplication on DESKTOP-7A2KHS1 with PID 24412 (E:\ycll\qyksxt\xzs\target\classes started by qirong in E:\ycll\qyksxt\xzs) +2023-06-06 16:52:04.657 INFO 24412 --- [restartedMain] com.mindskip.xzs.XzsApplication : The following profiles are active: dev +2023-06-06 16:52:04.719 INFO 24412 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2023-06-06 16:52:04.719 INFO 24412 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2023-06-06 16:52:06.981 WARN 24412 --- [restartedMain] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used +2023-06-06 16:52:07.009 INFO 24412 --- [restartedMain] io.undertow.servlet : Initializing Spring embedded WebApplicationContext +2023-06-06 16:52:07.009 INFO 24412 --- [restartedMain] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2290 ms +2023-06-06 16:52:08.150 INFO 24412 --- [restartedMain] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2142be92, org.springframework.security.web.context.SecurityContextPersistenceFilter@573854df, org.springframework.security.web.header.HeaderWriterFilter@7da6d336, org.springframework.web.filter.CorsFilter@67c7cc3a, org.springframework.security.web.authentication.logout.LogoutFilter@85b107, com.mindskip.xzs.configuration.spring.security.RestLoginAuthenticationFilter@1c484ab4, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@5e8af3c5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@798a0467, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@579d2071, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@4f9efaa, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@31dfdccc, org.springframework.security.web.session.SessionManagementFilter@e91db41, org.springframework.security.web.access.ExceptionTranslationFilter@27808e58, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@2682f60e] +2023-06-06 16:52:08.460 INFO 24412 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2023-06-06 16:52:08.517 INFO 24412 --- [restartedMain] org.xnio : XNIO version 3.3.8.Final +2023-06-06 16:52:08.527 INFO 24412 --- [restartedMain] org.xnio.nio : XNIO NIO Implementation Version 3.3.8.Final +2023-06-06 16:52:08.595 INFO 24412 --- [restartedMain] o.s.b.w.e.u.UndertowServletWebServer : Undertow started on port(s) 8000 (http) with context path '' +2023-06-06 16:52:08.600 INFO 24412 --- [restartedMain] com.mindskip.xzs.XzsApplication : Started XzsApplication in 4.652 seconds (JVM running for 5.916) +2023-06-06 17:02:29.285 INFO 24412 --- [XNIO-1 task-1] io.undertow.servlet : Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-06-06 17:02:29.299 INFO 24412 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2023-06-06 17:02:29.363 INFO 24412 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 64 ms +2023-06-06 17:02:29.484 INFO 24412 --- [XNIO-1 task-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2023-06-06 17:02:29.767 INFO 24412 --- [XNIO-1 task-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2023-06-06 17:02:29.777 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-06 17:02:29.810 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-06 17:02:29.852 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-06 17:02:29.867 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-06 17:02:29.868 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-06 17:02:29.880 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-06 17:02:30.522 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper where deleted=0 +2023-06-06 17:02:30.523 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-06 17:02:30.531 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-06 17:02:30.533 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Preparing: SELECT count(*) from t_question where deleted=0 +2023-06-06 17:02:30.533 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Parameters: +2023-06-06 17:02:30.541 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.QuestionMapper.selectAllCount : <== Total: 1 +2023-06-06 17:02:30.543 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_answer +2023-06-06 17:02:30.544 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-06 17:02:30.553 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-06 17:02:30.554 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_question_customer_answer +2023-06-06 17:02:30.554 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-06 17:02:30.562 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-06 17:02:30.570 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.U.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_user_event_log WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-06 17:02:30.574 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.U.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-06 17:02:30.586 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.U.selectCountByDate : <== Total: 3 +2023-06-06 17:02:30.588 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_exam_paper_question_customer_answer WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-06 17:02:30.589 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-06 17:02:30.605 DEBUG 24412 --- [XNIO-1 task-1] r.c.m.x.r.E.selectCountByDate : <== Total: 3 +2023-06-06 17:04:15.593 DEBUG 24412 --- [XNIO-1 task-2] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-06 17:04:15.593 DEBUG 24412 --- [XNIO-1 task-2] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-06 17:04:15.602 DEBUG 24412 --- [XNIO-1 task-2] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-06 17:04:15.607 DEBUG 24412 --- [XNIO-1 task-2] r.c.m.xzs.repository.SubjectMapper.page : ==> Preparing: SELECT id, name, level, level_name, item_order, deleted FROM t_subject WHERE deleted = 0 order by id desc LIMIT ? +2023-06-06 17:04:15.607 DEBUG 24412 --- [XNIO-1 task-2] r.c.m.xzs.repository.SubjectMapper.page : ==> Parameters: 10(Integer) +2023-06-06 17:04:15.616 DEBUG 24412 --- [XNIO-1 task-2] r.c.m.xzs.repository.SubjectMapper.page : <== Total: 1 +2023-06-06 17:22:28.389 DEBUG 24412 --- [XNIO-1 task-6] r.c.m.x.r.SubjectMapper.allSubject : ==> Preparing: select id, name, level, level_name, item_order, deleted from t_subject +2023-06-06 17:22:28.391 DEBUG 24412 --- [XNIO-1 task-6] r.c.m.x.r.SubjectMapper.allSubject : ==> Parameters: +2023-06-06 17:22:28.401 DEBUG 24412 --- [XNIO-1 task-6] r.c.m.x.r.SubjectMapper.allSubject : <== Total: 1 +2023-06-06 17:22:28.405 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.QuestionMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_question WHERE deleted = 0 +2023-06-06 17:22:28.405 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.QuestionMapper.page_COUNT : ==> Parameters: +2023-06-06 17:22:28.423 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.QuestionMapper.page_COUNT : <== Total: 1 +2023-06-06 17:22:28.425 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.repository.QuestionMapper.page : ==> Preparing: SELECT id, question_type, subject_id, score, grade_level, difficult, correct, info_text_content_id, create_user, status, create_time, deleted FROM t_question WHERE deleted = 0 order by id desc LIMIT ? +2023-06-06 17:22:28.425 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.repository.QuestionMapper.page : ==> Parameters: 10(Integer) +2023-06-06 17:22:28.443 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.repository.QuestionMapper.page : <== Total: 10 +2023-06-06 17:22:28.452 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.452 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 36(Integer) +2023-06-06 17:22:28.461 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:28.480 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.480 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 35(Integer) +2023-06-06 17:22:28.493 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:28.495 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.496 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 34(Integer) +2023-06-06 17:22:28.506 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:28.508 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.509 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 33(Integer) +2023-06-06 17:22:28.516 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:28.518 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.518 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 32(Integer) +2023-06-06 17:22:28.526 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:28.531 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.531 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 31(Integer) +2023-06-06 17:22:28.538 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:28.540 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.540 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 30(Integer) +2023-06-06 17:22:28.549 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:28.551 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.551 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 28(Integer) +2023-06-06 17:22:28.562 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:28.563 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.563 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 26(Integer) +2023-06-06 17:22:28.571 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:28.572 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:28.573 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 24(Integer) +2023-06-06 17:22:28.581 DEBUG 24412 --- [XNIO-1 task-5] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:35.416 DEBUG 24412 --- [XNIO-1 task-7] r.c.m.x.r.SubjectMapper.allSubject : ==> Preparing: select id, name, level, level_name, item_order, deleted from t_subject +2023-06-06 17:22:35.416 DEBUG 24412 --- [XNIO-1 task-7] r.c.m.x.r.SubjectMapper.allSubject : ==> Parameters: +2023-06-06 17:22:35.428 DEBUG 24412 --- [XNIO-1 task-7] r.c.m.x.r.SubjectMapper.allSubject : <== Total: 1 +2023-06-06 17:22:35.435 DEBUG 24412 --- [XNIO-1 task-8] r.c.m.x.r.Q.selectByPrimaryKey : ==> Preparing: select id, question_type, subject_id, score, grade_level, difficult, correct, info_text_content_id, create_user, status, create_time, deleted from t_question where id = ? +2023-06-06 17:22:35.435 DEBUG 24412 --- [XNIO-1 task-8] r.c.m.x.r.Q.selectByPrimaryKey : ==> Parameters: 25(Integer) +2023-06-06 17:22:35.448 DEBUG 24412 --- [XNIO-1 task-8] r.c.m.x.r.Q.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:22:35.449 DEBUG 24412 --- [XNIO-1 task-8] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-06 17:22:35.449 DEBUG 24412 --- [XNIO-1 task-8] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 36(Integer) +2023-06-06 17:22:35.459 DEBUG 24412 --- [XNIO-1 task-8] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-06 17:28:13.654 DEBUG 24412 --- [XNIO-1 task-9] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-06 17:28:13.654 DEBUG 24412 --- [XNIO-1 task-9] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-06 17:28:13.665 DEBUG 24412 --- [XNIO-1 task-9] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-06 17:28:13.673 DEBUG 24412 --- [XNIO-1 task-9] r.c.m.x.r.U.insertSelective : ==> Preparing: insert into t_user_event_log ( user_id, user_name, real_name, content, create_time ) values ( ?, ?, ?, ?, ? ) +2023-06-06 17:28:13.675 DEBUG 24412 --- [XNIO-1 task-9] r.c.m.x.r.U.insertSelective : ==> Parameters: 2(Integer), admin(String), 绠$悊鍛�(String), admin 鐧诲嚭浜嗗涔嬫�濆紑婧愯�冭瘯绯荤粺(String), 2023-06-06 17:28:13.666(Timestamp) +2023-06-06 17:28:13.706 DEBUG 24412 --- [XNIO-1 task-9] r.c.m.x.r.U.insertSelective : <== Updates: 1 +2023-06-06 17:28:33.890 DEBUG 24412 --- [XNIO-1 task-10] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-06 17:28:33.891 DEBUG 24412 --- [XNIO-1 task-10] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-06 17:28:33.909 DEBUG 24412 --- [XNIO-1 task-10] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-06 17:28:33.919 DEBUG 24412 --- [XNIO-1 task-10] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-06 17:28:33.919 DEBUG 24412 --- [XNIO-1 task-10] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-06 17:28:33.928 DEBUG 24412 --- [XNIO-1 task-10] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-06 17:28:33.929 DEBUG 24412 --- [XNIO-1 task-10] r.c.m.x.r.U.insertSelective : ==> Preparing: insert into t_user_event_log ( user_id, user_name, real_name, content, create_time ) values ( ?, ?, ?, ?, ? ) +2023-06-06 17:28:33.930 DEBUG 24412 --- [XNIO-1 task-10] r.c.m.x.r.U.insertSelective : ==> Parameters: 2(Integer), admin(String), 绠$悊鍛�(String), admin 鐧诲綍浜嗗涔嬫�濆紑婧愯�冭瘯绯荤粺(String), 2023-06-06 17:28:33.928(Timestamp) +2023-06-06 17:28:33.952 DEBUG 24412 --- [XNIO-1 task-10] r.c.m.x.r.U.insertSelective : <== Updates: 1 +2023-06-06 17:28:34.364 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper where deleted=0 +2023-06-06 17:28:34.364 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-06 17:28:34.376 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-06 17:28:34.376 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Preparing: SELECT count(*) from t_question where deleted=0 +2023-06-06 17:28:34.377 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Parameters: +2023-06-06 17:28:34.388 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.QuestionMapper.selectAllCount : <== Total: 1 +2023-06-06 17:28:34.389 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_answer +2023-06-06 17:28:34.389 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-06 17:28:34.404 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-06 17:28:34.405 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_question_customer_answer +2023-06-06 17:28:34.405 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-06 17:28:34.414 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-06 17:28:34.416 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.U.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_user_event_log WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-06 17:28:34.417 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.U.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-06 17:28:34.426 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.U.selectCountByDate : <== Total: 3 +2023-06-06 17:28:34.429 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_exam_paper_question_customer_answer WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-06 17:28:34.429 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-06 17:28:34.441 DEBUG 24412 --- [XNIO-1 task-11] r.c.m.x.r.E.selectCountByDate : <== Total: 3 +2023-06-06 17:28:40.165 DEBUG 24412 --- [XNIO-1 task-12] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Preparing: SELECT count(0) FROM t_user WHERE deleted = 0 AND role = ? +2023-06-06 17:28:40.165 DEBUG 24412 --- [XNIO-1 task-12] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Parameters: 1(Integer) +2023-06-06 17:28:40.173 DEBUG 24412 --- [XNIO-1 task-12] r.c.m.x.r.UserMapper.userPage_COUNT : <== Total: 1 +2023-06-06 17:28:40.174 DEBUG 24412 --- [XNIO-1 task-12] r.c.m.x.repository.UserMapper.userPage : ==> Preparing: SELECT id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id FROM t_user WHERE deleted = 0 AND role = ? order by id desc LIMIT ? +2023-06-06 17:28:40.176 DEBUG 24412 --- [XNIO-1 task-12] r.c.m.x.repository.UserMapper.userPage : ==> Parameters: 1(Integer), 10(Integer) +2023-06-06 17:28:40.185 DEBUG 24412 --- [XNIO-1 task-12] r.c.m.x.repository.UserMapper.userPage : <== Total: 1 +2023-06-06 17:28:48.597 DEBUG 24412 --- [XNIO-1 task-13] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Preparing: SELECT count(0) FROM t_user WHERE deleted = 0 AND role = ? +2023-06-06 17:28:48.597 DEBUG 24412 --- [XNIO-1 task-13] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Parameters: 1(Integer) +2023-06-06 17:28:48.606 DEBUG 24412 --- [XNIO-1 task-13] r.c.m.x.r.UserMapper.userPage_COUNT : <== Total: 1 +2023-06-06 17:28:48.608 DEBUG 24412 --- [XNIO-1 task-13] r.c.m.x.repository.UserMapper.userPage : ==> Preparing: SELECT id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id FROM t_user WHERE deleted = 0 AND role = ? order by id desc LIMIT ? +2023-06-06 17:28:48.608 DEBUG 24412 --- [XNIO-1 task-13] r.c.m.x.repository.UserMapper.userPage : ==> Parameters: 1(Integer), 10(Integer) +2023-06-06 17:28:48.621 DEBUG 24412 --- [XNIO-1 task-13] r.c.m.x.repository.UserMapper.userPage : <== Total: 1 +2023-06-06 17:29:27.890 DEBUG 24412 --- [XNIO-1 task-14] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-06 17:29:27.890 DEBUG 24412 --- [XNIO-1 task-14] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-06 17:29:27.900 DEBUG 24412 --- [XNIO-1 task-14] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-06 17:29:27.901 DEBUG 24412 --- [XNIO-1 task-14] r.c.m.xzs.repository.SubjectMapper.page : ==> Preparing: SELECT id, name, level, level_name, item_order, deleted FROM t_subject WHERE deleted = 0 order by id desc LIMIT ? +2023-06-06 17:29:27.901 DEBUG 24412 --- [XNIO-1 task-14] r.c.m.xzs.repository.SubjectMapper.page : ==> Parameters: 10(Integer) +2023-06-06 17:29:27.909 DEBUG 24412 --- [XNIO-1 task-14] r.c.m.xzs.repository.SubjectMapper.page : <== Total: 1 +2023-06-06 17:50:29.876 DEBUG 24412 --- [XNIO-1 task-15] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Preparing: SELECT count(0) FROM t_user WHERE deleted = 0 AND role = ? +2023-06-06 17:50:29.878 DEBUG 24412 --- [XNIO-1 task-15] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Parameters: 1(Integer) +2023-06-06 17:50:29.887 DEBUG 24412 --- [XNIO-1 task-15] r.c.m.x.r.UserMapper.userPage_COUNT : <== Total: 1 +2023-06-06 17:50:29.888 DEBUG 24412 --- [XNIO-1 task-15] r.c.m.x.repository.UserMapper.userPage : ==> Preparing: SELECT id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id FROM t_user WHERE deleted = 0 AND role = ? order by id desc LIMIT ? +2023-06-06 17:50:29.888 DEBUG 24412 --- [XNIO-1 task-15] r.c.m.x.repository.UserMapper.userPage : ==> Parameters: 1(Integer), 10(Integer) +2023-06-06 17:50:29.897 DEBUG 24412 --- [XNIO-1 task-15] r.c.m.x.repository.UserMapper.userPage : <== Total: 1 +2023-06-06 18:04:20.493 INFO 24412 --- [Thread-18] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2023-06-06 18:04:20.512 INFO 24412 --- [Thread-18] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2023-06-06 18:04:20.517 INFO 24412 --- [Thread-18] io.undertow.servlet : Destroying Spring FrameworkServlet 'dispatcherServlet' diff --git a/xzs/log/xzs.20230607.log b/xzs/log/xzs.20230607.log new file mode 100644 index 0000000..6ecdd50 --- /dev/null +++ b/xzs/log/xzs.20230607.log @@ -0,0 +1,400 @@ +2023-06-07 08:58:10.249 INFO 15556 --- [restartedMain] com.mindskip.xzs.XzsApplication : Starting XzsApplication on DESKTOP-7A2KHS1 with PID 15556 (E:\ycll\qyksxt\xzs\target\classes started by qirong in E:\ycll\qyksxt\xzs) +2023-06-07 08:58:10.252 INFO 15556 --- [restartedMain] com.mindskip.xzs.XzsApplication : The following profiles are active: dev +2023-06-07 08:58:10.319 INFO 15556 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2023-06-07 08:58:10.319 INFO 15556 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2023-06-07 08:58:13.966 WARN 15556 --- [restartedMain] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used +2023-06-07 08:58:13.997 INFO 15556 --- [restartedMain] io.undertow.servlet : Initializing Spring embedded WebApplicationContext +2023-06-07 08:58:13.998 INFO 15556 --- [restartedMain] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3679 ms +2023-06-07 08:58:15.287 INFO 15556 --- [restartedMain] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7bd9c796, org.springframework.security.web.context.SecurityContextPersistenceFilter@120c4073, org.springframework.security.web.header.HeaderWriterFilter@211f918d, org.springframework.web.filter.CorsFilter@9ae5e87, org.springframework.security.web.authentication.logout.LogoutFilter@1da2c406, com.mindskip.xzs.configuration.spring.security.RestLoginAuthenticationFilter@bdee800, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@161b8445, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2095fcec, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@16c78fa1, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@70fed14c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1de586bb, org.springframework.security.web.session.SessionManagementFilter@44a9086e, org.springframework.security.web.access.ExceptionTranslationFilter@75f1e444, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@594ace7b] +2023-06-07 08:58:15.963 INFO 15556 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2023-06-07 08:58:16.063 INFO 15556 --- [restartedMain] org.xnio : XNIO version 3.3.8.Final +2023-06-07 08:58:16.074 INFO 15556 --- [restartedMain] org.xnio.nio : XNIO NIO Implementation Version 3.3.8.Final +2023-06-07 08:58:16.150 INFO 15556 --- [restartedMain] o.s.b.w.e.u.UndertowServletWebServer : Undertow started on port(s) 8000 (http) with context path '' +2023-06-07 08:58:16.154 INFO 15556 --- [restartedMain] com.mindskip.xzs.XzsApplication : Started XzsApplication in 6.633 seconds (JVM running for 8.479) +2023-06-07 08:58:45.649 INFO 15556 --- [XNIO-1 task-1] io.undertow.servlet : Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-06-07 08:58:45.649 INFO 15556 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2023-06-07 08:58:45.661 INFO 15556 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 12 ms +2023-06-07 09:00:22.469 INFO 15556 --- [XNIO-1 task-11] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2023-06-07 09:00:22.716 INFO 15556 --- [XNIO-1 task-11] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2023-06-07 09:00:22.727 DEBUG 15556 --- [XNIO-1 task-11] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-07 09:00:22.753 DEBUG 15556 --- [XNIO-1 task-11] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-07 09:00:22.779 DEBUG 15556 --- [XNIO-1 task-11] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-07 09:00:23.377 DEBUG 15556 --- [XNIO-1 task-11] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-07 09:00:23.377 DEBUG 15556 --- [XNIO-1 task-11] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-07 09:00:23.386 DEBUG 15556 --- [XNIO-1 task-11] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-07 09:00:23.401 DEBUG 15556 --- [XNIO-1 task-11] r.c.m.x.r.U.insertSelective : ==> Preparing: insert into t_user_event_log ( user_id, user_name, real_name, content, create_time ) values ( ?, ?, ?, ?, ? ) +2023-06-07 09:00:23.404 DEBUG 15556 --- [XNIO-1 task-11] r.c.m.x.r.U.insertSelective : ==> Parameters: 2(Integer), admin(String), 绠$悊鍛�(String), admin 鐧诲綍浜嗗涔嬫�濆紑婧愯�冭瘯绯荤粺(String), 2023-06-07 09:00:23.386(Timestamp) +2023-06-07 09:00:23.428 DEBUG 15556 --- [XNIO-1 task-11] r.c.m.x.r.U.insertSelective : <== Updates: 1 +2023-06-07 09:00:23.534 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper where deleted=0 +2023-06-07 09:00:23.534 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:00:23.544 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:00:23.545 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Preparing: SELECT count(*) from t_question where deleted=0 +2023-06-07 09:00:23.546 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Parameters: +2023-06-07 09:00:23.552 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.QuestionMapper.selectAllCount : <== Total: 1 +2023-06-07 09:00:23.554 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_answer +2023-06-07 09:00:23.554 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:00:23.561 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:00:23.562 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_question_customer_answer +2023-06-07 09:00:23.562 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:00:23.571 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:00:23.582 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.U.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_user_event_log WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:00:23.583 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.U.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:00:23.595 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.U.selectCountByDate : <== Total: 4 +2023-06-07 09:00:23.598 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_exam_paper_question_customer_answer WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:00:23.598 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:00:23.610 DEBUG 15556 --- [XNIO-1 task-12] r.c.m.x.r.E.selectCountByDate : <== Total: 3 +2023-06-07 09:00:46.137 DEBUG 15556 --- [XNIO-1 task-13] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-07 09:00:46.137 DEBUG 15556 --- [XNIO-1 task-13] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-07 09:00:46.149 DEBUG 15556 --- [XNIO-1 task-13] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-07 09:00:46.153 DEBUG 15556 --- [XNIO-1 task-13] r.c.m.xzs.repository.SubjectMapper.page : ==> Preparing: SELECT id, name, level, level_name, item_order, deleted FROM t_subject WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:00:46.153 DEBUG 15556 --- [XNIO-1 task-13] r.c.m.xzs.repository.SubjectMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:00:46.161 DEBUG 15556 --- [XNIO-1 task-13] r.c.m.xzs.repository.SubjectMapper.page : <== Total: 1 +2023-06-07 09:01:26.211 DEBUG 15556 --- [XNIO-1 task-14] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-07 09:01:26.211 DEBUG 15556 --- [XNIO-1 task-14] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-07 09:01:26.217 DEBUG 15556 --- [XNIO-1 task-14] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-07 09:01:26.218 DEBUG 15556 --- [XNIO-1 task-14] r.c.m.xzs.repository.SubjectMapper.page : ==> Preparing: SELECT id, name, level, level_name, item_order, deleted FROM t_subject WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:01:26.218 DEBUG 15556 --- [XNIO-1 task-14] r.c.m.xzs.repository.SubjectMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:01:26.225 DEBUG 15556 --- [XNIO-1 task-14] r.c.m.xzs.repository.SubjectMapper.page : <== Total: 1 +2023-06-07 09:11:17.601 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper where deleted=0 +2023-06-07 09:11:17.615 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:11:17.629 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:11:17.637 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Preparing: SELECT count(*) from t_question where deleted=0 +2023-06-07 09:11:17.638 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Parameters: +2023-06-07 09:11:17.648 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.QuestionMapper.selectAllCount : <== Total: 1 +2023-06-07 09:11:17.651 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_answer +2023-06-07 09:11:17.652 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:11:17.663 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:11:17.671 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_question_customer_answer +2023-06-07 09:11:17.674 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:11:17.690 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:11:17.707 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.U.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_user_event_log WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:11:17.710 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.U.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:11:17.730 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.U.selectCountByDate : <== Total: 4 +2023-06-07 09:11:17.741 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_exam_paper_question_customer_answer WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:11:17.742 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:11:17.750 DEBUG 15556 --- [XNIO-1 task-19] r.c.m.x.r.E.selectCountByDate : <== Total: 3 +2023-06-07 09:12:15.425 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper where deleted=0 +2023-06-07 09:12:15.425 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:12:15.436 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:12:15.445 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Preparing: SELECT count(*) from t_question where deleted=0 +2023-06-07 09:12:15.445 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Parameters: +2023-06-07 09:12:15.452 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.QuestionMapper.selectAllCount : <== Total: 1 +2023-06-07 09:12:15.454 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_answer +2023-06-07 09:12:15.454 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:12:15.462 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:12:15.463 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_question_customer_answer +2023-06-07 09:12:15.463 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:12:15.471 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:12:15.473 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.U.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_user_event_log WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:12:15.474 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.U.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:12:15.488 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.U.selectCountByDate : <== Total: 4 +2023-06-07 09:12:15.491 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_exam_paper_question_customer_answer WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:12:15.493 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:12:15.500 DEBUG 15556 --- [XNIO-1 task-20] r.c.m.x.r.E.selectCountByDate : <== Total: 3 +2023-06-07 09:12:19.165 DEBUG 15556 --- [XNIO-1 task-21] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-07 09:12:19.165 DEBUG 15556 --- [XNIO-1 task-21] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-07 09:12:19.173 DEBUG 15556 --- [XNIO-1 task-21] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-07 09:12:19.177 DEBUG 15556 --- [XNIO-1 task-21] r.c.m.xzs.repository.SubjectMapper.page : ==> Preparing: SELECT id, name, level, level_name, item_order, deleted FROM t_subject WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:12:19.178 DEBUG 15556 --- [XNIO-1 task-21] r.c.m.xzs.repository.SubjectMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:12:19.187 DEBUG 15556 --- [XNIO-1 task-21] r.c.m.xzs.repository.SubjectMapper.page : <== Total: 1 +2023-06-07 09:13:47.395 DEBUG 15556 --- [XNIO-1 task-22] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-07 09:13:47.396 DEBUG 15556 --- [XNIO-1 task-22] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-07 09:13:47.403 DEBUG 15556 --- [XNIO-1 task-22] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-07 09:13:47.405 DEBUG 15556 --- [XNIO-1 task-22] r.c.m.xzs.repository.SubjectMapper.page : ==> Preparing: SELECT id, name, level, level_name, item_order, deleted FROM t_subject WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:13:47.405 DEBUG 15556 --- [XNIO-1 task-22] r.c.m.xzs.repository.SubjectMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:13:47.413 DEBUG 15556 --- [XNIO-1 task-22] r.c.m.xzs.repository.SubjectMapper.page : <== Total: 1 +2023-06-07 09:14:51.129 DEBUG 15556 --- [XNIO-1 task-23] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-07 09:14:51.129 DEBUG 15556 --- [XNIO-1 task-23] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-07 09:14:51.136 DEBUG 15556 --- [XNIO-1 task-23] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-07 09:14:51.138 DEBUG 15556 --- [XNIO-1 task-23] r.c.m.xzs.repository.SubjectMapper.page : ==> Preparing: SELECT id, name, level, level_name, item_order, deleted FROM t_subject WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:14:51.138 DEBUG 15556 --- [XNIO-1 task-23] r.c.m.xzs.repository.SubjectMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:14:51.146 DEBUG 15556 --- [XNIO-1 task-23] r.c.m.xzs.repository.SubjectMapper.page : <== Total: 1 +2023-06-07 09:14:57.018 DEBUG 15556 --- [XNIO-1 task-24] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-07 09:14:57.018 DEBUG 15556 --- [XNIO-1 task-24] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-07 09:14:57.035 DEBUG 15556 --- [XNIO-1 task-24] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-07 09:14:57.039 DEBUG 15556 --- [XNIO-1 task-24] r.c.m.xzs.repository.SubjectMapper.page : ==> Preparing: SELECT id, name, level, level_name, item_order, deleted FROM t_subject WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:14:57.039 DEBUG 15556 --- [XNIO-1 task-24] r.c.m.xzs.repository.SubjectMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:14:57.050 DEBUG 15556 --- [XNIO-1 task-24] r.c.m.xzs.repository.SubjectMapper.page : <== Total: 1 +2023-06-07 09:15:48.711 DEBUG 15556 --- [XNIO-1 task-25] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-07 09:15:48.711 DEBUG 15556 --- [XNIO-1 task-25] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-07 09:15:48.723 DEBUG 15556 --- [XNIO-1 task-25] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-07 09:15:48.724 DEBUG 15556 --- [XNIO-1 task-25] r.c.m.xzs.repository.SubjectMapper.page : ==> Preparing: SELECT id, name, level, level_name, item_order, deleted FROM t_subject WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:15:48.725 DEBUG 15556 --- [XNIO-1 task-25] r.c.m.xzs.repository.SubjectMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:15:48.736 DEBUG 15556 --- [XNIO-1 task-25] r.c.m.xzs.repository.SubjectMapper.page : <== Total: 1 +2023-06-07 09:17:39.995 DEBUG 15556 --- [XNIO-1 task-26] r.c.m.x.r.TaskExamMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_task_exam WHERE deleted = 0 +2023-06-07 09:17:39.995 DEBUG 15556 --- [XNIO-1 task-26] r.c.m.x.r.TaskExamMapper.page_COUNT : ==> Parameters: +2023-06-07 09:17:40.013 DEBUG 15556 --- [XNIO-1 task-26] r.c.m.x.r.TaskExamMapper.page_COUNT : <== Total: 1 +2023-06-07 09:17:40.017 DEBUG 15556 --- [XNIO-1 task-26] r.c.m.x.repository.TaskExamMapper.page : ==> Preparing: SELECT id, title, grade_level, frame_text_content_id, create_user, create_time, deleted, create_user_name FROM t_task_exam WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:17:40.018 DEBUG 15556 --- [XNIO-1 task-26] r.c.m.x.repository.TaskExamMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:17:40.026 DEBUG 15556 --- [XNIO-1 task-26] r.c.m.x.repository.TaskExamMapper.page : <== Total: 1 +2023-06-07 09:17:45.068 DEBUG 15556 --- [XNIO-1 task-27] r.c.m.x.r.SubjectMapper.allSubject : ==> Preparing: select id, name, level, level_name, item_order, deleted from t_subject +2023-06-07 09:17:45.068 DEBUG 15556 --- [XNIO-1 task-27] r.c.m.x.r.SubjectMapper.allSubject : ==> Parameters: +2023-06-07 09:17:45.077 DEBUG 15556 --- [XNIO-1 task-27] r.c.m.x.r.SubjectMapper.allSubject : <== Total: 1 +2023-06-07 09:17:47.633 DEBUG 15556 --- [XNIO-1 task-28] r.c.m.x.r.SubjectMapper.allSubject : ==> Preparing: select id, name, level, level_name, item_order, deleted from t_subject +2023-06-07 09:17:47.633 DEBUG 15556 --- [XNIO-1 task-29] r.c.m.x.r.ExamPaperMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_exam_paper WHERE deleted = 0 +2023-06-07 09:17:47.633 DEBUG 15556 --- [XNIO-1 task-28] r.c.m.x.r.SubjectMapper.allSubject : ==> Parameters: +2023-06-07 09:17:47.633 DEBUG 15556 --- [XNIO-1 task-29] r.c.m.x.r.ExamPaperMapper.page_COUNT : ==> Parameters: +2023-06-07 09:17:47.641 DEBUG 15556 --- [XNIO-1 task-28] r.c.m.x.r.SubjectMapper.allSubject : <== Total: 1 +2023-06-07 09:17:47.641 DEBUG 15556 --- [XNIO-1 task-29] r.c.m.x.r.ExamPaperMapper.page_COUNT : <== Total: 1 +2023-06-07 09:17:47.644 DEBUG 15556 --- [XNIO-1 task-29] r.c.m.x.repository.ExamPaperMapper.page : ==> Preparing: SELECT id, name, subject_id, paper_type, grade_level, score, question_count, suggest_time, limit_start_time, limit_end_time, frame_text_content_id, create_user, create_time, deleted, task_exam_id FROM t_exam_paper WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:17:47.644 DEBUG 15556 --- [XNIO-1 task-29] r.c.m.x.repository.ExamPaperMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:17:47.655 DEBUG 15556 --- [XNIO-1 task-29] r.c.m.x.repository.ExamPaperMapper.page : <== Total: 3 +2023-06-07 09:17:53.378 DEBUG 15556 --- [XNIO-1 task-30] r.c.m.x.r.SubjectMapper.allSubject : ==> Preparing: select id, name, level, level_name, item_order, deleted from t_subject +2023-06-07 09:17:53.380 DEBUG 15556 --- [XNIO-1 task-30] r.c.m.x.r.SubjectMapper.allSubject : ==> Parameters: +2023-06-07 09:17:53.388 DEBUG 15556 --- [XNIO-1 task-30] r.c.m.x.r.SubjectMapper.allSubject : <== Total: 1 +2023-06-07 09:17:53.654 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.QuestionMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_question WHERE deleted = 0 +2023-06-07 09:17:53.656 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.QuestionMapper.page_COUNT : ==> Parameters: +2023-06-07 09:17:53.662 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.QuestionMapper.page_COUNT : <== Total: 1 +2023-06-07 09:17:53.664 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.repository.QuestionMapper.page : ==> Preparing: SELECT id, question_type, subject_id, score, grade_level, difficult, correct, info_text_content_id, create_user, status, create_time, deleted FROM t_question WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:17:53.664 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.repository.QuestionMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:17:53.721 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.repository.QuestionMapper.page : <== Total: 10 +2023-06-07 09:17:53.752 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.753 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 36(Integer) +2023-06-07 09:17:53.761 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:53.799 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.800 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 35(Integer) +2023-06-07 09:17:53.807 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:53.808 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.808 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 34(Integer) +2023-06-07 09:17:53.816 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:53.819 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.819 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 33(Integer) +2023-06-07 09:17:53.826 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:53.827 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.827 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 32(Integer) +2023-06-07 09:17:53.836 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:53.839 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.839 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 31(Integer) +2023-06-07 09:17:53.846 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:53.849 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.849 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 30(Integer) +2023-06-07 09:17:53.856 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:53.858 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.858 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 28(Integer) +2023-06-07 09:17:53.865 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:53.866 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.866 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 26(Integer) +2023-06-07 09:17:53.887 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:53.889 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:53.889 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 24(Integer) +2023-06-07 09:17:53.909 DEBUG 15556 --- [XNIO-1 task-31] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:54.952 DEBUG 15556 --- [XNIO-1 task-32] r.c.m.x.r.SubjectMapper.allSubject : ==> Preparing: select id, name, level, level_name, item_order, deleted from t_subject +2023-06-07 09:17:54.953 DEBUG 15556 --- [XNIO-1 task-32] r.c.m.x.r.SubjectMapper.allSubject : ==> Parameters: +2023-06-07 09:17:54.954 DEBUG 15556 --- [XNIO-1 task-33] r.c.m.x.r.ExamPaperMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_exam_paper WHERE deleted = 0 +2023-06-07 09:17:54.954 DEBUG 15556 --- [XNIO-1 task-33] r.c.m.x.r.ExamPaperMapper.page_COUNT : ==> Parameters: +2023-06-07 09:17:54.961 DEBUG 15556 --- [XNIO-1 task-32] r.c.m.x.r.SubjectMapper.allSubject : <== Total: 1 +2023-06-07 09:17:54.964 DEBUG 15556 --- [XNIO-1 task-33] r.c.m.x.r.ExamPaperMapper.page_COUNT : <== Total: 1 +2023-06-07 09:17:54.965 DEBUG 15556 --- [XNIO-1 task-33] r.c.m.x.repository.ExamPaperMapper.page : ==> Preparing: SELECT id, name, subject_id, paper_type, grade_level, score, question_count, suggest_time, limit_start_time, limit_end_time, frame_text_content_id, create_user, create_time, deleted, task_exam_id FROM t_exam_paper WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:17:54.965 DEBUG 15556 --- [XNIO-1 task-33] r.c.m.x.repository.ExamPaperMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:17:54.976 DEBUG 15556 --- [XNIO-1 task-33] r.c.m.x.repository.ExamPaperMapper.page : <== Total: 3 +2023-06-07 09:17:56.964 DEBUG 15556 --- [XNIO-1 task-34] r.c.m.x.r.SubjectMapper.allSubject : ==> Preparing: select id, name, level, level_name, item_order, deleted from t_subject +2023-06-07 09:17:56.964 DEBUG 15556 --- [XNIO-1 task-34] r.c.m.x.r.SubjectMapper.allSubject : ==> Parameters: +2023-06-07 09:17:56.973 DEBUG 15556 --- [XNIO-1 task-34] r.c.m.x.r.SubjectMapper.allSubject : <== Total: 1 +2023-06-07 09:17:57.264 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.QuestionMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_question WHERE deleted = 0 +2023-06-07 09:17:57.265 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.QuestionMapper.page_COUNT : ==> Parameters: +2023-06-07 09:17:57.271 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.QuestionMapper.page_COUNT : <== Total: 1 +2023-06-07 09:17:57.272 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.repository.QuestionMapper.page : ==> Preparing: SELECT id, question_type, subject_id, score, grade_level, difficult, correct, info_text_content_id, create_user, status, create_time, deleted FROM t_question WHERE deleted = 0 order by id desc LIMIT ? +2023-06-07 09:17:57.272 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.repository.QuestionMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:17:57.295 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.repository.QuestionMapper.page : <== Total: 10 +2023-06-07 09:17:57.296 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.296 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 36(Integer) +2023-06-07 09:17:57.306 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:57.307 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.308 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 35(Integer) +2023-06-07 09:17:57.314 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:57.315 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.315 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 34(Integer) +2023-06-07 09:17:57.322 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:57.323 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.324 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 33(Integer) +2023-06-07 09:17:57.331 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:57.333 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.333 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 32(Integer) +2023-06-07 09:17:57.340 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:57.345 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.345 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 31(Integer) +2023-06-07 09:17:57.355 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:57.357 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.357 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 30(Integer) +2023-06-07 09:17:57.365 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:57.366 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.366 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 28(Integer) +2023-06-07 09:17:57.373 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:57.375 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.375 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 26(Integer) +2023-06-07 09:17:57.385 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:17:57.387 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Preparing: select id, content, create_time from t_text_content where id = ? +2023-06-07 09:17:57.387 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : ==> Parameters: 24(Integer) +2023-06-07 09:17:57.404 DEBUG 15556 --- [XNIO-1 task-35] r.c.m.x.r.T.selectByPrimaryKey : <== Total: 1 +2023-06-07 09:19:30.913 DEBUG 15556 --- [XNIO-1 task-36] r.c.m.x.r.SubjectMapper.allSubject : ==> Preparing: select id, name, level, level_name, item_order, deleted from t_subject +2023-06-07 09:19:30.914 DEBUG 15556 --- [XNIO-1 task-36] r.c.m.x.r.SubjectMapper.allSubject : ==> Parameters: +2023-06-07 09:19:30.917 DEBUG 15556 --- [XNIO-1 task-37] r.c.m.x.r.QuestionMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_question WHERE deleted = 0 +2023-06-07 09:19:30.917 DEBUG 15556 --- [XNIO-1 task-37] r.c.m.x.r.QuestionMapper.page_COUNT : ==> Parameters: +2023-06-07 09:19:30.921 DEBUG 15556 --- [XNIO-1 task-36] r.c.m.x.r.SubjectMapper.allSubject : <== Total: 0 +2023-06-07 09:19:30.926 DEBUG 15556 --- [XNIO-1 task-37] r.c.m.x.r.QuestionMapper.page_COUNT : <== Total: 1 +2023-06-07 09:19:33.656 DEBUG 15556 --- [XNIO-1 task-39] r.c.m.x.r.SubjectMapper.allSubject : ==> Preparing: select id, name, level, level_name, item_order, deleted from t_subject +2023-06-07 09:19:33.656 DEBUG 15556 --- [XNIO-1 task-38] r.c.m.x.r.ExamPaperMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_exam_paper WHERE deleted = 0 +2023-06-07 09:19:33.656 DEBUG 15556 --- [XNIO-1 task-39] r.c.m.x.r.SubjectMapper.allSubject : ==> Parameters: +2023-06-07 09:19:33.656 DEBUG 15556 --- [XNIO-1 task-38] r.c.m.x.r.ExamPaperMapper.page_COUNT : ==> Parameters: +2023-06-07 09:19:33.664 DEBUG 15556 --- [XNIO-1 task-39] r.c.m.x.r.SubjectMapper.allSubject : <== Total: 0 +2023-06-07 09:19:33.665 DEBUG 15556 --- [XNIO-1 task-38] r.c.m.x.r.ExamPaperMapper.page_COUNT : <== Total: 1 +2023-06-07 09:19:37.310 DEBUG 15556 --- [XNIO-1 task-40] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Preparing: SELECT count(0) FROM t_user WHERE deleted = 0 AND role = ? +2023-06-07 09:19:37.310 DEBUG 15556 --- [XNIO-1 task-40] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Parameters: 1(Integer) +2023-06-07 09:19:37.319 DEBUG 15556 --- [XNIO-1 task-40] r.c.m.x.r.UserMapper.userPage_COUNT : <== Total: 1 +2023-06-07 09:19:37.321 DEBUG 15556 --- [XNIO-1 task-40] r.c.m.x.repository.UserMapper.userPage : ==> Preparing: SELECT id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id FROM t_user WHERE deleted = 0 AND role = ? order by id desc LIMIT ? +2023-06-07 09:19:37.321 DEBUG 15556 --- [XNIO-1 task-40] r.c.m.x.repository.UserMapper.userPage : ==> Parameters: 1(Integer), 10(Integer) +2023-06-07 09:19:37.332 DEBUG 15556 --- [XNIO-1 task-40] r.c.m.x.repository.UserMapper.userPage : <== Total: 1 +2023-06-07 09:19:39.896 DEBUG 15556 --- [XNIO-1 task-41] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Preparing: SELECT count(0) FROM t_user WHERE deleted = 0 AND role = ? +2023-06-07 09:19:39.896 DEBUG 15556 --- [XNIO-1 task-41] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Parameters: 3(Integer) +2023-06-07 09:19:39.904 DEBUG 15556 --- [XNIO-1 task-41] r.c.m.x.r.UserMapper.userPage_COUNT : <== Total: 1 +2023-06-07 09:19:39.904 DEBUG 15556 --- [XNIO-1 task-41] r.c.m.x.repository.UserMapper.userPage : ==> Preparing: SELECT id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id FROM t_user WHERE deleted = 0 AND role = ? order by id desc LIMIT ? +2023-06-07 09:19:39.906 DEBUG 15556 --- [XNIO-1 task-41] r.c.m.x.repository.UserMapper.userPage : ==> Parameters: 3(Integer), 10(Integer) +2023-06-07 09:19:39.913 DEBUG 15556 --- [XNIO-1 task-41] r.c.m.x.repository.UserMapper.userPage : <== Total: 1 +2023-06-07 09:22:35.467 DEBUG 15556 --- [XNIO-1 task-42] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Preparing: SELECT count(0) FROM t_user WHERE deleted = 0 AND role = ? +2023-06-07 09:22:35.468 DEBUG 15556 --- [XNIO-1 task-42] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Parameters: 3(Integer) +2023-06-07 09:22:35.479 DEBUG 15556 --- [XNIO-1 task-42] r.c.m.x.r.UserMapper.userPage_COUNT : <== Total: 1 +2023-06-07 09:22:35.481 DEBUG 15556 --- [XNIO-1 task-42] r.c.m.x.repository.UserMapper.userPage : ==> Preparing: SELECT id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id FROM t_user WHERE deleted = 0 AND role = ? order by id desc LIMIT ? +2023-06-07 09:22:35.482 DEBUG 15556 --- [XNIO-1 task-42] r.c.m.x.repository.UserMapper.userPage : ==> Parameters: 3(Integer), 10(Integer) +2023-06-07 09:22:35.489 DEBUG 15556 --- [XNIO-1 task-42] r.c.m.x.repository.UserMapper.userPage : <== Total: 1 +2023-06-07 09:22:40.704 DEBUG 15556 --- [XNIO-1 task-43] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Preparing: SELECT count(0) FROM t_user WHERE deleted = 0 AND role = ? +2023-06-07 09:22:40.704 DEBUG 15556 --- [XNIO-1 task-43] r.c.m.x.r.UserMapper.userPage_COUNT : ==> Parameters: 3(Integer) +2023-06-07 09:22:40.711 DEBUG 15556 --- [XNIO-1 task-43] r.c.m.x.r.UserMapper.userPage_COUNT : <== Total: 1 +2023-06-07 09:22:40.713 DEBUG 15556 --- [XNIO-1 task-43] r.c.m.x.repository.UserMapper.userPage : ==> Preparing: SELECT id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id FROM t_user WHERE deleted = 0 AND role = ? order by id desc LIMIT ? +2023-06-07 09:22:40.713 DEBUG 15556 --- [XNIO-1 task-43] r.c.m.x.repository.UserMapper.userPage : ==> Parameters: 3(Integer), 10(Integer) +2023-06-07 09:22:40.734 DEBUG 15556 --- [XNIO-1 task-43] r.c.m.x.repository.UserMapper.userPage : <== Total: 1 +2023-06-07 09:22:45.813 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper where deleted=0 +2023-06-07 09:22:45.813 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:22:45.820 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:22:45.820 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Preparing: SELECT count(*) from t_question where deleted=0 +2023-06-07 09:22:45.820 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Parameters: +2023-06-07 09:22:45.828 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.QuestionMapper.selectAllCount : <== Total: 1 +2023-06-07 09:22:45.829 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_answer +2023-06-07 09:22:45.829 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:22:45.836 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:22:45.837 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_question_customer_answer +2023-06-07 09:22:45.837 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:22:45.844 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:22:45.845 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.U.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_user_event_log WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:22:45.856 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.U.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:22:45.864 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.U.selectCountByDate : <== Total: 4 +2023-06-07 09:22:45.865 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_exam_paper_question_customer_answer WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:22:45.867 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:22:45.875 DEBUG 15556 --- [XNIO-1 task-44] r.c.m.x.r.E.selectCountByDate : <== Total: 0 +2023-06-07 09:22:49.065 DEBUG 15556 --- [XNIO-1 task-45] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-07 09:22:49.065 DEBUG 15556 --- [XNIO-1 task-45] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-07 09:22:49.075 DEBUG 15556 --- [XNIO-1 task-45] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-07 09:23:02.016 DEBUG 15556 --- [XNIO-1 task-46] r.c.m.x.r.UserEventLogMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_user_event_log +2023-06-07 09:23:02.016 DEBUG 15556 --- [XNIO-1 task-46] r.c.m.x.r.UserEventLogMapper.page_COUNT : ==> Parameters: +2023-06-07 09:23:02.028 DEBUG 15556 --- [XNIO-1 task-46] r.c.m.x.r.UserEventLogMapper.page_COUNT : <== Total: 1 +2023-06-07 09:23:02.030 DEBUG 15556 --- [XNIO-1 task-46] r.c.m.x.r.UserEventLogMapper.page : ==> Preparing: SELECT id, user_id, user_name, real_name, content, create_time FROM t_user_event_log order by id desc LIMIT ? +2023-06-07 09:23:02.030 DEBUG 15556 --- [XNIO-1 task-46] r.c.m.x.r.UserEventLogMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:23:02.040 DEBUG 15556 --- [XNIO-1 task-46] r.c.m.x.r.UserEventLogMapper.page : <== Total: 10 +2023-06-07 09:24:07.737 INFO 15556 --- [Thread-22] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2023-06-07 09:24:07.759 INFO 15556 --- [Thread-22] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2023-06-07 09:24:07.770 INFO 15556 --- [Thread-22] io.undertow.servlet : Destroying Spring FrameworkServlet 'dispatcherServlet' +2023-06-07 09:24:20.366 INFO 5652 --- [restartedMain] com.mindskip.xzs.XzsApplication : Starting XzsApplication on DESKTOP-7A2KHS1 with PID 5652 (E:\ycll\qyksxt\xzs\target\classes started by qirong in E:\ycll\qyksxt\xzs) +2023-06-07 09:24:20.369 INFO 5652 --- [restartedMain] com.mindskip.xzs.XzsApplication : The following profiles are active: dev +2023-06-07 09:24:20.443 INFO 5652 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2023-06-07 09:24:20.443 INFO 5652 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2023-06-07 09:24:23.198 WARN 5652 --- [restartedMain] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used +2023-06-07 09:24:23.231 INFO 5652 --- [restartedMain] io.undertow.servlet : Initializing Spring embedded WebApplicationContext +2023-06-07 09:24:23.231 INFO 5652 --- [restartedMain] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2788 ms +2023-06-07 09:24:24.404 INFO 5652 --- [restartedMain] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5b1b3c82, org.springframework.security.web.context.SecurityContextPersistenceFilter@400142e, org.springframework.security.web.header.HeaderWriterFilter@16a8e1d8, org.springframework.web.filter.CorsFilter@37da98e1, org.springframework.security.web.authentication.logout.LogoutFilter@461178b6, com.mindskip.xzs.configuration.spring.security.RestLoginAuthenticationFilter@9d0000e, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@6207af5c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@292bfb8c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@c0ac366, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@13ea3e73, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3d153672, org.springframework.security.web.session.SessionManagementFilter@2c42a2d4, org.springframework.security.web.access.ExceptionTranslationFilter@3a7a1103, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3e016a11] +2023-06-07 09:24:24.687 INFO 5652 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2023-06-07 09:24:24.772 INFO 5652 --- [restartedMain] org.xnio : XNIO version 3.3.8.Final +2023-06-07 09:24:24.786 INFO 5652 --- [restartedMain] org.xnio.nio : XNIO NIO Implementation Version 3.3.8.Final +2023-06-07 09:24:24.860 INFO 5652 --- [restartedMain] o.s.b.w.e.u.UndertowServletWebServer : Undertow started on port(s) 8000 (http) with context path '' +2023-06-07 09:24:24.863 INFO 5652 --- [restartedMain] com.mindskip.xzs.XzsApplication : Started XzsApplication in 5.24 seconds (JVM running for 6.547) +2023-06-07 09:25:06.006 INFO 5652 --- [XNIO-1 task-1] io.undertow.servlet : Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-06-07 09:25:06.006 INFO 5652 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2023-06-07 09:25:06.027 INFO 5652 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 21 ms +2023-06-07 09:25:06.078 INFO 5652 --- [XNIO-1 task-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2023-06-07 09:25:06.291 INFO 5652 --- [XNIO-1 task-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2023-06-07 09:25:06.299 DEBUG 5652 --- [XNIO-1 task-1] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-07 09:25:06.322 DEBUG 5652 --- [XNIO-1 task-1] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-07 09:25:06.349 DEBUG 5652 --- [XNIO-1 task-1] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-07 09:25:06.367 DEBUG 5652 --- [XNIO-1 task-1] r.c.m.x.r.U.insertSelective : ==> Preparing: insert into t_user_event_log ( user_id, user_name, real_name, content, create_time ) values ( ?, ?, ?, ?, ? ) +2023-06-07 09:25:06.369 DEBUG 5652 --- [XNIO-1 task-1] r.c.m.x.r.U.insertSelective : ==> Parameters: 2(Integer), admin(String), 绠$悊鍛�(String), admin 鐧诲嚭浜嗗涔嬫�濆紑婧愯�冭瘯绯荤粺(String), 2023-06-07 09:25:06.353(Timestamp) +2023-06-07 09:25:06.391 DEBUG 5652 --- [XNIO-1 task-1] r.c.m.x.r.U.insertSelective : <== Updates: 1 +2023-06-07 09:25:13.501 DEBUG 5652 --- [XNIO-1 task-2] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-07 09:25:13.502 DEBUG 5652 --- [XNIO-1 task-2] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-07 09:25:13.511 DEBUG 5652 --- [XNIO-1 task-2] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-07 09:25:13.850 DEBUG 5652 --- [XNIO-1 task-2] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-07 09:25:13.850 DEBUG 5652 --- [XNIO-1 task-2] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-07 09:25:13.859 DEBUG 5652 --- [XNIO-1 task-2] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-07 09:25:13.861 DEBUG 5652 --- [XNIO-1 task-2] r.c.m.x.r.U.insertSelective : ==> Preparing: insert into t_user_event_log ( user_id, user_name, real_name, content, create_time ) values ( ?, ?, ?, ?, ? ) +2023-06-07 09:25:13.863 DEBUG 5652 --- [XNIO-1 task-2] r.c.m.x.r.U.insertSelective : ==> Parameters: 2(Integer), admin(String), 绠$悊鍛�(String), admin 鐧诲綍浜嗚�冭瘯绯荤粺(String), 2023-06-07 09:25:13.86(Timestamp) +2023-06-07 09:25:13.896 DEBUG 5652 --- [XNIO-1 task-2] r.c.m.x.r.U.insertSelective : <== Updates: 1 +2023-06-07 09:25:14.010 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper where deleted=0 +2023-06-07 09:25:14.011 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:25:14.021 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:25:14.023 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Preparing: SELECT count(*) from t_question where deleted=0 +2023-06-07 09:25:14.023 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Parameters: +2023-06-07 09:25:14.036 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.QuestionMapper.selectAllCount : <== Total: 1 +2023-06-07 09:25:14.037 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_answer +2023-06-07 09:25:14.037 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:25:14.045 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:25:14.047 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_question_customer_answer +2023-06-07 09:25:14.047 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 09:25:14.055 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 09:25:14.061 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.U.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_user_event_log WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:25:14.063 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.U.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:25:14.072 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.U.selectCountByDate : <== Total: 4 +2023-06-07 09:25:14.075 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_exam_paper_question_customer_answer WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 09:25:14.076 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 09:25:14.085 DEBUG 5652 --- [XNIO-1 task-3] r.c.m.x.r.E.selectCountByDate : <== Total: 0 +2023-06-07 09:25:17.267 DEBUG 5652 --- [XNIO-1 task-4] r.c.m.x.r.UserEventLogMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_user_event_log +2023-06-07 09:25:17.267 DEBUG 5652 --- [XNIO-1 task-4] r.c.m.x.r.UserEventLogMapper.page_COUNT : ==> Parameters: +2023-06-07 09:25:17.276 DEBUG 5652 --- [XNIO-1 task-4] r.c.m.x.r.UserEventLogMapper.page_COUNT : <== Total: 1 +2023-06-07 09:25:17.279 DEBUG 5652 --- [XNIO-1 task-4] r.c.m.x.r.UserEventLogMapper.page : ==> Preparing: SELECT id, user_id, user_name, real_name, content, create_time FROM t_user_event_log order by id desc LIMIT ? +2023-06-07 09:25:17.279 DEBUG 5652 --- [XNIO-1 task-4] r.c.m.x.r.UserEventLogMapper.page : ==> Parameters: 10(Integer) +2023-06-07 09:25:17.292 DEBUG 5652 --- [XNIO-1 task-4] r.c.m.x.r.UserEventLogMapper.page : <== Total: 10 +2023-06-07 09:31:46.098 DEBUG 5652 --- [XNIO-1 task-5] r.c.m.x.r.UserEventLogMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_user_event_log +2023-06-07 09:31:46.098 DEBUG 5652 --- [XNIO-1 task-5] r.c.m.x.r.UserEventLogMapper.page_COUNT : ==> Parameters: +2023-06-07 09:31:46.145 DEBUG 5652 --- [XNIO-1 task-5] r.c.m.x.r.UserEventLogMapper.page_COUNT : <== Total: 1 +2023-06-07 10:55:50.441 DEBUG 5652 --- [XNIO-1 task-9] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-07 10:55:50.449 DEBUG 5652 --- [XNIO-1 task-9] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-07 10:55:50.472 DEBUG 5652 --- [XNIO-1 task-9] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-07 10:55:50.487 DEBUG 5652 --- [XNIO-1 task-9] r.c.m.x.r.UserMapper.getUserByUserName : ==> Preparing: select id, user_uuid, user_name, password, real_name, age, sex, birth_day, user_level, phone, role, status, image_path, create_time, modify_time, last_active_time, deleted, wx_open_id from t_user where deleted=0 and user_name=? limit 1 +2023-06-07 10:55:50.488 DEBUG 5652 --- [XNIO-1 task-9] r.c.m.x.r.UserMapper.getUserByUserName : ==> Parameters: admin(String) +2023-06-07 10:55:50.502 DEBUG 5652 --- [XNIO-1 task-9] r.c.m.x.r.UserMapper.getUserByUserName : <== Total: 1 +2023-06-07 10:55:50.510 DEBUG 5652 --- [XNIO-1 task-9] r.c.m.x.r.U.insertSelective : ==> Preparing: insert into t_user_event_log ( user_id, user_name, real_name, content, create_time ) values ( ?, ?, ?, ?, ? ) +2023-06-07 10:55:50.513 DEBUG 5652 --- [XNIO-1 task-9] r.c.m.x.r.U.insertSelective : ==> Parameters: 2(Integer), admin(String), 绠$悊鍛�(String), admin 鐧诲綍浜嗚�冭瘯绯荤粺(String), 2023-06-07 10:55:50.504(Timestamp) +2023-06-07 10:55:50.535 DEBUG 5652 --- [XNIO-1 task-9] r.c.m.x.r.U.insertSelective : <== Updates: 1 +2023-06-07 10:55:50.639 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper where deleted=0 +2023-06-07 10:55:50.640 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 10:55:50.651 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 10:55:50.652 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Preparing: SELECT count(*) from t_question where deleted=0 +2023-06-07 10:55:50.653 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.QuestionMapper.selectAllCount : ==> Parameters: +2023-06-07 10:55:50.673 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.QuestionMapper.selectAllCount : <== Total: 1 +2023-06-07 10:55:50.678 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_answer +2023-06-07 10:55:50.679 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 10:55:50.691 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 10:55:50.695 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectAllCount : ==> Preparing: SELECT count(*) from t_exam_paper_question_customer_answer +2023-06-07 10:55:50.695 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectAllCount : ==> Parameters: +2023-06-07 10:55:50.707 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectAllCount : <== Total: 1 +2023-06-07 10:55:50.713 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.U.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_user_event_log WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 10:55:50.723 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.U.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 10:55:50.732 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.U.selectCountByDate : <== Total: 1 +2023-06-07 10:55:50.737 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectCountByDate : ==> Preparing: SELECT create_time as name,COUNT(create_time) as value from ( SELECT DATE_FORMAT(create_time,'%Y-%m-%d') as create_time from t_exam_paper_question_customer_answer WHERE create_time between ? and ? ) a GROUP BY create_time +2023-06-07 10:55:50.738 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectCountByDate : ==> Parameters: 2023-06-01 00:00:00.0(Timestamp), 2023-06-30 23:59:59.0(Timestamp) +2023-06-07 10:55:50.747 DEBUG 5652 --- [XNIO-1 task-10] r.c.m.x.r.E.selectCountByDate : <== Total: 0 +2023-06-07 10:56:03.783 DEBUG 5652 --- [XNIO-1 task-11] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Preparing: SELECT count(0) FROM t_subject WHERE deleted = 0 +2023-06-07 10:56:03.784 DEBUG 5652 --- [XNIO-1 task-11] r.c.m.x.r.SubjectMapper.page_COUNT : ==> Parameters: +2023-06-07 10:56:03.791 DEBUG 5652 --- [XNIO-1 task-11] r.c.m.x.r.SubjectMapper.page_COUNT : <== Total: 1 +2023-06-07 11:04:20.707 INFO 5652 --- [Thread-18] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2023-06-07 11:04:20.742 INFO 5652 --- [Thread-18] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2023-06-07 11:04:20.753 INFO 5652 --- [Thread-18] io.undertow.servlet : Destroying Spring FrameworkServlet 'dispatcherServlet' +2023-06-07 11:06:15.673 INFO 5104 --- [restartedMain] com.mindskip.xzs.XzsApplication : Starting XzsApplication on DESKTOP-7A2KHS1 with PID 5104 (E:\ycll\qyksxt\xzs\target\classes started by qirong in E:\ycll\qyksxt\xzs) +2023-06-07 11:06:15.676 INFO 5104 --- [restartedMain] com.mindskip.xzs.XzsApplication : The following profiles are active: dev +2023-06-07 11:06:15.736 INFO 5104 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2023-06-07 11:06:15.736 INFO 5104 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2023-06-07 11:06:18.468 WARN 5104 --- [restartedMain] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used +2023-06-07 11:06:18.504 INFO 5104 --- [restartedMain] io.undertow.servlet : Initializing Spring embedded WebApplicationContext +2023-06-07 11:06:18.504 INFO 5104 --- [restartedMain] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2768 ms +2023-06-07 11:06:19.827 INFO 5104 --- [restartedMain] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4a3a323a, org.springframework.security.web.context.SecurityContextPersistenceFilter@7add2362, org.springframework.security.web.header.HeaderWriterFilter@27e75f5b, org.springframework.web.filter.CorsFilter@5a35d19b, org.springframework.security.web.authentication.logout.LogoutFilter@484fd8e, com.mindskip.xzs.configuration.spring.security.RestLoginAuthenticationFilter@6945f363, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@76ce3b2d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@39cf2189, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4abb535f, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@6a151ded, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@aada50e, org.springframework.security.web.session.SessionManagementFilter@58502abf, org.springframework.security.web.access.ExceptionTranslationFilter@4316c6a4, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6b0f829a] +2023-06-07 11:06:20.264 INFO 5104 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 +2023-06-07 11:06:20.370 INFO 5104 --- [restartedMain] org.xnio : XNIO version 3.3.8.Final +2023-06-07 11:06:20.385 INFO 5104 --- [restartedMain] org.xnio.nio : XNIO NIO Implementation Version 3.3.8.Final +2023-06-07 11:06:20.495 INFO 5104 --- [restartedMain] o.s.b.w.e.u.UndertowServletWebServer : Undertow started on port(s) 8000 (http) with context path '' +2023-06-07 11:06:20.500 INFO 5104 --- [restartedMain] com.mindskip.xzs.XzsApplication : Started XzsApplication in 5.716 seconds (JVM running for 7.176) diff --git a/xzs/src/main/java/com/mindskip/xzs/configuration/spring/security/RestAuthenticationSuccessHandler.java b/xzs/src/main/java/com/mindskip/xzs/configuration/spring/security/RestAuthenticationSuccessHandler.java index 56f3562..b696ad6 100644 --- a/xzs/src/main/java/com/mindskip/xzs/configuration/spring/security/RestAuthenticationSuccessHandler.java +++ b/xzs/src/main/java/com/mindskip/xzs/configuration/spring/security/RestAuthenticationSuccessHandler.java @@ -50,7 +50,7 @@ com.mindskip.xzs.domain.User user = userService.getUserByUserName(springUser.getUsername()); if (null != user) { UserEventLog userEventLog = new UserEventLog(user.getId(), user.getUserName(), user.getRealName(), new Date()); - userEventLog.setContent(user.getUserName() + " 鐧诲綍浜嗗涔嬫�濆紑婧愯�冭瘯绯荤粺"); + userEventLog.setContent(user.getUserName() + " 鐧诲綍浜嗚�冭瘯绯荤粺"); eventPublisher.publishEvent(new UserEvent(userEventLog)); com.mindskip.xzs.domain.User newUser = new com.mindskip.xzs.domain.User(); newUser.setUserName(user.getUserName()); diff --git a/xzs/src/main/java/com/mindskip/xzs/controller/admin/DepartmentController.java b/xzs/src/main/java/com/mindskip/xzs/controller/admin/DepartmentController.java new file mode 100644 index 0000000..7a729d1 --- /dev/null +++ b/xzs/src/main/java/com/mindskip/xzs/controller/admin/DepartmentController.java @@ -0,0 +1,35 @@ +package com.mindskip.xzs.controller.admin; + +import com.github.pagehelper.PageInfo; +import com.mindskip.xzs.base.BaseApiController; +import com.mindskip.xzs.base.RestResponse; +import com.mindskip.xzs.domain.User; +import com.mindskip.xzs.service.DepartmentService; +import com.mindskip.xzs.utility.PageInfoHelper; +import com.mindskip.xzs.viewmodel.admin.user.UserPageRequestVM; +import com.mindskip.xzs.viewmodel.admin.user.UserResponseVM; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; + +@RestController("AdminDepartmentController") +@RequestMapping("/api/admin/department") +public class DepartmentController extends BaseApiController { + + + private final DepartmentService departmentService; + + @Autowired + public DepartmentController(DepartmentService departmentService) { + this.departmentService = departmentService; + } + + @RequestMapping(value = "/page/list", method = RequestMethod.POST) + public RestResponse<PageInfo<UserResponseVM>> pageList(@RequestBody UserPageRequestVM model) { + PageInfo<User> pageInfo = userService.userPage(model); + PageInfo<UserResponseVM> page = PageInfoHelper.copyMap(pageInfo, d -> UserResponseVM.from(d)); + return RestResponse.ok(page); + } +} diff --git a/xzs/src/main/java/com/mindskip/xzs/domain/Department.java b/xzs/src/main/java/com/mindskip/xzs/domain/Department.java new file mode 100644 index 0000000..dc026c2 --- /dev/null +++ b/xzs/src/main/java/com/mindskip/xzs/domain/Department.java @@ -0,0 +1,47 @@ +package com.mindskip.xzs.domain; + +import javax.sql.rowset.serial.SerialArray; +import java.io.Serializable; + + +public class Department implements Serializable { + + private Integer id; + + private String name; + + private String deleted; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDeleted() { + return deleted; + } + + public void setDeleted(String deleted) { + this.deleted = deleted; + } + + @Override + public String toString() { + return "Department{" + + "id=" + id + + ", name='" + name + '\'' + + ", deleted='" + deleted + '\'' + + '}'; + } +} diff --git a/xzs/src/main/java/com/mindskip/xzs/repository/DepartmentMapper.java b/xzs/src/main/java/com/mindskip/xzs/repository/DepartmentMapper.java new file mode 100644 index 0000000..a3efae5 --- /dev/null +++ b/xzs/src/main/java/com/mindskip/xzs/repository/DepartmentMapper.java @@ -0,0 +1,17 @@ +package com.mindskip.xzs.repository; + +import com.mindskip.xzs.domain.Department; +import org.apache.ibatis.annotations.Mapper; +import org.w3c.dom.stylesheets.LinkStyle; + +import java.util.List; + +@Mapper +public interface DepartmentMapper extends BaseMapper<Department>{ + + Integer add(Department department); + + Integer update(Department department); + + List<Department> gets(); +} diff --git a/xzs/src/main/java/com/mindskip/xzs/service/DepartmentService.java b/xzs/src/main/java/com/mindskip/xzs/service/DepartmentService.java new file mode 100644 index 0000000..bafec01 --- /dev/null +++ b/xzs/src/main/java/com/mindskip/xzs/service/DepartmentService.java @@ -0,0 +1,36 @@ +package com.mindskip.xzs.service; + +import com.mindskip.xzs.domain.Department; +import com.mindskip.xzs.domain.Question; + +import java.util.List; + +public interface DepartmentService extends BaseService<Department>{ + + /** + * 娣诲姞閮ㄩ棬 + * @param name + * @return + */ + Integer add(String name); + + /** + * 鍒犻櫎閮ㄩ棬 + * @param id + * @return + */ + Integer remove(Integer id); + + /** + * 淇敼閮ㄩ棬 + * @param department + * @return + */ + Integer update(Department department); + + /** + * 鏌ヨ鎵�鏈夐儴闂� + * @return + */ + List<Department> gets(); +} diff --git a/xzs/src/main/java/com/mindskip/xzs/service/impl/DepartmentServiceImpl.java b/xzs/src/main/java/com/mindskip/xzs/service/impl/DepartmentServiceImpl.java new file mode 100644 index 0000000..4425999 --- /dev/null +++ b/xzs/src/main/java/com/mindskip/xzs/service/impl/DepartmentServiceImpl.java @@ -0,0 +1,49 @@ +package com.mindskip.xzs.service.impl; + +import com.mindskip.xzs.domain.Department; +import com.mindskip.xzs.repository.BaseMapper; +import com.mindskip.xzs.repository.DepartmentMapper; +import com.mindskip.xzs.service.DepartmentService; +import com.mindskip.xzs.utility.ModelMapperSingle; +import org.modelmapper.ModelMapper; +import org.springframework.stereotype.Service; + +import java.util.List; +@Service +public class DepartmentServiceImpl extends BaseServiceImpl<Department> implements DepartmentService { + + protected final static ModelMapper modelMapper = ModelMapperSingle.Instance(); + + private final DepartmentMapper departmentMapper; + + public DepartmentServiceImpl(BaseMapper<Department> baseMapper, DepartmentMapper departmentMapper) { + super(baseMapper); + this.departmentMapper = departmentMapper; + } + + @Override + public Integer add(String name) { + Department department = new Department(); + department.setDeleted("0"); + department.setName(name); + return departmentMapper.add(department); + } + + @Override + public Integer remove(Integer id) { + Department department = new Department(); + department.setId(id); + department.setDeleted("1"); + return departmentMapper.update(department); + } + + @Override + public Integer update(Department department) { + return departmentMapper.update(department); + } + + @Override + public List<Department> gets() { + return departmentMapper.gets(); + } +} diff --git a/xzs/src/main/resources/mapper/DepartmentMapper.xml b/xzs/src/main/resources/mapper/DepartmentMapper.xml new file mode 100644 index 0000000..4df30ab --- /dev/null +++ b/xzs/src/main/resources/mapper/DepartmentMapper.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="com.mindskip.xzs.repository.DepartmentMapper"> + <resultMap id="BaseResultMap" type="com.mindskip.xzs.domain.Department"> + <id column="id" jdbcType="INTEGER" property="id"/> + <result column="name" jdbcType="VARCHAR" property="name"/> + <result column="deleted" jdbcType="VARCHAR" property="deleted"/> + </resultMap> + + <insert id="add" parameterType="com.mindskip.xzs.domain.Department" useGeneratedKeys="true" keyProperty="id"> + insert into t_department (name, deleted) + values (#{name,jdbcType=VARCHAR}, #{deleted,jdbcType=VARCHAR}) + </insert> + + <update id="update" parameterType="com.mindskip.xzs.domain.Department"> + update t_user + <set> + <if test="name != null"> + name = #{name,jdbcType=VARCHAR}, + </if> + <if test="deleted != null"> + name = #{deleted,jdbcType=VARCHAR}, + </if> + </set> + where id = #{id,jdbcType=INTEGER} + </update> + + <select id="gets" resultMap="BaseResultMap"> + select + <include refid="Base_Column_List"/> + from t_department where deleted=0 + </select> +</mapper> -- Gitblit v1.8.0