微调
This commit is contained in:
@@ -100,7 +100,9 @@ public class SocketSourceResponseService {
|
||||
if (ObjectUtil.isNotNull(dictDataEnumByCode)) {
|
||||
switch (dictDataEnumByCode) {
|
||||
case SUCCESS:
|
||||
WebServiceManager.sendMsg(param.getUserPageId(), JSON.toJSONString(socketDataMsg));
|
||||
if(param.getSendWebMsg()){
|
||||
WebServiceManager.sendMsg(param.getUserPageId(), JSON.toJSONString(socketDataMsg));
|
||||
}
|
||||
System.out.println("模拟检测-源初始化成功");
|
||||
break;
|
||||
case UNPROCESSED_BUSINESS:
|
||||
|
||||
@@ -62,4 +62,5 @@ public class PreDetectionParam {
|
||||
*/
|
||||
private String code;
|
||||
|
||||
private Boolean sendWebMsg;
|
||||
}
|
||||
|
||||
@@ -224,6 +224,7 @@ public class PreDetectionServiceImpl implements PreDetectionService {
|
||||
PreDetectionParam preDetectionParam = new PreDetectionParam();
|
||||
preDetectionParam.setSourceId(param.getSourceId());
|
||||
preDetectionParam.setUserPageId(param.getUserPageId());
|
||||
preDetectionParam.setSendWebMsg(true);
|
||||
|
||||
specialDealSimulate(preDetectionParam);
|
||||
|
||||
@@ -250,6 +251,7 @@ public class PreDetectionServiceImpl implements PreDetectionService {
|
||||
PreDetectionParam preDetectionParam = new PreDetectionParam();
|
||||
preDetectionParam.setSourceId(param.getSourceId());
|
||||
preDetectionParam.setUserPageId(param.getUserPageId());
|
||||
preDetectionParam.setSendWebMsg(false);
|
||||
this.sendYtxSocketSimulate(preDetectionParam);
|
||||
}
|
||||
//组装源控制脚本
|
||||
|
||||
Reference in New Issue
Block a user