|
|
@ -2,8 +2,12 @@ package com.hnac.hzims.monitor.server.impl; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
|
|
|
|
import com.hnac.hzims.equipment.entity.EmDefinitionEntity; |
|
|
|
import com.hnac.hzims.equipment.entity.EmInfoEntity; |
|
|
|
import com.hnac.hzims.equipment.entity.EmInfoEntity; |
|
|
|
|
|
|
|
import com.hnac.hzims.equipment.entity.EmTreeEntity; |
|
|
|
|
|
|
|
import com.hnac.hzims.equipment.service.IEmDefinitionService; |
|
|
|
import com.hnac.hzims.equipment.service.IEmInfoService; |
|
|
|
import com.hnac.hzims.equipment.service.IEmInfoService; |
|
|
|
|
|
|
|
import com.hnac.hzims.equipment.service.IEmTreeService; |
|
|
|
import com.hnac.hzims.fdp.request.AnswerFormatReq; |
|
|
|
import com.hnac.hzims.fdp.request.AnswerFormatReq; |
|
|
|
import com.hnac.hzims.fdp.request.SubmitAnswerReq; |
|
|
|
import com.hnac.hzims.fdp.request.SubmitAnswerReq; |
|
|
|
import com.hnac.hzims.fdp.service.IFdpQuestionService; |
|
|
|
import com.hnac.hzims.fdp.service.IFdpQuestionService; |
|
|
@ -78,6 +82,10 @@ public class EquipmentInstanceServiceImpl implements IEquipmentInstanceService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private String getModelSignageByAnswer(SubmitAnswerReq submitAnswerReq) { |
|
|
|
private String getModelSignageByAnswer(SubmitAnswerReq submitAnswerReq) { |
|
|
|
|
|
|
|
EmInfoEntity emInfoEntity = emInfoService.getEmInfoByEmCode(submitAnswerReq.getEmCode()); |
|
|
|
|
|
|
|
if (Func.isNotEmpty(emInfoEntity.getModelSignage())) { |
|
|
|
|
|
|
|
return emInfoEntity.getModelSignage(); |
|
|
|
|
|
|
|
} |
|
|
|
if(IFdpQuestionService.COMMON_TYPE.equals(submitAnswerReq.getDeviceType())) { |
|
|
|
if(IFdpQuestionService.COMMON_TYPE.equals(submitAnswerReq.getDeviceType())) { |
|
|
|
return commonSignage; |
|
|
|
return commonSignage; |
|
|
|
} |
|
|
|
} |
|
|
|