|
@@ -5,7 +5,7 @@ import com.care.bigscreen.mapper.BigSreenMapper;
|
|
|
import com.care.bigscreen.service.BigScreenService;
|
|
|
import com.care.bigscreen.vo.*;
|
|
|
import com.care.bigscreen.websocket.BigScreenWebSocketEndpoint;
|
|
|
-import com.care.common.mapper.CareStationMapper;
|
|
|
+import com.care.common.service.CareStationService;
|
|
|
import com.care.common.vo.PageResVO;
|
|
|
import com.care.common.util.PageUtil;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -26,7 +26,7 @@ public class BigScreenServiceImpl implements BigScreenService {
|
|
|
@Autowired
|
|
|
private BigSreenMapper bigSreenMapper;
|
|
|
@Autowired
|
|
|
- private CareStationMapper careStationMapper;
|
|
|
+ private CareStationService careStationService;
|
|
|
/**
|
|
|
* 大屏统计查询
|
|
|
* @return 搜索符合条件的大屏统计数据
|
|
@@ -40,7 +40,7 @@ public class BigScreenServiceImpl implements BigScreenService {
|
|
|
} else if(stationId == null && orgId != null) { //机构大屏
|
|
|
bigScreenStatisticsVO2 = bigSreenMapper.selectBigScreenOrgStatistics(orgId);
|
|
|
} else { //站点查询
|
|
|
- bigScreenStatisticsVO2 = bigSreenMapper.selectBigScreenOrgStatistics(careStationMapper.selectById(stationId).getOrgId());
|
|
|
+ bigScreenStatisticsVO2 = bigSreenMapper.selectBigScreenOrgStatistics(careStationService.getById(stationId).getOrgId());
|
|
|
}
|
|
|
|
|
|
bigScreenStatisticsVO.setSeatsAmount(bigScreenStatisticsVO2.getSeatsAmount());
|