Commit 32c5a1f4 by 赵剑炜

Merge branch 'develop' of http://gitlab.sothing.top/843502640/jyzb_platformV2 into develop-zhaojw

parents d64614ae 294f3a75
This source diff could not be displayed because it is too large. You can view the blob instead.
2024-03-01 00:06:51.616 ERROR 10620 --- [main] easy-es : Easy-Es supported elasticsearch and restHighLevelClient jar version is:7.14.0 ,Please resolve the dependency conflict! 2024-03-02 11:12:08.549 ERROR 12316 --- [http-nio-10030-exec-6] c.j.j.b.c.handle.GlobalExceptionHandler : >授权异常>>获取token失败,请检查header和param中是否传递了用户token
2024-03-01 00:07:13.059 ERROR 10620 --- [http-nio-10030-exec-1] c.j.j.b.c.handle.GlobalExceptionHandler : >授权异常>>获取token失败,请检查header和param中是否传递了用户token 2024-03-02 11:53:12.883 ERROR 12316 --- [http-nio-10030-exec-7] c.j.j.b.c.handle.GlobalExceptionHandler : 业务异常,错误信息为:定时任务类获取不到,请检查系统中是否有该类,具体类为:com.junmp.jyzb.task.WarrantyInventoryAction
2024-03-01 00:32:08.982 ERROR 10620 --- [http-nio-10030-exec-5] com.junmp.v2.log.aop.ApiLogRecordAop : com.junmp.junmpProcess.controller.BpmnController.getProcessDefinitionId(java.util.LinkedHashMap) 2024-03-02 12:38:25.185 ERROR 13840 --- [main] easy-es : Easy-Es supported elasticsearch and restHighLevelClient jar version is:7.14.0 ,Please resolve the dependency conflict!
2024-03-01 00:42:20.434 ERROR 10620 --- [http-nio-10030-exec-5] com.junmp.v2.log.aop.ApiLogRecordAop : com.junmp.junmpProcess.controller.BpmnController.getProcessDefinitionId(java.util.LinkedHashMap) 2024-03-02 13:30:00.162 ERROR 13840 --- [hutool-cron-1] c.h.cron.listener.TaskListenerManager :
2024-03-01 00:42:20.573 ERROR 10620 --- [http-nio-10030-exec-3] c.j.j.b.c.handle.GlobalExceptionHandler : 服务器运行异常 ### Error updating database. Cause: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
### The error may exist in file [F:\vue_project\jyzb_platformV2_localhost\jyzb-biz\target\classes\mapper\InventorySummaryMapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: {CALL Insert_into_view_destory_group()}
### Cause: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 org.springframework.jdbc.BadSqlGrammarException:
at java.util.ArrayList.rangeCheck(ArrayList.java:659) ### Error updating database. Cause: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
at java.util.ArrayList.get(ArrayList.java:435) ### The error may exist in file [F:\vue_project\jyzb_platformV2_localhost\jyzb-biz\target\classes\mapper\InventorySummaryMapper.xml]
at com.junmp.jyzb.service.impl.StocktakeServiceImpl.setOrderCode(StocktakeServiceImpl.java:188) ### The error may involve defaultParameterMap
at com.junmp.jyzb.service.impl.StocktakeServiceImpl$$FastClassBySpringCGLIB$$278242b.invoke(<generated>) ### The error occurred while setting parameters
### SQL: {CALL Insert_into_view_destory_group()}
### Cause: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
at org.springframework.jdbc.support.SQLExceptionSubclassTranslator.doTranslate(SQLExceptionSubclassTranslator.java:93)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:79)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:91)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
at com.sun.proxy.$Proxy136.insert(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:272)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:59)
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.$Proxy274.setDestoryGroupAcction(Unknown Source)
at com.junmp.jyzb.service.impl.InventorySummaryServiceImpl.setDestoryGroupAcction(InventorySummaryServiceImpl.java:530)
at com.junmp.jyzb.service.impl.InventorySummaryServiceImpl$$FastClassBySpringCGLIB$$ec214b78.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at com.junmp.jyzb.service.impl.StocktakeServiceImpl$$EnhancerBySpringCGLIB$$8091275b.setOrderCode(<generated>) at com.junmp.jyzb.service.impl.InventorySummaryServiceImpl$$EnhancerBySpringCGLIB$$851b196.setDestoryGroupAcction(<generated>)
at com.junmp.jyzb.service.impl.PolicemanServiceImpl.PoliceReassignment(PolicemanServiceImpl.java:1741) at com.junmp.jyzb.task.DestoryGroupAction.action(DestoryGroupAction.java:18)
at com.junmp.jyzb.service.impl.PolicemanServiceImpl$$FastClassBySpringCGLIB$$17a01fec.invoke(<generated>) at com.junmp.v2.job.hutool.HutoolJobExecuteServiceImpl.lambda$startJob$0(HutoolJobExecuteServiceImpl.java:68)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at cn.hutool.cron.task.CronTask.execute(CronTask.java:31)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at cn.hutool.cron.TaskExecutor.run(TaskExecutor.java:52)
at com.junmp.jyzb.service.impl.PolicemanServiceImpl$$EnhancerBySpringCGLIB$$f79ffb3e.PoliceReassignment(<generated>) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at com.junmp.jyzb.controller.PoliceController.PoliceReassignment(PoliceController.java:270) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at com.junmp.jyzb.controller.PoliceController$$FastClassBySpringCGLIB$$875c5b6a.invoke(<generated>) at java.lang.Thread.run(Thread.java:748)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) Caused by: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
at com.junmp.v2.log.aop.ApiLogRecordAop.aroundPost(ApiLogRecordAop.java:66) at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:370)
at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at com.mysql.cj.jdbc.CallableStatement.execute(CallableStatement.java:845)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyCallableStatement.execute(HikariProxyCallableStatement.java)
at org.apache.ibatis.executor.statement.CallableStatementHandler.update(CallableStatementHandler.java:50)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624) at com.sun.proxy.$Proxy343.update(Unknown Source)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72) at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.junmp.jyzb.controller.PoliceController$$EnhancerBySpringCGLIB$$e71c0174.PoliceReassignment(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894) at com.sun.proxy.$Proxy342.update(Unknown Source)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:181)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) at java.lang.reflect.Method.invoke(Method.java:498)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ... 18 common frames omitted
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
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 org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
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 org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
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:119)
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:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at com.junmp.v2.security.xss.XssFilter.doFilter(XssFilter.java:51)
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:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
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:357)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
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:1707)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
2024-03-01 00:43:18.527 ERROR 10620 --- [http-nio-10030-exec-1] com.junmp.v2.log.aop.ApiLogRecordAop : com.junmp.junmpProcess.controller.BpmnController.getProcessDefinitionId(java.util.LinkedHashMap) 2024-03-02 13:30:01.702 ERROR 13840 --- [http-nio-10030-exec-4] c.j.j.b.c.handle.GlobalExceptionHandler : >授权异常>>获取token失败,请检查header和param中是否传递了用户token
2024-03-01 00:43:51.554 ERROR 10620 --- [http-nio-10030-exec-2] c.j.j.b.c.handle.GlobalExceptionHandler : 服务器运行异常 2024-03-02 13:35:14.612 ERROR 10432 --- [main] easy-es : Easy-Es supported elasticsearch and restHighLevelClient jar version is:7.14.0 ,Please resolve the dependency conflict!
2024-03-02 13:40:00.171 ERROR 10432 --- [hutool-cron-1] c.h.cron.listener.TaskListenerManager :
### Error updating database. Cause: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
### The error may exist in file [F:\vue_project\jyzb_platformV2_localhost\jyzb-biz\target\classes\mapper\InventorySummaryMapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: {CALL Insert_into_view_destory_group()}
### Cause: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 org.springframework.jdbc.BadSqlGrammarException:
at java.util.ArrayList.rangeCheck(ArrayList.java:659) ### Error updating database. Cause: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
at java.util.ArrayList.get(ArrayList.java:435) ### The error may exist in file [F:\vue_project\jyzb_platformV2_localhost\jyzb-biz\target\classes\mapper\InventorySummaryMapper.xml]
at com.junmp.jyzb.service.impl.StocktakeServiceImpl.setOrderCode(StocktakeServiceImpl.java:188) ### The error may involve defaultParameterMap
at com.junmp.jyzb.service.impl.StocktakeServiceImpl$$FastClassBySpringCGLIB$$278242b.invoke(<generated>) ### The error occurred while setting parameters
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ### SQL: {CALL Insert_into_view_destory_group()}
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ### Cause: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
at com.junmp.jyzb.service.impl.StocktakeServiceImpl$$EnhancerBySpringCGLIB$$8091275b.setOrderCode(<generated>) ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
at com.junmp.jyzb.service.impl.PolicemanServiceImpl.PoliceReassignment(PolicemanServiceImpl.java:1741) at org.springframework.jdbc.support.SQLExceptionSubclassTranslator.doTranslate(SQLExceptionSubclassTranslator.java:93)
at com.junmp.jyzb.service.impl.PolicemanServiceImpl$$FastClassBySpringCGLIB$$17a01fec.invoke(<generated>) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:79)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:91)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
at com.sun.proxy.$Proxy136.insert(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:272)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:59)
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.$Proxy274.setDestoryGroupAcction(Unknown Source)
at com.junmp.jyzb.service.impl.InventorySummaryServiceImpl.setDestoryGroupAcction(InventorySummaryServiceImpl.java:530)
at com.junmp.jyzb.service.impl.InventorySummaryServiceImpl$$FastClassBySpringCGLIB$$ec214b78.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at com.junmp.jyzb.service.impl.PolicemanServiceImpl$$EnhancerBySpringCGLIB$$f79ffb3e.PoliceReassignment(<generated>) at com.junmp.jyzb.service.impl.InventorySummaryServiceImpl$$EnhancerBySpringCGLIB$$f838b564.setDestoryGroupAcction(<generated>)
at com.junmp.jyzb.controller.PoliceController.PoliceReassignment(PoliceController.java:270) at com.junmp.jyzb.task.DestoryGroupAction.action(DestoryGroupAction.java:18)
at com.junmp.jyzb.controller.PoliceController$$FastClassBySpringCGLIB$$875c5b6a.invoke(<generated>) at com.junmp.v2.job.hutool.HutoolJobExecuteServiceImpl.lambda$startJob$0(HutoolJobExecuteServiceImpl.java:68)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at cn.hutool.cron.task.CronTask.execute(CronTask.java:31)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at cn.hutool.cron.TaskExecutor.run(TaskExecutor.java:52)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89) at java.lang.Thread.run(Thread.java:748)
at com.junmp.v2.log.aop.ApiLogRecordAop.aroundPost(ApiLogRecordAop.java:66) Caused by: java.sql.SQLSyntaxErrorException: PROCEDURE db_jyzb.Insert_into_view_destory_group does not exist
at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:370)
at com.mysql.cj.jdbc.CallableStatement.execute(CallableStatement.java:845)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyCallableStatement.execute(HikariProxyCallableStatement.java)
at org.apache.ibatis.executor.statement.CallableStatementHandler.update(CallableStatementHandler.java:50)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624) at com.sun.proxy.$Proxy343.update(Unknown Source)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72) at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.junmp.jyzb.controller.PoliceController$$EnhancerBySpringCGLIB$$e71c0174.PoliceReassignment(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894) at com.sun.proxy.$Proxy342.update(Unknown Source)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:181)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) at java.lang.reflect.Method.invoke(Method.java:498)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ... 18 common frames omitted
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
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 org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
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 org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
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:119)
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:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at com.junmp.v2.security.xss.XssFilter.doFilter(XssFilter.java:51)
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:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
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:357)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
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:1707)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
2024-03-01 00:45:21.913 ERROR 10620 --- [http-nio-10030-exec-10] com.junmp.v2.log.aop.ApiLogRecordAop : com.junmp.junmpProcess.controller.BpmnController.getProcessDefinitionId(java.util.LinkedHashMap) 2024-03-02 13:42:28.425 ERROR 9344 --- [main] easy-es : Easy-Es supported elasticsearch and restHighLevelClient jar version is:7.14.0 ,Please resolve the dependency conflict!
2024-03-01 00:46:51.787 ERROR 10620 --- [http-nio-10030-exec-9] c.j.j.b.c.handle.GlobalExceptionHandler : 服务器运行异常 2024-03-02 13:45:18.867 ERROR 10712 --- [main] easy-es : Easy-Es supported elasticsearch and restHighLevelClient jar version is:7.14.0 ,Please resolve the dependency conflict!
2024-03-02 13:46:09.973 ERROR 10712 --- [http-nio-10030-exec-1] c.j.j.b.c.handle.GlobalExceptionHandler : >授权异常>>获取token失败,请检查header和param中是否传递了用户token
2024-03-02 14:14:54.138 ERROR 15104 --- [main] easy-es : Easy-Es supported elasticsearch and restHighLevelClient jar version is:7.14.0 ,Please resolve the dependency conflict!
2024-03-02 14:20:02.513 ERROR 15104 --- [http-nio-10030-exec-1] c.j.j.b.c.handle.GlobalExceptionHandler : >授权异常>>获取token失败,请检查header和param中是否传递了用户token
2024-03-02 14:30:00.322 ERROR 15104 --- [hutool-cron-1] c.h.cron.listener.TaskListenerManager :
### Error updating database. Cause: java.sql.SQLSyntaxErrorException: Table 'db_jyzb_test.base_destory_broken_inventory' doesn't exist
### The error may exist in file [F:\vue_project\jyzb_platformV2_localhost\jyzb-biz\target\classes\mapper\InventorySummaryMapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: {CALL Insert_into_view_destory_group()}
### Cause: java.sql.SQLSyntaxErrorException: Table 'db_jyzb_test.base_destory_broken_inventory' doesn't exist
; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Table 'db_jyzb_test.base_destory_broken_inventory' doesn't exist
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 org.springframework.jdbc.BadSqlGrammarException:
at java.util.ArrayList.rangeCheck(ArrayList.java:659) ### Error updating database. Cause: java.sql.SQLSyntaxErrorException: Table 'db_jyzb_test.base_destory_broken_inventory' doesn't exist
at java.util.ArrayList.get(ArrayList.java:435) ### The error may exist in file [F:\vue_project\jyzb_platformV2_localhost\jyzb-biz\target\classes\mapper\InventorySummaryMapper.xml]
at com.junmp.jyzb.service.impl.StocktakeServiceImpl.setOrderCode(StocktakeServiceImpl.java:188) ### The error may involve defaultParameterMap
at com.junmp.jyzb.service.impl.StocktakeServiceImpl$$FastClassBySpringCGLIB$$278242b.invoke(<generated>) ### The error occurred while setting parameters
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ### SQL: {CALL Insert_into_view_destory_group()}
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ### Cause: java.sql.SQLSyntaxErrorException: Table 'db_jyzb_test.base_destory_broken_inventory' doesn't exist
at com.junmp.jyzb.service.impl.StocktakeServiceImpl$$EnhancerBySpringCGLIB$$8091275b.setOrderCode(<generated>) ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Table 'db_jyzb_test.base_destory_broken_inventory' doesn't exist
at com.junmp.jyzb.service.impl.PolicemanServiceImpl.PoliceReassignment(PolicemanServiceImpl.java:1741) at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
at com.junmp.jyzb.service.impl.PolicemanServiceImpl$$FastClassBySpringCGLIB$$17a01fec.invoke(<generated>) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:91)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
at com.sun.proxy.$Proxy136.insert(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:272)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:59)
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.$Proxy274.setDestoryGroupAction(Unknown Source)
at com.junmp.jyzb.service.impl.InventorySummaryServiceImpl.setDestoryGroupAction(InventorySummaryServiceImpl.java:531)
at com.junmp.jyzb.service.impl.InventorySummaryServiceImpl$$FastClassBySpringCGLIB$$ec214b78.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at com.junmp.jyzb.service.impl.PolicemanServiceImpl$$EnhancerBySpringCGLIB$$f79ffb3e.PoliceReassignment(<generated>) at com.junmp.jyzb.service.impl.InventorySummaryServiceImpl$$EnhancerBySpringCGLIB$$67943c7b.setDestoryGroupAction(<generated>)
at com.junmp.jyzb.controller.PoliceController.PoliceReassignment(PoliceController.java:270) at com.junmp.jyzb.task.DestoryGroupAction.action(DestoryGroupAction.java:18)
at com.junmp.jyzb.controller.PoliceController$$FastClassBySpringCGLIB$$875c5b6a.invoke(<generated>) at com.junmp.v2.job.hutool.HutoolJobExecuteServiceImpl.lambda$startJob$0(HutoolJobExecuteServiceImpl.java:68)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at cn.hutool.cron.task.CronTask.execute(CronTask.java:31)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at cn.hutool.cron.TaskExecutor.run(TaskExecutor.java:52)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89) at java.lang.Thread.run(Thread.java:748)
at com.junmp.v2.log.aop.ApiLogRecordAop.aroundPost(ApiLogRecordAop.java:66) Caused by: java.sql.SQLSyntaxErrorException: Table 'db_jyzb_test.base_destory_broken_inventory' doesn't exist
at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:370)
at com.mysql.cj.jdbc.CallableStatement.execute(CallableStatement.java:845)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyCallableStatement.execute(HikariProxyCallableStatement.java)
at org.apache.ibatis.executor.statement.CallableStatementHandler.update(CallableStatementHandler.java:50)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74)
at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624) at com.sun.proxy.$Proxy343.update(Unknown Source)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72) at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at sun.reflect.GeneratedMethodAccessor444.invoke(Unknown Source)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
at com.junmp.jyzb.controller.PoliceController$$EnhancerBySpringCGLIB$$e71c0174.PoliceReassignment(<generated>) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
at com.sun.proxy.$Proxy342.update(Unknown Source)
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:194)
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141) ... 18 common frames omitted
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894)
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:1060)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962)
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:652)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
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 org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
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 org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
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:119)
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:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at com.junmp.v2.security.xss.XssFilter.doFilter(XssFilter.java:51)
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:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
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:357)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
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:1707)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
2024-03-01 00:47:46.063 ERROR 10620 --- [http-nio-10030-exec-4] com.junmp.v2.log.aop.ApiLogRecordAop : com.junmp.junmpProcess.controller.BpmnController.getProcessDefinitionId(java.util.LinkedHashMap)
2024-03-01 00:47:46.175 ERROR 10620 --- [http-nio-10030-exec-3] c.j.j.b.c.handle.GlobalExceptionHandler : 业务异常,错误信息为:该警员已经在审核流中或已经调岗完成,请勿重复操作
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -67,4 +67,7 @@ public class WarehouseDevInfoDto { ...@@ -67,4 +67,7 @@ public class WarehouseDevInfoDto {
* *
*/ */
private Date updateTime; private Date updateTime;
//设备类型(0除湿机,1温湿度计)
private Integer devType;
} }
...@@ -70,4 +70,7 @@ public class WarehouseDevDto { ...@@ -70,4 +70,7 @@ public class WarehouseDevDto {
private String orgName; private String orgName;
private String warehouseName; private String warehouseName;
//设备类型(0除湿机,1温湿度计)
private Integer devType;
} }
...@@ -67,4 +67,7 @@ public class QueryWarehouseDevReq { ...@@ -67,4 +67,7 @@ public class QueryWarehouseDevReq {
private Date updateTime; private Date updateTime;
//设备类型(0除湿机,1温湿度计)
private Integer devType;
} }
...@@ -79,4 +79,7 @@ public class UpdateWarehouseDevReq { ...@@ -79,4 +79,7 @@ public class UpdateWarehouseDevReq {
//是否暂存(true表示暂存不会下发到本地主机,如果为空或者是为false则表示直接下发通知到本地主机) //是否暂存(true表示暂存不会下发到本地主机,如果为空或者是为false则表示直接下发通知到本地主机)
private Boolean flag; private Boolean flag;
//设备类型(0除湿机,1温湿度计)
private Integer devType;
} }
package com.junmp.jyzb.Repository;
import com.junmp.jyzb.entity.Supplier;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
public interface SupplierRepository extends ElasticsearchRepository<Supplier, Long> {
}
...@@ -98,6 +98,10 @@ public class WarehouseDev implements Serializable { ...@@ -98,6 +98,10 @@ public class WarehouseDev implements Serializable {
@TableField(value = "update_time") @TableField(value = "update_time")
private Date updateTime; private Date updateTime;
//设备类型(0,除湿机,1温度计)
@TableField(value = "dev_type")
private Integer devType;
@TableField(exist = false) @TableField(exist = false)
private String orgName; private String orgName;
......
...@@ -96,4 +96,10 @@ public interface InventorySummaryMapper extends BaseMapper<InventorySummary> { ...@@ -96,4 +96,10 @@ public interface InventorySummaryMapper extends BaseMapper<InventorySummary> {
void useViewOrgIdInLevel(@Param("sql") String sql,@Param("orgId") Long orgId); void useViewOrgIdInLevel(@Param("sql") String sql,@Param("orgId") Long orgId);
List<Long> selectOrgIds(@Param("orgId") Long orgId); List<Long> selectOrgIds(@Param("orgId") Long orgId);
void setWarrantyInventoryAction();
void setDestoryGroupAction();
void setWarrantyGroupAction();
} }
\ No newline at end of file
...@@ -48,4 +48,10 @@ public interface InventorySummaryService extends IService<InventorySummary> { ...@@ -48,4 +48,10 @@ public interface InventorySummaryService extends IService<InventorySummary> {
PageResult<InventorySummary> GetEquipmentSummary(InventorySumReq req); PageResult<InventorySummary> GetEquipmentSummary(InventorySumReq req);
List<InventorySummary> GetEquipmentSummaryDetail(InventorySumReq req); List<InventorySummary> GetEquipmentSummaryDetail(InventorySumReq req);
void setWarrantyInventoryAction();
void setDestoryGroupAction();
void setWarrantyGroupAction();
} }
...@@ -16,4 +16,6 @@ public interface PublicService { ...@@ -16,4 +16,6 @@ public interface PublicService {
List<SimpleDictVo> getAllDictItem(); List<SimpleDictVo> getAllDictItem();
boolean updateMessage(MessageReq req); boolean updateMessage(MessageReq req);
} }
...@@ -11,6 +11,9 @@ import com.junmp.v2.db.api.page.PageResult; ...@@ -11,6 +11,9 @@ import com.junmp.v2.db.api.page.PageResult;
import java.util.List; import java.util.List;
public interface SupplierService extends IService<Supplier> { public interface SupplierService extends IService<Supplier> {
Object addEs();
/** /**
* 新增 * 新增
* *
......
...@@ -141,6 +141,8 @@ public class EquipmentSizeServiceImpl extends ServiceImpl<EquipmentSizeMapper, E ...@@ -141,6 +141,8 @@ public class EquipmentSizeServiceImpl extends ServiceImpl<EquipmentSizeMapper, E
mqDto.setMessage("Adding sizeInfo"); mqDto.setMessage("Adding sizeInfo");
MQ.sendToExchange(exchangeName,"org",mqDto); MQ.sendToExchange(exchangeName,"org",mqDto);
//添加es
sizeRepository.save(size);
return sizeID+"||"+code; return sizeID+"||"+code;
} }
...@@ -186,6 +188,8 @@ public class EquipmentSizeServiceImpl extends ServiceImpl<EquipmentSizeMapper, E ...@@ -186,6 +188,8 @@ public class EquipmentSizeServiceImpl extends ServiceImpl<EquipmentSizeMapper, E
mqDto.setMessage("Updating sizeInfo"); mqDto.setMessage("Updating sizeInfo");
MQ.sendToExchange(exchangeName,"org",mqDto); MQ.sendToExchange(exchangeName,"org",mqDto);
//添加es
sizeRepository.save(size);
return this.updateById(size); return this.updateById(size);
} }
......
...@@ -151,12 +151,14 @@ public class EquipmentTypeServiceImpl extends ServiceImpl<EquipmentTypeMapper, E ...@@ -151,12 +151,14 @@ public class EquipmentTypeServiceImpl extends ServiceImpl<EquipmentTypeMapper, E
mqDto.setType(2); mqDto.setType(2);
mqDto.setMessage("Adding typeInfo"); mqDto.setMessage("Adding typeInfo");
MQ.sendToExchange(exchangeName,"org",mqDto); MQ.sendToExchange(exchangeName,"org",mqDto);
//往es中添加数据
typeRepository.save(type);
return String.valueOf(newcode); return String.valueOf(newcode);
} else { } else {
String msg="以下供应商不存在:" +String.join(",", chekResult); String msg="以下供应商不存在:" +String.join(",", chekResult);
throw new JYZBAppException(EquipmentExceptionEnum.SUPPLIER_NOT_EXIST, msg); throw new JYZBAppException(EquipmentExceptionEnum.SUPPLIER_NOT_EXIST, msg);
} }
} }
...@@ -256,6 +258,8 @@ public class EquipmentTypeServiceImpl extends ServiceImpl<EquipmentTypeMapper, E ...@@ -256,6 +258,8 @@ public class EquipmentTypeServiceImpl extends ServiceImpl<EquipmentTypeMapper, E
mqDto.setType(2); mqDto.setType(2);
mqDto.setMessage("Updating typeInfo"); mqDto.setMessage("Updating typeInfo");
MQ.sendToExchange(exchangeName,"org",mqDto); MQ.sendToExchange(exchangeName,"org",mqDto);
//往es中添加数据
typeRepository.save(type);
return this.updateById(type); return this.updateById(type);
} else { } else {
String msg="以下供应商不存在:" +String.join(",", chekResult); String msg="以下供应商不存在:" +String.join(",", chekResult);
......
...@@ -176,6 +176,8 @@ public class InventorySummaryServiceImpl extends ServiceImpl<InventorySummaryMa ...@@ -176,6 +176,8 @@ public class InventorySummaryServiceImpl extends ServiceImpl<InventorySummaryMa
return inventorySummaryMapper.GetEquipmentSummaryDetail(req); return inventorySummaryMapper.GetEquipmentSummaryDetail(req);
} }
@Override @Override
public List<InventorySummary> getEquipmentInfoList(InventorySumReq req) { public List<InventorySummary> getEquipmentInfoList(InventorySumReq req) {
//当没有参数传递的时候默认查询全部,但是如果传递了条件,根据条件查询并且如果是根据id进行查询,则需要判断该id是否存在 //当没有参数传递的时候默认查询全部,但是如果传递了条件,根据条件查询并且如果是根据id进行查询,则需要判断该id是否存在
...@@ -517,4 +519,24 @@ public class InventorySummaryServiceImpl extends ServiceImpl<InventorySummaryMa ...@@ -517,4 +519,24 @@ public class InventorySummaryServiceImpl extends ServiceImpl<InventorySummaryMa
return wrapper; return wrapper;
} }
//执行过质保期装备存储过程
@Override
public void setWarrantyInventoryAction() {
inventorySummaryMapper.setWarrantyInventoryAction();
System.out.println("111 = " + 111);
}
//执行过质保期装备存储过程
@Override
public void setDestoryGroupAction() {
inventorySummaryMapper.setDestoryGroupAction();
System.out.println("111 = " + 222);
}
//执行过质保期装备存储过程
@Override
public void setWarrantyGroupAction() {
inventorySummaryMapper.setWarrantyGroupAction();
System.out.println("111 = " + 333);
}
} }
...@@ -590,9 +590,9 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain ...@@ -590,9 +590,9 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain
} }
private BusForm setState1(String orderType,Long orgId,String bussinessCode){ private BusForm setState1(String orderType,Long orgId,String bussinessCode){
BusForm busform = busFormService.getOne(new LambdaQueryWrapper<BusForm>() BusForm busform = busFormService.list(new LambdaQueryWrapper<BusForm>()
.eq(BusForm::getOrgId, orgId) .eq(BusForm::getOrgId, orgId)
.in(BusForm::getBussinessCode, bussinessCode)); .in(BusForm::getBussinessCode, bussinessCode)).get(0);
busform.setOrderCurrentState(busform.getOrderLastState()); busform.setOrderCurrentState(busform.getOrderLastState());
if (orderType.equals("in")){ if (orderType.equals("in")){
switch (busform.getOrderCurrentState()){ switch (busform.getOrderCurrentState()){
...@@ -1171,6 +1171,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain ...@@ -1171,6 +1171,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain
LogDetailReq logDetailReq = new LogDetailReq(); LogDetailReq logDetailReq = new LogDetailReq();
BeanPlusUtil.copyProperties(inv,logDetailReq); BeanPlusUtil.copyProperties(inv,logDetailReq);
logDetailReq.setOutInState(req.getOrderType()); logDetailReq.setOutInState(req.getOrderType());
logDetailReq.setCreateTime(DateTimeUtil.getCurrentDateTime());
if (CollectionUtil.isEmpty(logDetailList)) { if (CollectionUtil.isEmpty(logDetailList)) {
lsReq.setLogList(new ArrayList<>()); lsReq.setLogList(new ArrayList<>());
logDetailList = lsReq.getLogList(); logDetailList = lsReq.getLogList();
...@@ -1365,7 +1366,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain ...@@ -1365,7 +1366,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain
for (OrderLogReq ol: ls.getOrderLogList()) { for (OrderLogReq ol: ls.getOrderLogList()) {
OrderLog orderLog = new OrderLog(); OrderLog orderLog = new OrderLog();
BeanPlusUtil.copyProperties(ol,orderLog); BeanPlusUtil.copyProperties(ol,orderLog);
orderLog.setCreateTime(DateTimeUtil.getCurrentDateTime());
orderLogList.add(orderLog); orderLogList.add(orderLog);
} }
} }
...@@ -1375,6 +1376,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain ...@@ -1375,6 +1376,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain
LogDetail logDetail = new LogDetail(); LogDetail logDetail = new LogDetail();
BeanPlusUtil.copyProperties(ld,logDetail); BeanPlusUtil.copyProperties(ld,logDetail);
logDetail.setSummaryId(logSummary.getId()); logDetail.setSummaryId(logSummary.getId());
logDetail.setCreateTime(DateTimeUtil.getCurrentDateTime());
logDetailList.add(logDetail); logDetailList.add(logDetail);
} }
} }
......
...@@ -836,6 +836,8 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem ...@@ -836,6 +836,8 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem
pubOrg.setCreateTime(DateTimeUtil.getCurrentDateTime()); pubOrg.setCreateTime(DateTimeUtil.getCurrentDateTime());
pubOrg.setIsMap("0"); pubOrg.setIsMap("0");
save(pubOrg); save(pubOrg);
//添加es
pubOrgRepository.save(pubOrg);
return pubOrg.getOrgId(); return pubOrg.getOrgId();
} }
...@@ -848,6 +850,8 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem ...@@ -848,6 +850,8 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem
// } // }
PubOrg pubOrg = new PubOrg(); PubOrg pubOrg = new PubOrg();
BeanPlusUtil.copyProperties(req,pubOrg); BeanPlusUtil.copyProperties(req,pubOrg);
//添加es
pubOrgRepository.save(pubOrg);
return updateById(pubOrg); return updateById(pubOrg);
} }
......
...@@ -5,6 +5,7 @@ import cn.hutool.core.util.ObjectUtil; ...@@ -5,6 +5,7 @@ import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.junmp.jyzb.Repository.SupplierRepository;
import com.junmp.jyzb.api.bean.dto.FetchingDataDto.SupplierInfoDto; import com.junmp.jyzb.api.bean.dto.FetchingDataDto.SupplierInfoDto;
import com.junmp.jyzb.api.bean.dto.MQDto; import com.junmp.jyzb.api.bean.dto.MQDto;
import com.junmp.jyzb.api.bean.dto.SupplierDto; import com.junmp.jyzb.api.bean.dto.SupplierDto;
...@@ -43,6 +44,16 @@ public class SupplierServiceImpl extends ServiceImpl<SupplierMapper, Supplier> i ...@@ -43,6 +44,16 @@ public class SupplierServiceImpl extends ServiceImpl<SupplierMapper, Supplier> i
@Resource @Resource
private SupplierMapper supplierMapper; private SupplierMapper supplierMapper;
@Resource
private SupplierRepository supplierRepository;
@Override
public Object addEs() {
QuerySupplierReq req = new QuerySupplierReq();
return null;
}
@Override @Override
public String AddSupplier(UpdateSupplierReq req) { public String AddSupplier(UpdateSupplierReq req) {
List<Supplier> list = list(new LambdaQueryWrapper<Supplier>() List<Supplier> list = list(new LambdaQueryWrapper<Supplier>()
......
...@@ -36,7 +36,7 @@ public class VieWarrantyGroupServiceImpl extends ServiceImpl<VieWarrantyGroupMap ...@@ -36,7 +36,7 @@ public class VieWarrantyGroupServiceImpl extends ServiceImpl<VieWarrantyGroupMap
private VieDestoryGroupServiceImpl VieDestoryGroupService; private VieDestoryGroupServiceImpl VieDestoryGroupService;
@Override @Override
public PageResult<WarrantyDataDto> WarrantyData(WarrantyReq req) { public PageResult<WarrantyDataDto> WarrantyData(WarrantyReq req) {
if(req.getWarrantyType().equals(0)||req.getWarrantyType().equals(1)) if(req.getWarrantyType().equals("0")||req.getWarrantyType().equals("1"))
{ {
LambdaQueryWrapper<VieWarrantyGroup> wrapper = createWrapper(req); LambdaQueryWrapper<VieWarrantyGroup> wrapper = createWrapper(req);
Page<VieWarrantyGroup> page = page(PageFactory.getDefaultPage(req.getPageNo(), req.getPageSize()), wrapper); Page<VieWarrantyGroup> page = page(PageFactory.getDefaultPage(req.getPageNo(), req.getPageSize()), wrapper);
......
package com.junmp.jyzb.task;
import com.junmp.jyzb.service.InventorySummaryService;
import com.junmp.jyzb.service.PublicService;
import com.junmp.v2.job.api.JobAction;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
@Slf4j
@Component
public class DestoryGroupAction implements JobAction {
@Resource
private InventorySummaryService inventorySummaryService;
@Override
public void action() {
inventorySummaryService.setDestoryGroupAction();
}
}
package com.junmp.jyzb.task;
import com.junmp.jyzb.service.InventorySummaryService;
import com.junmp.jyzb.service.PublicService;
import com.junmp.v2.job.api.JobAction;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
@Slf4j
@Component
public class WarrantyGroupAction implements JobAction{
@Resource
private InventorySummaryService inventorySummaryService;
@Override
public void action() {
inventorySummaryService.setWarrantyGroupAction();
}
}
package com.junmp.jyzb.task;
import com.junmp.jyzb.service.InventorySummaryService;
import com.junmp.jyzb.service.PublicService;
import com.junmp.v2.job.api.JobAction;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
@Slf4j
@Component
public class WarrantyInventoryAction implements JobAction{
@Resource
private InventorySummaryService inventorySummaryService;
@Override
public void action() {
inventorySummaryService.setWarrantyInventoryAction();
}
}
...@@ -87,7 +87,21 @@ ...@@ -87,7 +87,21 @@
END END
WHERE add_price IS NULL OR add_num IS NULL; WHERE add_price IS NULL OR add_num IS NULL;
</update> </update>
<insert id="setWarrantyInventoryAction" statementType="CALLABLE">
{CALL Insert_into_base_warranty_inventory()}
</insert>
<insert id="setDestoryGroupAction" statementType="CALLABLE">
{CALL Insert_into_view_destory_group()}
</insert>
<insert id="setWarrantyGroupAction" statementType="CALLABLE">
{CALL Insert_into_view_warranty_group()}
</insert>
<insert id="getSumByCabinet"> <insert id="getSumByCabinet">
INSERT INTO base_inventory_summary (id,org_id_int,org_name,type_id, type_name,size_id,size_name,location_id,location_name, INSERT INTO base_inventory_summary (id,org_id_int,org_name,type_id, type_name,size_id,size_name,location_id,location_name,
......
...@@ -36,7 +36,7 @@ knife4j: ...@@ -36,7 +36,7 @@ knife4j:
spring: spring:
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.1.128:3306/db_jyzb?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true url: jdbc:mysql://192.168.1.128:3306/db_jyzb_test?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
username: root username: root
password: 123456 password: 123456
......
...@@ -260,12 +260,11 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask ...@@ -260,12 +260,11 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
map.put(PROCESS_STATUS, BUSINESS_STATUS_3); map.put(PROCESS_STATUS, BUSINESS_STATUS_3);
taskService.setVariableLocal(taskId,"taskStatusWrapper", TASK_STATUS_2);//设置节点中的当前操作 taskService.setVariableLocal(taskId,"taskStatusWrapper", TASK_STATUS_2);//设置节点中的当前操作
runtimeService.setVariables(task.getProcessInstanceId(), map); runtimeService.setVariables(task.getProcessInstanceId(), map);
if (StringUtils.isNotBlank(comments)) { if (StringUtils.isBlank(comments)) {
taskService.addComment(task.getId(), task.getProcessInstanceId(), "opinion", comments);
}else {
//默认拒绝 //默认拒绝
taskService.addComment(task.getId(), task.getProcessInstanceId(), "opinion", "拒绝"); comments="拒绝";
} }
taskService.addComment(task.getId(), task.getProcessInstanceId(), "opinion", comments);
if (attachments != null && attachments.size() > 0) { if (attachments != null && attachments.size() > 0) {
for (AttachmentDTO attachment : attachments) { for (AttachmentDTO attachment : attachments) {
taskService.createAttachment("option", taskId, task.getProcessInstanceId(), attachment.getName(), attachment.getName(), attachment.getUrl()); taskService.createAttachment("option", taskId, task.getProcessInstanceId(), attachment.getName(), attachment.getName(), attachment.getUrl());
...@@ -305,7 +304,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask ...@@ -305,7 +304,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
sendReq.setMsgTitle("您的审批被驳回"); sendReq.setMsgTitle("您的审批被驳回");
sendReq.setBizType("refuse/"+Types); sendReq.setBizType("refuse/"+Types);
sendReq.setBizId(Long.valueOf(task.getProcessInstanceId())); sendReq.setBizId(Long.valueOf(task.getProcessInstanceId()));
sendReq.setMsgContent("您提交的审批【"+mainProcess.getName()+"】被驳回,原因:"+handleDataDTO.getComments()); sendReq.setMsgContent("您提交的审批【"+mainProcess.getName()+"】被驳回,原因:"+comments);
sendReq.setPriority("0"); sendReq.setPriority("0");
sendReq.setSendTime(DateTime.now()); sendReq.setSendTime(DateTime.now());
messageApi.sendMessage(sendReq); messageApi.sendMessage(sendReq);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论