错误 #18682
+1 仪表控制订单:仪表远程控制,修改清零,分合闸,保电状态的订单时,后台日志报错
0%
描述
重现步骤:
1.在租户管理--合同详情中,对仪表进行:清理,分合闸,保电操作
2.订单下发成功后,查看订单状态
错误:
1.无法修改订单的状态,订单一直处于处理中
预期结果:
1.订单状态修改为处理成功
后台报错日志:
tenant: DZH userId: null
Consume Time:0 ms 2022-05-25 14:24:21
url: jdbc:mysql://10.1.7.5:3306/tenant_energy_charge?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useUnicode=true&useSSL=false&autoReconnect=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&nullCatalogMeansCurrent=true
Execute SQL:SELECT id, project_id, order_id, contract_id, tenant_name , meter_id, order_type, operate_type, energy_type, is_error_order , order_time, content, system_code, status, user_id , user_name, create_time, operate_user_id, operate_user_name, operate_time , update_time, reason FROM dzh_tenant_energy_charge.tec_remote_order WHERE id = '530'
[tenant-energy-charge:8080:1--] 2022-05-25 14:24:21.972:[ERROR] [628dcb95e4b031b32a22e1b8] [http-nio-8080-exec-2:16302954] [com.persagy.controller.FeedBackController.:] 本地服务反馈执行结果接口执行异常
com.alibaba.fastjson.JSONException: can not cast to JSONObject.
at com.alibaba.fastjson.JSON.parseObject(JSON.java:262)
at com.persagy.service.impl.MeterControlOrderServiceImpl.feedBack(MeterControlOrderServiceImpl.java:678)
at com.persagy.service.impl.MeterControlOrderServiceImpl$$FastClassBySpringCGLIB$$181376b2.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:698)
at com.persagy.service.impl.MeterControlOrderServiceImpl$$EnhancerBySpringCGLIB$$13b1bb40.feedBack()
at com.persagy.controller.FeedBackController.feedBack(FeedBackController.java:41)
at com.persagy.controller.FeedBackController$$FastClassBySpringCGLIB$$a407ee55.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$C
文件