Commit 22a727c1 authored by suhuiguang's avatar suhuiguang

1.单个设备时错误描述不对修改

parent 9338e5e7
...@@ -60,8 +60,10 @@ public class CmWorkflowServiceImpl implements ICmWorkflowService { ...@@ -60,8 +60,10 @@ public class CmWorkflowServiceImpl implements ICmWorkflowService {
String devMessage = e.getDevMessage(); String devMessage = e.getDevMessage();
if(devMessage.contains(";")){ if(devMessage.contains(";")){
String tempMsg = devMessage.split(";")[0]; String tempMsg = devMessage.split(";")[0];
if(tempMsg.split(":").length > 0){ if(tempMsg.contains(":")){
devMessage = tempMsg.split(":")[1]; devMessage = tempMsg.split(":")[1];
} else {
devMessage = tempMsg;
} }
} }
return devMessage; return devMessage;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment