@ -53,7 +53,6 @@ public class QuestionHandlerService {
case CHOOSE_YC :
case CHOOSE_YC :
case CHOOSE_FAULT :
case CHOOSE_FAULT :
case CHOOSE_YK :
case CHOOSE_YK :
question . setData ( messageDTO . getSelection ( ) ) ;
hznlmInvokeService . specialAsk ( question ) ;
hznlmInvokeService . specialAsk ( question ) ;
break ;
break ;
case CHOOSE_VIDEO :
case CHOOSE_VIDEO :
@ -71,7 +70,7 @@ public class QuestionHandlerService {
private void handleVideoChoose ( MessageDTO messageDTO ) {
private void handleVideoChoose ( MessageDTO messageDTO ) {
InteractiveWsService wsService = SpringUtil . getBean ( InteractiveWsService . class ) ;
InteractiveWsService wsService = SpringUtil . getBean ( InteractiveWsService . class ) ;
try {
try {
VideoSelectionVO selection = ( VideoSelectionVO ) messageDTO . getSelection ( ) ;
VideoSelectionVO selection = ( VideoSelectionVO ) messageDTO . getExtra ( ) . get ( "data" ) ;
IResolveService resolveService = ResolveFactory . getResolveService ( FuncRouteEnum . OPEN_VIDEO . getFunc ( ) ) ;
IResolveService resolveService = ResolveFactory . getResolveService ( FuncRouteEnum . OPEN_VIDEO . getFunc ( ) ) ;
String videoId = selection . getItemId ( ) ;
String videoId = selection . getItemId ( ) ;
ExtraVO videoExtras = resolveService . resolve ( videoId ) ;
ExtraVO videoExtras = resolveService . resolve ( videoId ) ;
@ -98,7 +97,7 @@ public class QuestionHandlerService {
private void handleScadaChoose ( MessageDTO messageDTO ) {
private void handleScadaChoose ( MessageDTO messageDTO ) {
InteractiveWsService wsService = SpringUtil . getBean ( InteractiveWsService . class ) ;
InteractiveWsService wsService = SpringUtil . getBean ( InteractiveWsService . class ) ;
try {
try {
ScadaSelectionVO selection = ( ScadaSelectionVO ) messageDTO . getSelection ( ) ;
ScadaSelectionVO selection = ( ScadaSelectionVO ) messageDTO . getExtra ( ) . get ( "data" ) ;
IResolveService resolveService = ResolveFactory . getResolveService ( FuncRouteEnum . OPEN_CANVAS . getFunc ( ) ) ;
IResolveService resolveService = ResolveFactory . getResolveService ( FuncRouteEnum . OPEN_CANVAS . getFunc ( ) ) ;
ExtraVO scadaExtra = resolveService . resolve ( selection . getItemId ( ) ) ;
ExtraVO scadaExtra = resolveService . resolve ( selection . getItemId ( ) ) ;
AnswerVO answerVO = new AnswerVO ( ) ;
AnswerVO answerVO = new AnswerVO ( ) ;