|
@@ -15,10 +15,7 @@ import com.zd.common.redis.service.RedisService;
|
|
|
import com.zd.common.security.utils.SaveUtil;
|
|
import com.zd.common.security.utils.SaveUtil;
|
|
|
|
|
|
|
|
import com.zd.laboratory.domain.*;
|
|
import com.zd.laboratory.domain.*;
|
|
|
-import com.zd.laboratory.domain.vo.EvacuationLine;
|
|
|
|
|
-import com.zd.laboratory.domain.vo.LabExitLightVO;
|
|
|
|
|
-import com.zd.laboratory.domain.vo.LabExitLineJoinVO;
|
|
|
|
|
-import com.zd.laboratory.domain.vo.LabExitLineVO;
|
|
|
|
|
|
|
+import com.zd.laboratory.domain.vo.*;
|
|
|
import com.zd.laboratory.mapper.*;
|
|
import com.zd.laboratory.mapper.*;
|
|
|
import com.zd.laboratory.mqtt.service.impl.SubMessageSendManager;
|
|
import com.zd.laboratory.mqtt.service.impl.SubMessageSendManager;
|
|
|
import com.zd.laboratory.socket.command.Symbol;
|
|
import com.zd.laboratory.socket.command.Symbol;
|
|
@@ -525,9 +522,12 @@ public class LabExitLineServiceImpl implements ILabExitLineService
|
|
|
EvacuationLine evacuationLine = redisService.getCacheObject(key);
|
|
EvacuationLine evacuationLine = redisService.getCacheObject(key);
|
|
|
String keyLength = key.substring(key.indexOf(":")+1);
|
|
String keyLength = key.substring(key.indexOf(":")+1);
|
|
|
evacuationLine.setSubId(keyLength);
|
|
evacuationLine.setSubId(keyLength);
|
|
|
- LabSubject labSubject = labSubjectMapper.selectLabSubjectById(Long.parseLong(keyLength));
|
|
|
|
|
|
|
+ LabSubjectVO labSubject = labSubjectMapper.selectLabSubjectVoById(Long.parseLong(keyLength));
|
|
|
evacuationLine.setDeptId(labSubject.getDeptId());
|
|
evacuationLine.setDeptId(labSubject.getDeptId());
|
|
|
|
|
+ evacuationLine.setFloorId(labSubject.getFloorId());
|
|
|
evacuationLine.setSubName(labSubject.getName());
|
|
evacuationLine.setSubName(labSubject.getName());
|
|
|
|
|
+ evacuationLine.setBuildName(labSubject.getBuildName());
|
|
|
|
|
+ evacuationLine.setFloorName(labSubject.getFloorName());
|
|
|
return evacuationLine;
|
|
return evacuationLine;
|
|
|
}
|
|
}
|
|
|
return null;
|
|
return null;
|