12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067 |
- 15:49:35.588 [http-nio-8080-exec-10] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - Cannot format given Object as a Date
- java.lang.IllegalArgumentException: Cannot format given Object as a Date
- at java.base/java.text.DateFormat.format(DateFormat.java:338)
- at java.base/java.text.Format.format(Format.java:158)
- at com.xjrsoft.module.personnel.controller.LaborManagementController.exportData(LaborManagementController.java:69)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:670)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 15:49:51.458 [http-nio-8080-exec-1] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - Cannot format given Object as a Date
- java.lang.IllegalArgumentException: Cannot format given Object as a Date
- at java.base/java.text.DateFormat.format(DateFormat.java:338)
- at java.base/java.text.Format.format(Format.java:158)
- at com.xjrsoft.module.personnel.controller.LaborManagementController.exportData(LaborManagementController.java:69)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:670)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 16:27:12.024 [http-nio-8080-exec-1] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
- at com.sun.proxy.$Proxy140.selectList(Unknown Source)
- at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
- at com.sun.proxy.$Proxy332.listTextbookClaimExportQuery(Unknown Source)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookClaimExportQuery(TextbookServiceImpl.java:590)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$811050fe.listTextbookClaimExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(TextbookController.java:281)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
- ... 77 common frames omitted
- Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
- at com.xjrsoft.common.interceptor.DataScopeInnerInterceptor.beforeQuery(DataScopeInnerInterceptor.java:52)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
- at com.github.yulichang.interceptor.MPJInterceptor.intercept(MPJInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
- ... 83 common frames omitted
- Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "amd" <S_IDENTIFIER>
- at line 13, column 17.
- Was expecting one of:
- "&"
- ")"
- "::"
- "<<"
- ">>"
- "COLLATE"
- "CONNECT"
- "EMIT"
- "GROUP"
- "HAVING"
- "START"
- "["
- "^"
- "|"
- at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31234)
- at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31067)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithItem(CCJSqlParser.java:6199)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithList(CCJSqlParser.java:6131)
- at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:220)
- at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:153)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
- ... 99 common frames omitted
- 16:27:31.491 [http-nio-8080-exec-2] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - Required request body is missing: public org.springframework.http.ResponseEntity<byte[]> com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(com.xjrsoft.module.textbook.dto.TextbookClaimExportQueryDto)
- org.springframework.http.converter.HttpMessageNotReadableException: Required request body is missing: public org.springframework.http.ResponseEntity<byte[]> com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(com.xjrsoft.module.textbook.dto.TextbookClaimExportQueryDto)
- at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:163)
- at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:133)
- at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:122)
- at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:179)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:146)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 16:27:48.788 [http-nio-8080-exec-3] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
- at com.sun.proxy.$Proxy140.selectList(Unknown Source)
- at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
- at com.sun.proxy.$Proxy332.listTextbookClaimExportQuery(Unknown Source)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookClaimExportQuery(TextbookServiceImpl.java:590)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$811050fe.listTextbookClaimExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(TextbookController.java:281)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
- ... 77 common frames omitted
- Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
- at com.xjrsoft.common.interceptor.DataScopeInnerInterceptor.beforeQuery(DataScopeInnerInterceptor.java:52)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
- at com.github.yulichang.interceptor.MPJInterceptor.intercept(MPJInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
- ... 83 common frames omitted
- Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "amd" <S_IDENTIFIER>
- at line 13, column 17.
- Was expecting one of:
- "&"
- ")"
- "::"
- "<<"
- ">>"
- "COLLATE"
- "CONNECT"
- "EMIT"
- "GROUP"
- "HAVING"
- "START"
- "["
- "^"
- "|"
- at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31234)
- at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31067)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithItem(CCJSqlParser.java:6199)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithList(CCJSqlParser.java:6131)
- at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:220)
- at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:153)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
- ... 99 common frames omitted
|