xm
2024-06-14 722af26bc6fec32bb289b1df51a9016a4935610f
提交 | 用户 | 时间
722af2 1 2024-05-27 14:26:20 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
X 2 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
3 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
4 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
5         SELECT *
6         FROM check_task ct
7         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
8         WHERE 1 = 1
9           AND ct.is_deleted = 0
10           AND ND ct.biz_type = ?
11           and DATE (ct.created_date_time) >= ?
12           and DATE (ct.created_date_time) <= ?
13 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
14 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
15         SELECT *
16         FROM check_task ct
17         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
18         WHERE 1 = 1
19           AND ct.is_deleted = 0
20           AND ND ct.biz_type = ?
21           and DATE (ct.created_date_time) >= ?
22           and DATE (ct.created_date_time) <= ?
23     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
24     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
25     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
26     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
27     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
28     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
29     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
30     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
31     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
32     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:120)
33     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
34     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
35     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
36     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
37     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
38     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
39     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
40     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
41     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
42     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
43     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$9e7aa8f5.GetCheckTaskDefectReport(<generated>)
44     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
45     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
46     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
47     at java.lang.reflect.Method.invoke(Method.java:498)
48     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
49     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
50     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
51     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
52     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
53     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
54     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
55     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
56     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
57     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
58     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
59     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
60     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
61     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
62     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
63     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
64     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
65     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
66     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
67     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
68     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
69     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
70     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
71     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
72     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
73     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
74     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
75     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
76     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
77     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
78     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
79     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
80     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
81     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
82     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
83     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
84     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
85     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
86     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
87     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
88     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
89     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
90     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
91     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
92     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
93     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
94     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
95     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
96     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
97     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
98     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
99     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
100     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
101     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
102     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
103     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
104     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
105     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
106     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
107     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
108     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
109     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
110     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
111     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
112     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
113     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
114     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
115     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
116     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
117     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
118     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
119     at java.lang.Thread.run(Thread.java:748)
120 Caused by: org.apache.ibatis.exceptions.PersistenceException:
121 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
122 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
123         SELECT *
124         FROM check_task ct
125         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
126         WHERE 1 = 1
127           AND ct.is_deleted = 0
128           AND ND ct.biz_type = ?
129           and DATE (ct.created_date_time) >= ?
130           and DATE (ct.created_date_time) <= ?
131 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
132 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
133         SELECT *
134         FROM check_task ct
135         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
136         WHERE 1 = 1
137           AND ct.is_deleted = 0
138           AND ND ct.biz_type = ?
139           and DATE (ct.created_date_time) >= ?
140           and DATE (ct.created_date_time) <= ?
141     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
142     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
143     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
144     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
145     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
146     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
147     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
148     at java.lang.reflect.Method.invoke(Method.java:498)
149     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
150     ... 95 common frames omitted
151 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
152 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
153         SELECT *
154         FROM check_task ct
155         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
156         WHERE 1 = 1
157           AND ct.is_deleted = 0
158           AND ND ct.biz_type = ?
159           and DATE (ct.created_date_time) >= ?
160           and DATE (ct.created_date_time) <= ?
161     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
162     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
163     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
164     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
165     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
166     at com.sun.proxy.$Proxy275.query(Unknown Source)
167     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
168     ... 102 common frames omitted
169 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
170     at line 8, column 18.
171
172 Was expecting one of:
173
174     "&"
175     "::"
176     ";"
177     "<<"
178     ">>"
179     "COLLATE"
180     "CONNECT"
181     "EMIT"
182     "GROUP"
183     "HAVING"
184     "START"
185     "["
186     "^"
187     "|"
188     <EOF>
189
190     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
191     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
192     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
193     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
194     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
195     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
196     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
197     ... 107 common frames omitted
198 2024-05-27 14:28:41 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
199 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
200 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
201 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
202         SELECT *
203         FROM check_task ct
204         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
205         WHERE 1 = 1
206           AND ct.is_deleted = 0
207           AND ND ct.biz_type = ?
208 --           and DATE (ct.created_date_time) >= ?
209 --           and DATE (ct.created_date_time) <= ?
210 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
211 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
212         SELECT *
213         FROM check_task ct
214         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
215         WHERE 1 = 1
216           AND ct.is_deleted = 0
217           AND ND ct.biz_type = ?
218 --           and DATE (ct.created_date_time) >= ?
219 --           and DATE (ct.created_date_time) <= ?
220     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
221     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
222     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
223     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
224     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
225     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
226     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
227     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
228     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
229     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:120)
230     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
231     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
232     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
233     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
234     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
235     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
236     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
237     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
238     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
239     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
240     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$f3088ef.GetCheckTaskDefectReport(<generated>)
241     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
242     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
243     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
244     at java.lang.reflect.Method.invoke(Method.java:498)
245     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
246     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
247     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
248     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
249     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
250     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
251     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
252     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
253     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
254     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
255     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
256     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
257     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
258     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
259     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
260     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
261     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
262     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
263     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
264     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
265     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
266     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
267     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
268     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
269     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
270     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
271     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
272     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
273     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
274     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
275     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
276     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
277     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
278     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
279     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
280     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
281     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
282     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
283     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
284     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
285     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
286     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
287     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
288     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
289     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
290     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
291     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
292     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
293     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
294     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
295     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
296     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
297     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
298     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
299     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
300     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
301     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
302     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
303     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
304     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
305     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
306     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
307     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
308     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
309     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
310     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
311     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
312     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
313     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
314     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
315     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
316     at java.lang.Thread.run(Thread.java:748)
317 Caused by: org.apache.ibatis.exceptions.PersistenceException:
318 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
319 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
320         SELECT *
321         FROM check_task ct
322         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
323         WHERE 1 = 1
324           AND ct.is_deleted = 0
325           AND ND ct.biz_type = ?
326 --           and DATE (ct.created_date_time) >= ?
327 --           and DATE (ct.created_date_time) <= ?
328 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
329 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
330         SELECT *
331         FROM check_task ct
332         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
333         WHERE 1 = 1
334           AND ct.is_deleted = 0
335           AND ND ct.biz_type = ?
336 --           and DATE (ct.created_date_time) >= ?
337 --           and DATE (ct.created_date_time) <= ?
338     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
339     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
340     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
341     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
342     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
343     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
344     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
345     at java.lang.reflect.Method.invoke(Method.java:498)
346     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
347     ... 95 common frames omitted
348 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
349 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
350         SELECT *
351         FROM check_task ct
352         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
353         WHERE 1 = 1
354           AND ct.is_deleted = 0
355           AND ND ct.biz_type = ?
356 --           and DATE (ct.created_date_time) >= ?
357 --           and DATE (ct.created_date_time) <= ?
358     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
359     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
360     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
361     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
362     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
363     at com.sun.proxy.$Proxy275.query(Unknown Source)
364     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
365     ... 102 common frames omitted
366 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
367     at line 8, column 18.
368
369 Was expecting one of:
370
371     "&"
372     "::"
373     ";"
374     "<<"
375     ">>"
376     "COLLATE"
377     "CONNECT"
378     "EMIT"
379     "GROUP"
380     "HAVING"
381     "START"
382     "["
383     "^"
384     "|"
385     <EOF>
386
387     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
388     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
389     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
390     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
391     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
392     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
393     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
394     ... 107 common frames omitted
395 2024-05-27 14:30:29 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
396 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
397 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
398 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
399         SELECT *
400         FROM check_task ct
401         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
402         WHERE 1 = 1
403           AND ct.is_deleted = 0
404           AND ND ct.biz_type = ?
405 --           and DATE (ct.created_date_time) >= ?
406 --           and DATE (ct.created_date_time) <= ?
407 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
408 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
409         SELECT *
410         FROM check_task ct
411         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
412         WHERE 1 = 1
413           AND ct.is_deleted = 0
414           AND ND ct.biz_type = ?
415 --           and DATE (ct.created_date_time) >= ?
416 --           and DATE (ct.created_date_time) <= ?
417     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
418     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
419     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
420     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
421     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
422     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
423     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
424     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
425     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
426     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:120)
427     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
428     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
429     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
430     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
431     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
432     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
433     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
434     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
435     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
436     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
437     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$2440b67f.GetCheckTaskDefectReport(<generated>)
438     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
439     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
440     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
441     at java.lang.reflect.Method.invoke(Method.java:498)
442     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
443     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
444     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
445     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
446     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
447     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
448     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
449     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
450     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
451     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
452     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
453     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
454     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
455     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
456     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
457     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
458     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
459     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
460     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
461     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
462     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
463     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
464     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
465     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
466     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
467     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
468     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
469     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
470     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
471     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
472     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
473     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
474     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
475     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
476     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
477     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
478     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
479     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
480     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
481     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
482     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
483     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
484     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
485     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
486     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
487     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
488     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
489     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
490     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
491     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
492     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
493     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
494     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
495     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
496     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
497     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
498     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
499     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
500     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
501     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
502     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
503     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
504     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
505     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
506     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
507     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
508     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
509     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
510     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
511     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
512     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
513     at java.lang.Thread.run(Thread.java:748)
514 Caused by: org.apache.ibatis.exceptions.PersistenceException:
515 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
516 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
517         SELECT *
518         FROM check_task ct
519         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
520         WHERE 1 = 1
521           AND ct.is_deleted = 0
522           AND ND ct.biz_type = ?
523 --           and DATE (ct.created_date_time) >= ?
524 --           and DATE (ct.created_date_time) <= ?
525 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
526 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
527         SELECT *
528         FROM check_task ct
529         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
530         WHERE 1 = 1
531           AND ct.is_deleted = 0
532           AND ND ct.biz_type = ?
533 --           and DATE (ct.created_date_time) >= ?
534 --           and DATE (ct.created_date_time) <= ?
535     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
536     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
537     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
538     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
539     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
540     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
541     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
542     at java.lang.reflect.Method.invoke(Method.java:498)
543     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
544     ... 95 common frames omitted
545 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
546 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
547         SELECT *
548         FROM check_task ct
549         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
550         WHERE 1 = 1
551           AND ct.is_deleted = 0
552           AND ND ct.biz_type = ?
553 --           and DATE (ct.created_date_time) >= ?
554 --           and DATE (ct.created_date_time) <= ?
555     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
556     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
557     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
558     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
559     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
560     at com.sun.proxy.$Proxy275.query(Unknown Source)
561     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
562     ... 102 common frames omitted
563 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
564     at line 8, column 18.
565
566 Was expecting one of:
567
568     "&"
569     "::"
570     ";"
571     "<<"
572     ">>"
573     "COLLATE"
574     "CONNECT"
575     "EMIT"
576     "GROUP"
577     "HAVING"
578     "START"
579     "["
580     "^"
581     "|"
582     <EOF>
583
584     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
585     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
586     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
587     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
588     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
589     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
590     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
591     ... 107 common frames omitted
592 2024-05-27 14:35:04 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
593 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
594 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
595 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
596         SELECT *
597         FROM check_task ct
598         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
599         WHERE 1 = 1
600           AND ct.is_deleted = 0
601           AND ND ct.biz_type = ?
602 --           and DATE (ct.created_date_time) >= ?
603 --           and DATE (ct.created_date_time) <= ?
604 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
605 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
606         SELECT *
607         FROM check_task ct
608         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
609         WHERE 1 = 1
610           AND ct.is_deleted = 0
611           AND ND ct.biz_type = ?
612 --           and DATE (ct.created_date_time) >= ?
613 --           and DATE (ct.created_date_time) <= ?
614     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
615     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
616     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
617     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
618     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
619     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
620     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
621     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
622     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
623     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:120)
624     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
625     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
626     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
627     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
628     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
629     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
630     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
631     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
632     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
633     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
634     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$6ccbfa75.GetCheckTaskDefectReport(<generated>)
635     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
636     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
637     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
638     at java.lang.reflect.Method.invoke(Method.java:498)
639     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
640     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
641     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
642     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
643     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
644     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
645     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
646     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
647     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
648     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
649     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
650     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
651     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
652     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
653     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
654     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
655     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
656     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
657     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
658     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
659     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
660     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
661     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
662     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
663     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
664     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
665     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
666     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
667     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
668     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
669     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
670     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
671     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
672     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
673     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
674     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
675     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
676     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
677     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
678     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
679     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
680     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
681     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
682     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
683     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
684     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
685     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
686     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
687     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
688     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
689     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
690     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
691     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
692     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
693     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
694     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
695     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
696     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
697     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
698     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
699     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
700     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
701     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
702     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
703     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
704     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
705     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
706     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
707     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
708     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
709     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
710     at java.lang.Thread.run(Thread.java:748)
711 Caused by: org.apache.ibatis.exceptions.PersistenceException:
712 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
713 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
714         SELECT *
715         FROM check_task ct
716         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
717         WHERE 1 = 1
718           AND ct.is_deleted = 0
719           AND ND ct.biz_type = ?
720 --           and DATE (ct.created_date_time) >= ?
721 --           and DATE (ct.created_date_time) <= ?
722 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
723 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
724         SELECT *
725         FROM check_task ct
726         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
727         WHERE 1 = 1
728           AND ct.is_deleted = 0
729           AND ND ct.biz_type = ?
730 --           and DATE (ct.created_date_time) >= ?
731 --           and DATE (ct.created_date_time) <= ?
732     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
733     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
734     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
735     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
736     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
737     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
738     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
739     at java.lang.reflect.Method.invoke(Method.java:498)
740     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
741     ... 95 common frames omitted
742 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
743 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
744         SELECT *
745         FROM check_task ct
746         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
747         WHERE 1 = 1
748           AND ct.is_deleted = 0
749           AND ND ct.biz_type = ?
750 --           and DATE (ct.created_date_time) >= ?
751 --           and DATE (ct.created_date_time) <= ?
752     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
753     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
754     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
755     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
756     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
757     at com.sun.proxy.$Proxy275.query(Unknown Source)
758     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
759     ... 102 common frames omitted
760 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
761     at line 8, column 18.
762
763 Was expecting one of:
764
765     "&"
766     "::"
767     ";"
768     "<<"
769     ">>"
770     "COLLATE"
771     "CONNECT"
772     "EMIT"
773     "GROUP"
774     "HAVING"
775     "START"
776     "["
777     "^"
778     "|"
779     <EOF>
780
781     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
782     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
783     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
784     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
785     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
786     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
787     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
788     ... 107 common frames omitted
789 2024-05-27 14:40:24 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
790 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='bizType', mode=IN, javaType=class java.lang.Long, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
791     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
792     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
793     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
794     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
795     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
796     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
797     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
798     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
799     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
800     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:120)
801     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
802     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
803     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
804     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
805     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
806     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
807     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
808     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
809     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
810     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
811     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$6babcbe.GetCheckTaskDefectReport(<generated>)
812     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
813     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
814     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
815     at java.lang.reflect.Method.invoke(Method.java:498)
816     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
817     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
818     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
819     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
820     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
821     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
822     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
823     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
824     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
825     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
826     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
827     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
828     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
829     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
830     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
831     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
832     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
833     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
834     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
835     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
836     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
837     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
838     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
839     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
840     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
841     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
842     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
843     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
844     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
845     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
846     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
847     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
848     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
849     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
850     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
851     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
852     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
853     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
854     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
855     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
856     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
857     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
858     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
859     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
860     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
861     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
862     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
863     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
864     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
865     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
866     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
867     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
868     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
869     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
870     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
871     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
872     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
873     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
874     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
875     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
876     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
877     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
878     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
879     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
880     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
881     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
882     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
883     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
884     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
885     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
886     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
887     at java.lang.Thread.run(Thread.java:748)
888 Caused by: org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='bizType', mode=IN, javaType=class java.lang.Long, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
889     at com.baomidou.mybatisplus.core.MybatisParameterHandler.setParameters(MybatisParameterHandler.java:238)
890     at org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:94)
891     at org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:64)
892     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
893     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
894     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
895     at java.lang.reflect.Method.invoke(Method.java:498)
896     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64)
897     at com.sun.proxy.$Proxy276.parameterize(Unknown Source)
898     at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:88)
899     at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62)
900     at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
901     at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
902     at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
903     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
904     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
905     at com.sun.proxy.$Proxy275.query(Unknown Source)
906     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
907     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
908     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
909     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
910     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
911     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
912     at java.lang.reflect.Method.invoke(Method.java:498)
913     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
914     ... 95 common frames omitted
915 Caused by: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
916     at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:75)
917     at com.baomidou.mybatisplus.core.MybatisParameterHandler.setParameters(MybatisParameterHandler.java:236)
918     ... 119 common frames omitted
919 Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
920     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)
921     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:98)
922     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:90)
923     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:64)
924     at com.mysql.cj.jdbc.ClientPreparedStatement.checkBounds(ClientPreparedStatement.java:1345)
925     at com.mysql.cj.jdbc.ClientPreparedStatement.getCoreParameterIndex(ClientPreparedStatement.java:1358)
926     at com.mysql.cj.jdbc.ClientPreparedStatement.setLong(ClientPreparedStatement.java:1543)
927     at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.setLong(HikariProxyPreparedStatement.java)
928     at com.p6spy.engine.wrapper.PreparedStatementWrapper.setLong(PreparedStatementWrapper.java:173)
929     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
930     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
931     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
932     at java.lang.reflect.Method.invoke(Method.java:498)
933     at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:67)
934     at com.sun.proxy.$Proxy225.setLong(Unknown Source)
935     at org.apache.ibatis.type.LongTypeHandler.setNonNullParameter(LongTypeHandler.java:31)
936     at org.apache.ibatis.type.LongTypeHandler.setNonNullParameter(LongTypeHandler.java:26)
937     at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:73)
938     ... 120 common frames omitted
939 2024-05-27 14:41:44 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
940 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='bizType', mode=IN, javaType=class java.lang.Long, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
941     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
942     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
943     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
944     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
945     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
946     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
947     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
948     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
949     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
950     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:120)
951     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
952     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
953     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
954     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
955     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
956     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
957     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
958     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
959     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
960     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
961     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$bdbec46c.GetCheckTaskDefectReport(<generated>)
962     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
963     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
964     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
965     at java.lang.reflect.Method.invoke(Method.java:498)
966     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
967     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
968     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
969     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
970     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
971     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
972     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
973     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
974     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
975     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
976     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
977     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
978     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
979     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
980     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
981     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
982     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
983     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
984     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
985     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
986     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
987     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
988     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
989     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
990     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
991     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
992     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
993     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
994     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
995     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
996     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
997     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
998     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
999     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1000     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
1001     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1002     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1003     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1004     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
1005     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
1006     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
1007     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
1008     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
1009     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
1010     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
1011     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1012     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
1013     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
1014     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
1015     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
1016     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
1017     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1018     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
1019     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1020     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
1021     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
1022     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
1023     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
1024     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
1025     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
1026     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
1027     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
1028     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
1029     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
1030     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
1031     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
1032     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
1033     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
1034     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
1035     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
1036     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
1037     at java.lang.Thread.run(Thread.java:748)
1038 Caused by: org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='bizType', mode=IN, javaType=class java.lang.Long, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
1039     at com.baomidou.mybatisplus.core.MybatisParameterHandler.setParameters(MybatisParameterHandler.java:238)
1040     at org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:94)
1041     at org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:64)
1042     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1043     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1044     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1045     at java.lang.reflect.Method.invoke(Method.java:498)
1046     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64)
1047     at com.sun.proxy.$Proxy276.parameterize(Unknown Source)
1048     at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:88)
1049     at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62)
1050     at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
1051     at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
1052     at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
1053     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
1054     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
1055     at com.sun.proxy.$Proxy275.query(Unknown Source)
1056     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
1057     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
1058     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
1059     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1060     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1061     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1062     at java.lang.reflect.Method.invoke(Method.java:498)
1063     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
1064     ... 95 common frames omitted
1065 Caused by: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
1066     at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:75)
1067     at com.baomidou.mybatisplus.core.MybatisParameterHandler.setParameters(MybatisParameterHandler.java:236)
1068     ... 119 common frames omitted
1069 Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
1070     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)
1071     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:98)
1072     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:90)
1073     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:64)
1074     at com.mysql.cj.jdbc.ClientPreparedStatement.checkBounds(ClientPreparedStatement.java:1345)
1075     at com.mysql.cj.jdbc.ClientPreparedStatement.getCoreParameterIndex(ClientPreparedStatement.java:1358)
1076     at com.mysql.cj.jdbc.ClientPreparedStatement.setLong(ClientPreparedStatement.java:1543)
1077     at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.setLong(HikariProxyPreparedStatement.java)
1078     at com.p6spy.engine.wrapper.PreparedStatementWrapper.setLong(PreparedStatementWrapper.java:173)
1079     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1080     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1081     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1082     at java.lang.reflect.Method.invoke(Method.java:498)
1083     at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:67)
1084     at com.sun.proxy.$Proxy225.setLong(Unknown Source)
1085     at org.apache.ibatis.type.LongTypeHandler.setNonNullParameter(LongTypeHandler.java:31)
1086     at org.apache.ibatis.type.LongTypeHandler.setNonNullParameter(LongTypeHandler.java:26)
1087     at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:73)
1088     ... 120 common frames omitted
1089 2024-05-27 14:44:17 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
1090 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
1091 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
1092 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1093         SELECT *
1094         FROM check_task ct
1095         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1096         WHERE 1 = 1
1097           AND ct.is_deleted = 0
1098           AND ND ct.biz_type = ?
1099           and DATE (ct.created_date_time) >= ?
1100           and DATE (ct.created_date_time) <= ?
1101 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
1102 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1103         SELECT *
1104         FROM check_task ct
1105         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1106         WHERE 1 = 1
1107           AND ct.is_deleted = 0
1108           AND ND ct.biz_type = ?
1109           and DATE (ct.created_date_time) >= ?
1110           and DATE (ct.created_date_time) <= ?
1111     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
1112     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
1113     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
1114     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
1115     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
1116     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
1117     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
1118     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
1119     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
1120     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:120)
1121     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
1122     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
1123     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
1124     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
1125     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
1126     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1127     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
1128     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
1129     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1130     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
1131     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$83ab2d7d.GetCheckTaskDefectReport(<generated>)
1132     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1133     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1134     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1135     at java.lang.reflect.Method.invoke(Method.java:498)
1136     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
1137     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
1138     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
1139     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
1140     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
1141     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
1142     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
1143     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
1144     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
1145     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
1146     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
1147     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
1148     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
1149     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
1150     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
1151     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
1152     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1153     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1154     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1155     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
1156     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1157     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1158     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
1159     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1160     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1161     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1162     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
1163     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1164     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1165     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1166     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
1167     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1168     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1169     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1170     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
1171     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1172     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1173     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1174     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
1175     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
1176     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
1177     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
1178     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
1179     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
1180     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
1181     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1182     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
1183     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
1184     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
1185     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
1186     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
1187     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1188     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
1189     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1190     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
1191     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
1192     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
1193     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
1194     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
1195     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
1196     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
1197     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
1198     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
1199     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
1200     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
1201     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
1202     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
1203     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
1204     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
1205     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
1206     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
1207     at java.lang.Thread.run(Thread.java:748)
1208 Caused by: org.apache.ibatis.exceptions.PersistenceException:
1209 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
1210 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1211         SELECT *
1212         FROM check_task ct
1213         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1214         WHERE 1 = 1
1215           AND ct.is_deleted = 0
1216           AND ND ct.biz_type = ?
1217           and DATE (ct.created_date_time) >= ?
1218           and DATE (ct.created_date_time) <= ?
1219 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
1220 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1221         SELECT *
1222         FROM check_task ct
1223         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1224         WHERE 1 = 1
1225           AND ct.is_deleted = 0
1226           AND ND ct.biz_type = ?
1227           and DATE (ct.created_date_time) >= ?
1228           and DATE (ct.created_date_time) <= ?
1229     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
1230     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
1231     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
1232     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
1233     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1234     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1235     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1236     at java.lang.reflect.Method.invoke(Method.java:498)
1237     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
1238     ... 95 common frames omitted
1239 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: --         SELECT ct.created_date_time,ct.sqe_confirm_result,
1240 --         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1241         SELECT *
1242         FROM check_task ct
1243         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1244         WHERE 1 = 1
1245           AND ct.is_deleted = 0
1246           AND ND ct.biz_type = ?
1247           and DATE (ct.created_date_time) >= ?
1248           and DATE (ct.created_date_time) <= ?
1249     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
1250     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
1251     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
1252     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
1253     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
1254     at com.sun.proxy.$Proxy275.query(Unknown Source)
1255     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
1256     ... 102 common frames omitted
1257 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
1258     at line 8, column 18.
1259
1260 Was expecting one of:
1261
1262     "&"
1263     "::"
1264     ";"
1265     "<<"
1266     ">>"
1267     "COLLATE"
1268     "CONNECT"
1269     "EMIT"
1270     "GROUP"
1271     "HAVING"
1272     "START"
1273     "["
1274     "^"
1275     "|"
1276     <EOF>
1277
1278     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
1279     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
1280     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
1281     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
1282     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
1283     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
1284     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
1285     ... 107 common frames omitted
1286 2024-05-27 14:57:12 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
1287 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
1288 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time,ct.sqe_confirm_result,
1289         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1290         FROM check_task ct
1291         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1292         WHERE 1 = 1
1293           AND ct.is_deleted = 0
1294           AND ND ct.biz_type = ?
1295           and DATE (ct.created_date_time) >= ?
1296           and DATE (ct.created_date_time) <= ?
1297 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time,ct.sqe_confirm_result,
1298         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1299         FROM check_task ct
1300         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1301         WHERE 1 = 1
1302           AND ct.is_deleted = 0
1303           AND ND ct.biz_type = ?
1304           and DATE (ct.created_date_time) >= ?
1305           and DATE (ct.created_date_time) <= ?
1306     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
1307     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
1308     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
1309     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
1310     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
1311     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
1312     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
1313     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
1314     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
1315     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:125)
1316     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
1317     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
1318     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
1319     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
1320     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
1321     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1322     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
1323     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
1324     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1325     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
1326     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$f71d7af8.GetCheckTaskDefectReport(<generated>)
1327     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1328     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1329     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1330     at java.lang.reflect.Method.invoke(Method.java:498)
1331     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
1332     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
1333     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
1334     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
1335     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
1336     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
1337     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
1338     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
1339     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
1340     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
1341     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
1342     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
1343     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
1344     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
1345     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
1346     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
1347     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1348     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1349     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1350     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
1351     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1352     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1353     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
1354     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1355     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1356     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1357     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
1358     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1359     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1360     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1361     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
1362     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1363     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1364     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1365     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
1366     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1367     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1368     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1369     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
1370     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
1371     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
1372     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
1373     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
1374     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
1375     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
1376     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1377     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
1378     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
1379     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
1380     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
1381     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
1382     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1383     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
1384     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1385     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
1386     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
1387     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
1388     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
1389     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
1390     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
1391     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
1392     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
1393     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
1394     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
1395     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
1396     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
1397     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
1398     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
1399     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
1400     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
1401     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
1402     at java.lang.Thread.run(Thread.java:748)
1403 Caused by: org.apache.ibatis.exceptions.PersistenceException:
1404 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time,ct.sqe_confirm_result,
1405         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1406         FROM check_task ct
1407         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1408         WHERE 1 = 1
1409           AND ct.is_deleted = 0
1410           AND ND ct.biz_type = ?
1411           and DATE (ct.created_date_time) >= ?
1412           and DATE (ct.created_date_time) <= ?
1413 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time,ct.sqe_confirm_result,
1414         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1415         FROM check_task ct
1416         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1417         WHERE 1 = 1
1418           AND ct.is_deleted = 0
1419           AND ND ct.biz_type = ?
1420           and DATE (ct.created_date_time) >= ?
1421           and DATE (ct.created_date_time) <= ?
1422     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
1423     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
1424     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
1425     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
1426     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1427     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1428     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1429     at java.lang.reflect.Method.invoke(Method.java:498)
1430     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
1431     ... 95 common frames omitted
1432 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time,ct.sqe_confirm_result,
1433         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1434         FROM check_task ct
1435         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1436         WHERE 1 = 1
1437           AND ct.is_deleted = 0
1438           AND ND ct.biz_type = ?
1439           and DATE (ct.created_date_time) >= ?
1440           and DATE (ct.created_date_time) <= ?
1441     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
1442     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
1443     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
1444     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
1445     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
1446     at com.sun.proxy.$Proxy275.query(Unknown Source)
1447     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
1448     ... 102 common frames omitted
1449 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
1450     at line 7, column 18.
1451
1452 Was expecting one of:
1453
1454     "&"
1455     "::"
1456     ";"
1457     "<<"
1458     ">>"
1459     "COLLATE"
1460     "CONNECT"
1461     "EMIT"
1462     "GROUP"
1463     "HAVING"
1464     "START"
1465     "["
1466     "^"
1467     "|"
1468     <EOF>
1469
1470     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
1471     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
1472     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
1473     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
1474     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
1475     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
1476     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
1477     ... 107 common frames omitted
1478 2024-05-27 15:13:55 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
1479 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
1480 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1481         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1482         FROM check_task ct
1483         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1484         WHERE 1 = 1
1485           AND ct.is_deleted = 0
1486           AND ND ct.biz_type = ?
1487           and DATE (ct.created_date_time) >= ?
1488           and DATE (ct.created_date_time) <= ?
1489 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1490         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1491         FROM check_task ct
1492         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1493         WHERE 1 = 1
1494           AND ct.is_deleted = 0
1495           AND ND ct.biz_type = ?
1496           and DATE (ct.created_date_time) >= ?
1497           and DATE (ct.created_date_time) <= ?
1498     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
1499     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
1500     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
1501     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
1502     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
1503     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
1504     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
1505     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
1506     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
1507     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:125)
1508     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
1509     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
1510     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
1511     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
1512     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
1513     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1514     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
1515     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
1516     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1517     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
1518     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$171f81f6.GetCheckTaskDefectReport(<generated>)
1519     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1520     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1521     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1522     at java.lang.reflect.Method.invoke(Method.java:498)
1523     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
1524     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
1525     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
1526     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
1527     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
1528     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
1529     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
1530     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
1531     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
1532     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
1533     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
1534     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
1535     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
1536     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
1537     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
1538     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
1539     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1540     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1541     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1542     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
1543     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1544     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1545     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
1546     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1547     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1548     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1549     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
1550     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1551     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1552     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1553     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
1554     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1555     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1556     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1557     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
1558     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1559     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1560     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1561     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
1562     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
1563     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
1564     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
1565     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
1566     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
1567     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
1568     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1569     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
1570     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
1571     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
1572     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
1573     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
1574     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1575     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
1576     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1577     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
1578     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
1579     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
1580     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
1581     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
1582     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
1583     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
1584     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
1585     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
1586     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
1587     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
1588     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
1589     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
1590     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
1591     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
1592     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
1593     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
1594     at java.lang.Thread.run(Thread.java:748)
1595 Caused by: org.apache.ibatis.exceptions.PersistenceException:
1596 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1597         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1598         FROM check_task ct
1599         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1600         WHERE 1 = 1
1601           AND ct.is_deleted = 0
1602           AND ND ct.biz_type = ?
1603           and DATE (ct.created_date_time) >= ?
1604           and DATE (ct.created_date_time) <= ?
1605 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1606         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1607         FROM check_task ct
1608         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1609         WHERE 1 = 1
1610           AND ct.is_deleted = 0
1611           AND ND ct.biz_type = ?
1612           and DATE (ct.created_date_time) >= ?
1613           and DATE (ct.created_date_time) <= ?
1614     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
1615     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
1616     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
1617     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
1618     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1619     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1620     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1621     at java.lang.reflect.Method.invoke(Method.java:498)
1622     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
1623     ... 95 common frames omitted
1624 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1625         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1626         FROM check_task ct
1627         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1628         WHERE 1 = 1
1629           AND ct.is_deleted = 0
1630           AND ND ct.biz_type = ?
1631           and DATE (ct.created_date_time) >= ?
1632           and DATE (ct.created_date_time) <= ?
1633     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
1634     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
1635     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
1636     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
1637     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
1638     at com.sun.proxy.$Proxy275.query(Unknown Source)
1639     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
1640     ... 102 common frames omitted
1641 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
1642     at line 7, column 18.
1643
1644 Was expecting one of:
1645
1646     "&"
1647     "::"
1648     ";"
1649     "<<"
1650     ">>"
1651     "COLLATE"
1652     "CONNECT"
1653     "EMIT"
1654     "GROUP"
1655     "HAVING"
1656     "START"
1657     "["
1658     "^"
1659     "|"
1660     <EOF>
1661
1662     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
1663     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
1664     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
1665     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
1666     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
1667     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
1668     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
1669     ... 107 common frames omitted
1670 2024-05-27 15:16:55 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
1671 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
1672 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1673         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1674         FROM check_task ct
1675         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1676         WHERE 1 = 1
1677           AND ct.is_deleted = 0
1678           AND ND ct.biz_type = ?
1679           and DATE (ct.created_date_time) >= ?
1680           and DATE (ct.created_date_time) <= ?
1681 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1682         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1683         FROM check_task ct
1684         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1685         WHERE 1 = 1
1686           AND ct.is_deleted = 0
1687           AND ND ct.biz_type = ?
1688           and DATE (ct.created_date_time) >= ?
1689           and DATE (ct.created_date_time) <= ?
1690     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
1691     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
1692     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
1693     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
1694     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
1695     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
1696     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
1697     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
1698     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
1699     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:125)
1700     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
1701     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
1702     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
1703     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
1704     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
1705     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1706     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
1707     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
1708     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1709     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
1710     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$171f81f6.GetCheckTaskDefectReport(<generated>)
1711     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1712     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1713     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1714     at java.lang.reflect.Method.invoke(Method.java:498)
1715     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
1716     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
1717     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
1718     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
1719     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
1720     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
1721     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
1722     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
1723     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
1724     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
1725     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
1726     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
1727     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
1728     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
1729     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
1730     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
1731     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1732     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1733     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1734     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
1735     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1736     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1737     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
1738     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1739     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1740     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1741     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
1742     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1743     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1744     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1745     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
1746     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1747     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1748     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1749     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
1750     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1751     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1752     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1753     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
1754     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
1755     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
1756     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
1757     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
1758     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
1759     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
1760     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1761     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
1762     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
1763     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
1764     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
1765     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
1766     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1767     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
1768     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1769     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
1770     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
1771     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
1772     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
1773     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
1774     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
1775     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
1776     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
1777     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
1778     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
1779     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
1780     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
1781     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
1782     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
1783     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
1784     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
1785     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
1786     at java.lang.Thread.run(Thread.java:748)
1787 Caused by: org.apache.ibatis.exceptions.PersistenceException:
1788 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1789         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1790         FROM check_task ct
1791         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1792         WHERE 1 = 1
1793           AND ct.is_deleted = 0
1794           AND ND ct.biz_type = ?
1795           and DATE (ct.created_date_time) >= ?
1796           and DATE (ct.created_date_time) <= ?
1797 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1798         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1799         FROM check_task ct
1800         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1801         WHERE 1 = 1
1802           AND ct.is_deleted = 0
1803           AND ND ct.biz_type = ?
1804           and DATE (ct.created_date_time) >= ?
1805           and DATE (ct.created_date_time) <= ?
1806     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
1807     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
1808     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
1809     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
1810     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1811     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1812     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1813     at java.lang.reflect.Method.invoke(Method.java:498)
1814     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
1815     ... 95 common frames omitted
1816 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1817         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1818         FROM check_task ct
1819         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1820         WHERE 1 = 1
1821           AND ct.is_deleted = 0
1822           AND ND ct.biz_type = ?
1823           and DATE (ct.created_date_time) >= ?
1824           and DATE (ct.created_date_time) <= ?
1825     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
1826     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
1827     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
1828     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
1829     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
1830     at com.sun.proxy.$Proxy275.query(Unknown Source)
1831     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
1832     ... 102 common frames omitted
1833 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
1834     at line 7, column 18.
1835
1836 Was expecting one of:
1837
1838     "&"
1839     "::"
1840     ";"
1841     "<<"
1842     ">>"
1843     "COLLATE"
1844     "CONNECT"
1845     "EMIT"
1846     "GROUP"
1847     "HAVING"
1848     "START"
1849     "["
1850     "^"
1851     "|"
1852     <EOF>
1853
1854     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
1855     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
1856     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
1857     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
1858     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
1859     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
1860     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
1861     ... 107 common frames omitted
1862 2024-05-27 15:18:10 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
1863 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
1864 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1865         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1866         FROM check_task ct
1867         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1868         WHERE 1 = 1
1869           AND ct.is_deleted = 0
1870           AND ND ct.biz_type = ?
1871           and DATE (ct.created_date_time) >= ?
1872           and DATE (ct.created_date_time) <= ?
1873 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1874         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1875         FROM check_task ct
1876         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1877         WHERE 1 = 1
1878           AND ct.is_deleted = 0
1879           AND ND ct.biz_type = ?
1880           and DATE (ct.created_date_time) >= ?
1881           and DATE (ct.created_date_time) <= ?
1882     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
1883     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
1884     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
1885     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
1886     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
1887     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
1888     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
1889     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
1890     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
1891     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:125)
1892     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
1893     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
1894     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
1895     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
1896     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
1897     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1898     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
1899     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
1900     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
1901     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
1902     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$171f81f6.GetCheckTaskDefectReport(<generated>)
1903     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1904     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1905     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1906     at java.lang.reflect.Method.invoke(Method.java:498)
1907     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
1908     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
1909     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
1910     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
1911     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
1912     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
1913     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
1914     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
1915     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
1916     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
1917     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
1918     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
1919     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
1920     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
1921     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
1922     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
1923     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1924     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1925     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1926     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
1927     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1928     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1929     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
1930     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1931     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1932     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1933     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
1934     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1935     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1936     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1937     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
1938     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1939     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1940     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1941     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
1942     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
1943     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
1944     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
1945     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
1946     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
1947     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
1948     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
1949     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
1950     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
1951     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
1952     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1953     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
1954     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
1955     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
1956     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
1957     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
1958     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1959     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
1960     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
1961     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
1962     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
1963     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
1964     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
1965     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
1966     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
1967     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
1968     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
1969     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
1970     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
1971     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
1972     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
1973     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
1974     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
1975     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
1976     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
1977     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
1978     at java.lang.Thread.run(Thread.java:748)
1979 Caused by: org.apache.ibatis.exceptions.PersistenceException:
1980 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1981         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1982         FROM check_task ct
1983         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1984         WHERE 1 = 1
1985           AND ct.is_deleted = 0
1986           AND ND ct.biz_type = ?
1987           and DATE (ct.created_date_time) >= ?
1988           and DATE (ct.created_date_time) <= ?
1989 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
1990         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
1991         FROM check_task ct
1992         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
1993         WHERE 1 = 1
1994           AND ct.is_deleted = 0
1995           AND ND ct.biz_type = ?
1996           and DATE (ct.created_date_time) >= ?
1997           and DATE (ct.created_date_time) <= ?
1998     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
1999     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
2000     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
2001     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
2002     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2003     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2004     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2005     at java.lang.reflect.Method.invoke(Method.java:498)
2006     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
2007     ... 95 common frames omitted
2008 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2009         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2010         FROM check_task ct
2011         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2012         WHERE 1 = 1
2013           AND ct.is_deleted = 0
2014           AND ND ct.biz_type = ?
2015           and DATE (ct.created_date_time) >= ?
2016           and DATE (ct.created_date_time) <= ?
2017     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
2018     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
2019     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
2020     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
2021     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
2022     at com.sun.proxy.$Proxy275.query(Unknown Source)
2023     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
2024     ... 102 common frames omitted
2025 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
2026     at line 7, column 18.
2027
2028 Was expecting one of:
2029
2030     "&"
2031     "::"
2032     ";"
2033     "<<"
2034     ">>"
2035     "COLLATE"
2036     "CONNECT"
2037     "EMIT"
2038     "GROUP"
2039     "HAVING"
2040     "START"
2041     "["
2042     "^"
2043     "|"
2044     <EOF>
2045
2046     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
2047     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
2048     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
2049     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
2050     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
2051     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
2052     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
2053     ... 107 common frames omitted
2054 2024-05-27 15:18:57 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
2055 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
2056 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2057         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2058         FROM check_task ct
2059         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2060         WHERE 1 = 1
2061           AND ct.is_deleted = 0
2062           AND ND ct.biz_type = ?
2063           and ct.created_date_time >= ?
2064           and ct.created_date_time <= ?
2065 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2066         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2067         FROM check_task ct
2068         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2069         WHERE 1 = 1
2070           AND ct.is_deleted = 0
2071           AND ND ct.biz_type = ?
2072           and ct.created_date_time >= ?
2073           and ct.created_date_time <= ?
2074     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
2075     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
2076     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
2077     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
2078     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
2079     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
2080     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
2081     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
2082     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
2083     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:125)
2084     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
2085     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
2086     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
2087     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
2088     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
2089     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
2090     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
2091     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
2092     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
2093     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
2094     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$8b9dd2a1.GetCheckTaskDefectReport(<generated>)
2095     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2096     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2097     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2098     at java.lang.reflect.Method.invoke(Method.java:498)
2099     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
2100     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
2101     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
2102     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
2103     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
2104     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
2105     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
2106     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
2107     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
2108     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
2109     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
2110     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
2111     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
2112     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
2113     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
2114     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
2115     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2116     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2117     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2118     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
2119     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2120     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2121     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
2122     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2123     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2124     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2125     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
2126     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2127     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2128     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2129     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
2130     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2131     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2132     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2133     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
2134     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2135     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2136     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2137     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
2138     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
2139     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
2140     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
2141     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
2142     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
2143     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
2144     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2145     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
2146     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
2147     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
2148     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
2149     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
2150     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2151     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
2152     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2153     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
2154     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
2155     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
2156     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
2157     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
2158     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
2159     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
2160     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
2161     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
2162     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
2163     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
2164     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
2165     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
2166     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
2167     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
2168     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
2169     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
2170     at java.lang.Thread.run(Thread.java:748)
2171 Caused by: org.apache.ibatis.exceptions.PersistenceException:
2172 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2173         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2174         FROM check_task ct
2175         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2176         WHERE 1 = 1
2177           AND ct.is_deleted = 0
2178           AND ND ct.biz_type = ?
2179           and ct.created_date_time >= ?
2180           and ct.created_date_time <= ?
2181 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2182         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2183         FROM check_task ct
2184         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2185         WHERE 1 = 1
2186           AND ct.is_deleted = 0
2187           AND ND ct.biz_type = ?
2188           and ct.created_date_time >= ?
2189           and ct.created_date_time <= ?
2190     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
2191     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
2192     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
2193     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
2194     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2195     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2196     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2197     at java.lang.reflect.Method.invoke(Method.java:498)
2198     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
2199     ... 95 common frames omitted
2200 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2201         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2202         FROM check_task ct
2203         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2204         WHERE 1 = 1
2205           AND ct.is_deleted = 0
2206           AND ND ct.biz_type = ?
2207           and ct.created_date_time >= ?
2208           and ct.created_date_time <= ?
2209     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
2210     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
2211     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
2212     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
2213     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
2214     at com.sun.proxy.$Proxy275.query(Unknown Source)
2215     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
2216     ... 102 common frames omitted
2217 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
2218     at line 7, column 18.
2219
2220 Was expecting one of:
2221
2222     "&"
2223     "::"
2224     ";"
2225     "<<"
2226     ">>"
2227     "COLLATE"
2228     "CONNECT"
2229     "EMIT"
2230     "GROUP"
2231     "HAVING"
2232     "START"
2233     "["
2234     "^"
2235     "|"
2236     <EOF>
2237
2238     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
2239     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
2240     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
2241     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
2242     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
2243     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
2244     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
2245     ... 107 common frames omitted
2246 2024-05-27 15:20:01 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
2247 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='bizType', mode=IN, javaType=class java.lang.Long, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
2248     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
2249     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
2250     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
2251     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
2252     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
2253     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
2254     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
2255     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
2256     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
2257     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:125)
2258     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
2259     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
2260     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
2261     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
2262     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
2263     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
2264     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
2265     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
2266     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
2267     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
2268     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$7be36507.GetCheckTaskDefectReport(<generated>)
2269     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2270     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2271     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2272     at java.lang.reflect.Method.invoke(Method.java:498)
2273     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
2274     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
2275     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
2276     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
2277     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
2278     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
2279     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
2280     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
2281     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
2282     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
2283     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
2284     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
2285     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
2286     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
2287     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
2288     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
2289     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2290     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2291     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2292     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
2293     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2294     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2295     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
2296     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2297     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2298     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2299     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
2300     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2301     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2302     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2303     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
2304     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2305     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2306     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2307     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
2308     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2309     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2310     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2311     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
2312     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
2313     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
2314     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
2315     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
2316     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
2317     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
2318     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2319     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
2320     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
2321     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
2322     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
2323     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
2324     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2325     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
2326     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2327     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
2328     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
2329     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
2330     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
2331     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
2332     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
2333     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
2334     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
2335     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
2336     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
2337     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
2338     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
2339     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
2340     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
2341     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
2342     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
2343     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
2344     at java.lang.Thread.run(Thread.java:748)
2345 Caused by: org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='bizType', mode=IN, javaType=class java.lang.Long, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
2346     at com.baomidou.mybatisplus.core.MybatisParameterHandler.setParameters(MybatisParameterHandler.java:238)
2347     at org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:94)
2348     at org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:64)
2349     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2350     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2351     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2352     at java.lang.reflect.Method.invoke(Method.java:498)
2353     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64)
2354     at com.sun.proxy.$Proxy276.parameterize(Unknown Source)
2355     at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:88)
2356     at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62)
2357     at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
2358     at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
2359     at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
2360     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
2361     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
2362     at com.sun.proxy.$Proxy275.query(Unknown Source)
2363     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
2364     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
2365     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
2366     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2367     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2368     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2369     at java.lang.reflect.Method.invoke(Method.java:498)
2370     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
2371     ... 95 common frames omitted
2372 Caused by: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
2373     at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:75)
2374     at com.baomidou.mybatisplus.core.MybatisParameterHandler.setParameters(MybatisParameterHandler.java:236)
2375     ... 119 common frames omitted
2376 Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
2377     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)
2378     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:98)
2379     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:90)
2380     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:64)
2381     at com.mysql.cj.jdbc.ClientPreparedStatement.checkBounds(ClientPreparedStatement.java:1345)
2382     at com.mysql.cj.jdbc.ClientPreparedStatement.getCoreParameterIndex(ClientPreparedStatement.java:1358)
2383     at com.mysql.cj.jdbc.ClientPreparedStatement.setLong(ClientPreparedStatement.java:1543)
2384     at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.setLong(HikariProxyPreparedStatement.java)
2385     at com.p6spy.engine.wrapper.PreparedStatementWrapper.setLong(PreparedStatementWrapper.java:173)
2386     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2387     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2388     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2389     at java.lang.reflect.Method.invoke(Method.java:498)
2390     at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:67)
2391     at com.sun.proxy.$Proxy225.setLong(Unknown Source)
2392     at org.apache.ibatis.type.LongTypeHandler.setNonNullParameter(LongTypeHandler.java:31)
2393     at org.apache.ibatis.type.LongTypeHandler.setNonNullParameter(LongTypeHandler.java:26)
2394     at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:73)
2395     ... 120 common frames omitted
2396 2024-05-27 15:23:36 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
2397 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
2398 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2399         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2400         FROM check_task ct
2401         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2402         WHERE 1 = 1
2403           AND ct.is_deleted = 0
2404           AND ND ct.biz_type = ?
2405 --           and ct.created_date_time >= ?
2406 --           and ct.created_date_time <= ?
2407 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2408         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2409         FROM check_task ct
2410         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2411         WHERE 1 = 1
2412           AND ct.is_deleted = 0
2413           AND ND ct.biz_type = ?
2414 --           and ct.created_date_time >= ?
2415 --           and ct.created_date_time <= ?
2416     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
2417     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
2418     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
2419     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
2420     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
2421     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
2422     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
2423     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
2424     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
2425     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:125)
2426     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
2427     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
2428     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
2429     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
2430     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
2431     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
2432     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
2433     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
2434     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
2435     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
2436     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$e5f39a4a.GetCheckTaskDefectReport(<generated>)
2437     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2438     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2439     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2440     at java.lang.reflect.Method.invoke(Method.java:498)
2441     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
2442     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
2443     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
2444     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
2445     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
2446     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
2447     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
2448     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
2449     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
2450     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
2451     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
2452     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
2453     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
2454     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
2455     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
2456     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
2457     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2458     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2459     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2460     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
2461     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2462     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2463     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
2464     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2465     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2466     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2467     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
2468     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2469     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2470     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2471     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
2472     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2473     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2474     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2475     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
2476     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2477     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2478     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2479     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
2480     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
2481     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
2482     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
2483     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
2484     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
2485     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
2486     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2487     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
2488     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
2489     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
2490     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
2491     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
2492     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2493     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
2494     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2495     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
2496     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
2497     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
2498     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
2499     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
2500     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
2501     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
2502     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
2503     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
2504     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
2505     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
2506     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
2507     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
2508     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
2509     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
2510     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
2511     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
2512     at java.lang.Thread.run(Thread.java:748)
2513 Caused by: org.apache.ibatis.exceptions.PersistenceException:
2514 ### Error querying database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2515         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2516         FROM check_task ct
2517         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2518         WHERE 1 = 1
2519           AND ct.is_deleted = 0
2520           AND ND ct.biz_type = ?
2521 --           and ct.created_date_time >= ?
2522 --           and ct.created_date_time <= ?
2523 ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2524         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2525         FROM check_task ct
2526         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2527         WHERE 1 = 1
2528           AND ct.is_deleted = 0
2529           AND ND ct.biz_type = ?
2530 --           and ct.created_date_time >= ?
2531 --           and ct.created_date_time <= ?
2532     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
2533     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
2534     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
2535     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
2536     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2537     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2538     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2539     at java.lang.reflect.Method.invoke(Method.java:498)
2540     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
2541     ... 95 common frames omitted
2542 Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: SELECT ct.created_date_time as dateTime,ct.sqe_confirm_result,
2543         ct.check_task_id,bm.material_name,ct.material_id,ct.matnr
2544         FROM check_task ct
2545         INNER JOIN basic_material bm ON bm.material_id = ct.material_id
2546         WHERE 1 = 1
2547           AND ct.is_deleted = 0
2548           AND ND ct.biz_type = ?
2549 --           and ct.created_date_time >= ?
2550 --           and ct.created_date_time <= ?
2551     at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
2552     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
2553     at com.dl.framework.interceptor.PlusDataPermissionInterceptor.beforeQuery(PlusDataPermissionInterceptor.java:49)
2554     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
2555     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
2556     at com.sun.proxy.$Proxy275.query(Unknown Source)
2557     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
2558     ... 102 common frames omitted
2559 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ct" <S_IDENTIFIER>
2560     at line 7, column 18.
2561
2562 Was expecting one of:
2563
2564     "&"
2565     "::"
2566     ";"
2567     "<<"
2568     ">>"
2569     "COLLATE"
2570     "CONNECT"
2571     "EMIT"
2572     "GROUP"
2573     "HAVING"
2574     "START"
2575     "["
2576     "^"
2577     "|"
2578     <EOF>
2579
2580     at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31468)
2581     at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31301)
2582     at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:163)
2583     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
2584     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
2585     at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
2586     at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
2587     ... 107 common frames omitted
2588 2024-05-27 15:27:06 [XNIO-1 task-1] ERROR c.d.f.w.e.GlobalExceptionHandler - 请求地址'/ReportCheckTask/task/list', Mybatis系统异常
2589 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='startTime', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #2 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1).
2590     at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
2591     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
2592     at com.sun.proxy.$Proxy142.selectList(Unknown Source)
2593     at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
2594     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
2595     at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
2596     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
2597     at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
2598     at com.sun.proxy.$Proxy188.GetCheckTaskDefectReportByMaterial(Unknown Source)
2599     at com.dl.report.service.impl.ReportCheckTaskServiceImpl.GetCheckTaskDefectReport(ReportCheckTaskServiceImpl.java:125)
2600     at com.dl.web.controller.report.ReportCheckTaskController.GetCheckTaskDefectReport(ReportCheckTaskController.java:38)
2601     at com.dl.web.controller.report.ReportCheckTaskController$$FastClassBySpringCGLIB$$a4f0489a.invoke(<generated>)
2602     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
2603     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
2604     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
2605     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
2606     at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:123)
2607     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
2608     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
2609     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
2610     at com.dl.web.controller.report.ReportCheckTaskController$$EnhancerBySpringCGLIB$$1f904d87.GetCheckTaskDefectReport(<generated>)
2611     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2612     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2613     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2614     at java.lang.reflect.Method.invoke(Method.java:498)
2615     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
2616     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
2617     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
2618     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
2619     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
2620     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
2621     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
2622     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
2623     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
2624     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
2625     at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
2626     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
2627     at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
2628     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
2629     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
2630     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
2631     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2632     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2633     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2634     at com.dl.common.filter.RepeatableFilter.doFilter(RepeatableFilter.java:32)
2635     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2636     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2637     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
2638     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2639     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2640     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2641     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
2642     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2643     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2644     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2645     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
2646     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2647     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2648     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2649     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
2650     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
2651     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
2652     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
2653     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
2654     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
2655     at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
2656     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
2657     at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
2658     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
2659     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
2660     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2661     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
2662     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
2663     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
2664     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
2665     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
2666     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2667     at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
2668     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2669     at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
2670     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
2671     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
2672     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
2673     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
2674     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
2675     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
2676     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
2677     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
2678     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
2679     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
2680     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
2681     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
2682     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
2683     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
2684     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
2685     at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
2686     at java.lang.Thread.run(Thread.java:748)
2687 Caused by: org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='startTime', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #2 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1).
2688     at com.baomidou.mybatisplus.core.MybatisParameterHandler.setParameters(MybatisParameterHandler.java:238)
2689     at org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:94)
2690     at org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:64)
2691     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2692     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2693     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2694     at java.lang.reflect.Method.invoke(Method.java:498)
2695     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64)
2696     at com.sun.proxy.$Proxy276.parameterize(Unknown Source)
2697     at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:88)
2698     at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62)
2699     at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
2700     at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
2701     at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
2702     at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
2703     at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
2704     at com.sun.proxy.$Proxy275.query(Unknown Source)
2705     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
2706     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
2707     at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
2708     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2709     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2710     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2711     at java.lang.reflect.Method.invoke(Method.java:498)
2712     at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
2713     ... 95 common frames omitted
2714 Caused by: org.apache.ibatis.type.TypeException: Error setting non null for parameter #2 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1).
2715     at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:75)
2716     at com.baomidou.mybatisplus.core.MybatisParameterHandler.setParameters(MybatisParameterHandler.java:236)
2717     ... 119 common frames omitted
2718 Caused by: java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1).
2719     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)
2720     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:98)
2721     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:90)
2722     at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:64)
2723     at com.mysql.cj.jdbc.ClientPreparedStatement.checkBounds(ClientPreparedStatement.java:1345)
2724     at com.mysql.cj.jdbc.ClientPreparedStatement.getCoreParameterIndex(ClientPreparedStatement.java:1358)
2725     at com.mysql.cj.jdbc.ClientPreparedStatement.setString(ClientPreparedStatement.java:1714)
2726     at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.setString(HikariProxyPreparedStatement.java)
2727     at com.p6spy.engine.wrapper.PreparedStatementWrapper.setString(PreparedStatementWrapper.java:225)
2728     at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
2729     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2730     at java.lang.reflect.Method.invoke(Method.java:498)
2731     at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:67)
2732     at com.sun.proxy.$Proxy225.setString(Unknown Source)
2733     at org.apache.ibatis.type.StringTypeHandler.setNonNullParameter(StringTypeHandler.java:31)
2734     at org.apache.ibatis.type.StringTypeHandler.setNonNullParameter(StringTypeHandler.java:26)
2735     at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:73)
2736     ... 120 common frames omitted