MyBatis缺少返回参数

2018-07-18 17:03:50.774 DEBUG 14736 --- [  XNIO-5 task-3] atedOrTreatingWorkOrderCountOfServicerId : ==>  Preparing: SELECT COUNT(1) FROM wyy_work_order wwo INNER JOIN wyy_role wr ON wwo.servicer_id = wr.app_userid WHERE wwo.region_id = ? AND wwo.servicer_id = ? AND wr.role_type = ? AND wr.is_dwline = ? AND wwo.is_delete = ? AND wwo.customer_order_status IN (?, ?); 
2018-07-18 17:03:50.776 DEBUG 14736 --- [  XNIO-5 task-3] atedOrTreatingWorkOrderCountOfServicerId : ==> Parameters: 9b892bba6f0747f7b544c06354e80b0c(String), 0e0ade5e89e346e7831e7fd9f3e176f8(String), 25(Integer), 0(Integer), 0(Integer), 1(Integer), 2(Integer)
2018-07-18 17:04:00.002  INFO 14736 --- [       SockJS-4] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务开始执行
2018-07-18 17:04:00.053 DEBUG 14736 --- [       SockJS-4] ctWorkDispatchOrderListForScheduledTasks : ==>  Preparing: SELECT t.dispatch_order_id, t.dispatch_userid, t.is_receive, t.firstsec, t.secondsec, t.receive_userid, t.dispatch_type, t.work_order_id, t.firstsec, t.secondsec, rr.app_username as receiveUsername, dr.app_username as dispatchUsername, w.user_name as customerUsername FROM ( SELECT dispatch_order_id, dispatch_userid, is_receive, receive_userid, work_order_id, dispatch_type, ( UNIX_TIMESTAMP( first_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS firstsec, ( UNIX_TIMESTAMP( second_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS secondsec FROM wyy_dispatch_order ) t LEFT JOIN wyy_role rr ON rr.app_userid = t.receive_userid LEFT JOIN wyy_role dr ON dr.app_userid = t.dispatch_userid LEFT JOIN wyy_work_order w ON w.work_order_id = t.work_order_id WHERE t.is_receive = 0 AND (( t.firstsec < 30 AND t.firstsec>=0) or (t.secondsec <30 and t.secondsec>=0)) GROUP BY t.dispatch_order_id 
2018-07-18 17:04:00.054 DEBUG 14736 --- [       SockJS-4] ctWorkDispatchOrderListForScheduledTasks : ==> Parameters: 
2018-07-18 17:04:00.100 DEBUG 14736 --- [       SockJS-4] ctWorkDispatchOrderListForScheduledTasks : <==      Total: 0
2018-07-18 17:04:00.101  INFO 14736 --- [       SockJS-4] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务执行完毕
2018-07-18 17:04:30.001  INFO 14736 --- [       SockJS-4] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务开始执行
2018-07-18 17:04:30.031 DEBUG 14736 --- [       SockJS-4] ctWorkDispatchOrderListForScheduledTasks : ==>  Preparing: SELECT t.dispatch_order_id, t.dispatch_userid, t.is_receive, t.firstsec, t.secondsec, t.receive_userid, t.dispatch_type, t.work_order_id, t.firstsec, t.secondsec, rr.app_username as receiveUsername, dr.app_username as dispatchUsername, w.user_name as customerUsername FROM ( SELECT dispatch_order_id, dispatch_userid, is_receive, receive_userid, work_order_id, dispatch_type, ( UNIX_TIMESTAMP( first_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS firstsec, ( UNIX_TIMESTAMP( second_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS secondsec FROM wyy_dispatch_order ) t LEFT JOIN wyy_role rr ON rr.app_userid = t.receive_userid LEFT JOIN wyy_role dr ON dr.app_userid = t.dispatch_userid LEFT JOIN wyy_work_order w ON w.work_order_id = t.work_order_id WHERE t.is_receive = 0 AND (( t.firstsec < 30 AND t.firstsec>=0) or (t.secondsec <30 and t.secondsec>=0)) GROUP BY t.dispatch_order_id 
2018-07-18 17:04:30.031 DEBUG 14736 --- [       SockJS-4] ctWorkDispatchOrderListForScheduledTasks : ==> Parameters: 
2018-07-18 17:04:30.066 DEBUG 14736 --- [       SockJS-4] ctWorkDispatchOrderListForScheduledTasks : <==      Total: 0
2018-07-18 17:04:30.066  INFO 14736 --- [       SockJS-4] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务执行完毕
2018-07-18 17:05:00.000  INFO 14736 --- [       SockJS-2] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务开始执行
2018-07-18 17:05:00.041 DEBUG 14736 --- [       SockJS-2] ctWorkDispatchOrderListForScheduledTasks : ==>  Preparing: SELECT t.dispatch_order_id, t.dispatch_userid, t.is_receive, t.firstsec, t.secondsec, t.receive_userid, t.dispatch_type, t.work_order_id, t.firstsec, t.secondsec, rr.app_username as receiveUsername, dr.app_username as dispatchUsername, w.user_name as customerUsername FROM ( SELECT dispatch_order_id, dispatch_userid, is_receive, receive_userid, work_order_id, dispatch_type, ( UNIX_TIMESTAMP( first_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS firstsec, ( UNIX_TIMESTAMP( second_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS secondsec FROM wyy_dispatch_order ) t LEFT JOIN wyy_role rr ON rr.app_userid = t.receive_userid LEFT JOIN wyy_role dr ON dr.app_userid = t.dispatch_userid LEFT JOIN wyy_work_order w ON w.work_order_id = t.work_order_id WHERE t.is_receive = 0 AND (( t.firstsec < 30 AND t.firstsec>=0) or (t.secondsec <30 and t.secondsec>=0)) GROUP BY t.dispatch_order_id 
2018-07-18 17:05:00.041 DEBUG 14736 --- [       SockJS-2] ctWorkDispatchOrderListForScheduledTasks : ==> Parameters: 
2018-07-18 17:05:00.081 DEBUG 14736 --- [       SockJS-2] ctWorkDispatchOrderListForScheduledTasks : <==      Total: 0
2018-07-18 17:05:00.081  INFO 14736 --- [       SockJS-2] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务执行完毕
2018-07-18 17:05:30.001  INFO 14736 --- [       SockJS-2] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务开始执行
2018-07-18 17:05:30.048 DEBUG 14736 --- [       SockJS-2] ctWorkDispatchOrderListForScheduledTasks : ==>  Preparing: SELECT t.dispatch_order_id, t.dispatch_userid, t.is_receive, t.firstsec, t.secondsec, t.receive_userid, t.dispatch_type, t.work_order_id, t.firstsec, t.secondsec, rr.app_username as receiveUsername, dr.app_username as dispatchUsername, w.user_name as customerUsername FROM ( SELECT dispatch_order_id, dispatch_userid, is_receive, receive_userid, work_order_id, dispatch_type, ( UNIX_TIMESTAMP( first_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS firstsec, ( UNIX_TIMESTAMP( second_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS secondsec FROM wyy_dispatch_order ) t LEFT JOIN wyy_role rr ON rr.app_userid = t.receive_userid LEFT JOIN wyy_role dr ON dr.app_userid = t.dispatch_userid LEFT JOIN wyy_work_order w ON w.work_order_id = t.work_order_id WHERE t.is_receive = 0 AND (( t.firstsec < 30 AND t.firstsec>=0) or (t.secondsec <30 and t.secondsec>=0)) GROUP BY t.dispatch_order_id 
2018-07-18 17:05:30.048 DEBUG 14736 --- [       SockJS-2] ctWorkDispatchOrderListForScheduledTasks : ==> Parameters: 
2018-07-18 17:05:30.094 DEBUG 14736 --- [       SockJS-2] ctWorkDispatchOrderListForScheduledTasks : <==      Total: 0
2018-07-18 17:05:30.094  INFO 14736 --- [       SockJS-2] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务执行完毕
2018-07-18 17:06:00.001  INFO 14736 --- [       SockJS-2] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务开始执行
2018-07-18 17:06:00.037 DEBUG 14736 --- [       SockJS-2] ctWorkDispatchOrderListForScheduledTasks : ==>  Preparing: SELECT t.dispatch_order_id, t.dispatch_userid, t.is_receive, t.firstsec, t.secondsec, t.receive_userid, t.dispatch_type, t.work_order_id, t.firstsec, t.secondsec, rr.app_username as receiveUsername, dr.app_username as dispatchUsername, w.user_name as customerUsername FROM ( SELECT dispatch_order_id, dispatch_userid, is_receive, receive_userid, work_order_id, dispatch_type, ( UNIX_TIMESTAMP( first_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS firstsec, ( UNIX_TIMESTAMP( second_waring_time ) - UNIX_TIMESTAMP( now( ) ) ) AS secondsec FROM wyy_dispatch_order ) t LEFT JOIN wyy_role rr ON rr.app_userid = t.receive_userid LEFT JOIN wyy_role dr ON dr.app_userid = t.dispatch_userid LEFT JOIN wyy_work_order w ON w.work_order_id = t.work_order_id WHERE t.is_receive = 0 AND (( t.firstsec < 30 AND t.firstsec>=0) or (t.secondsec <30 and t.secondsec>=0)) GROUP BY t.dispatch_order_id 
2018-07-18 17:06:00.038 DEBUG 14736 --- [       SockJS-2] ctWorkDispatchOrderListForScheduledTasks : ==> Parameters: 
2018-07-18 17:06:00.075 DEBUG 14736 --- [       SockJS-2] ctWorkDispatchOrderListForScheduledTasks : <==      Total: 0
2018-07-18 17:06:00.075  INFO 14736 --- [       SockJS-2] com.dhys.wyy.common.WyyScheduledTasks    : 预警规则定时任务执行完毕
2018-07-18 17:06:11.776 ERROR 14736 --- [  XNIO-5 task-3] com.dhys.common.aspect.ApiLogAspect      : 统计某方法执行耗时环绕通知出错

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.dhys.wyy.dao.WorkOrderDao.queryUntreatedOrTreatingWorkOrderCountOfServicerId'.  It's likely that neither a Result Type nor a Result Map was specified.
	at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77)
	at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446)
	at com.sun.proxy.$Proxy108.selectOne(Unknown Source)
	at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166)
	at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:82)
	at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59)
	at com.sun.proxy.$Proxy315.queryUntreatedOrTreatingWorkOrderCountOfServicerId(Unknown Source)
	at com.dhys.wyy.service.impl.WorkOrderServiceImpl.queryLeastWorkOrderCountOfServiceId(WorkOrderServiceImpl.java:177)
	at com.dhys.wyy.service.impl.WorkOrderServiceImpl.insertWorkOrder(WorkOrderServiceImpl.java:112)
	at com.dhys.wyy.service.impl.WorkOrderServiceImpl$$FastClassBySpringCGLIB$$f7ccb593.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
	at com.dhys.wyy.service.impl.WorkOrderServiceImpl$$EnhancerBySpringCGLIB$$7b8a5099.insertWorkOrder(<generated>)
	at com.dhys.wyy.controller.WorkOrderController.add(WorkOrderController.java:115)
	at com.dhys.wyy.controller.WorkOrderController$$FastClassBySpringCGLIB$$e621b1a1.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:97)
	at com.dhys.common.aspect.ApiLogAspect.timeAround(ApiLogAspect.java:57)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
	at com.dhys.wyy.controller.WorkOrderController$$EnhancerBySpringCGLIB$$815d2d16.add(<generated>)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
	at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at com.dhys.common.utils.xss.XssFilter.doFilter(XssFilter.java:24)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:167)
	at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:336)
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.dhys.wyy.dao.WorkOrderDao.queryUntreatedOrTreatingWorkOrderCountOfServicerId'.  It's likely that neither a Result Type nor a Result Map was specified.
	at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.validateResultMapsCount(DefaultResultSetHandler.java:287)
	at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleResultSets(DefaultResultSetHandler.java:189)
	at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
	at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
	at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
	at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324)
	at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
	at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
	at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143)
	at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
	at com.sun.proxy.$Proxy231.query(Unknown Source)
	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148)
	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141)
	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433)
	... 123 common frames omitted

问题:匹配参数,没有参数。要有返回参数。

解决方案:添加返回参数resultType = resultType="java.lang.Integer"

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值