|
|
@ -50,17 +50,19 @@ public class ExtraResolveStrategyService { |
|
|
|
if(StringUtil.isNotBlank(functionCode)) { |
|
|
|
if(StringUtil.isNotBlank(functionCode)) { |
|
|
|
XxlJobLogger.log("函数编号为:" + functionCode); |
|
|
|
XxlJobLogger.log("函数编号为:" + functionCode); |
|
|
|
FuncRouteEnum funcRouteEnum = FuncRouteEnum.getEnumByFuncCode(functionCode); |
|
|
|
FuncRouteEnum funcRouteEnum = FuncRouteEnum.getEnumByFuncCode(functionCode); |
|
|
|
switch (funcRouteEnum) { |
|
|
|
if(Func.isNotEmpty(funcRouteEnum)) { |
|
|
|
case DIAGNOSE: |
|
|
|
switch (funcRouteEnum) { |
|
|
|
return this.resolveDiagnose(extra); |
|
|
|
case DIAGNOSE: |
|
|
|
case CHOOSE_STATION: |
|
|
|
return this.resolveDiagnose(extra); |
|
|
|
return this.resolveChooseStation(extra); |
|
|
|
case CHOOSE_STATION: |
|
|
|
case CHOOSE_VIDEO: |
|
|
|
return this.resolveChooseStation(extra); |
|
|
|
return this.resolveChooseVideo(extra); |
|
|
|
case CHOOSE_VIDEO: |
|
|
|
case CHOOSE_CANVAS: |
|
|
|
return this.resolveChooseVideo(extra); |
|
|
|
return this.resolveChooseScada(extra); |
|
|
|
case CHOOSE_CANVAS: |
|
|
|
default: |
|
|
|
return this.resolveChooseScada(extra); |
|
|
|
break; |
|
|
|
default: |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return JSONObject.parseObject(JSON.toJSONString(extra),ExtraVO.class); |
|
|
|
return JSONObject.parseObject(JSON.toJSONString(extra),ExtraVO.class); |
|
|
|