wlzboy
2025-12-25 ae478a3d5dab28dd598d39f27429e4a544b15ad2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.ruoyi.system.service.impl;
 
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.mapper.SQLHospDataMapper;
import com.ruoyi.system.service.ISQLHospDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.Collections;
import java.util.List;
 
@Service
@DataSource(DataSourceType.SQLSERVER)
public class SQLHospDataServiceImpl implements ISQLHospDataService {
    @Autowired
    private SQLHospDataMapper sqlHospDataMapper;
    @Override
    public List<Integer> selectFrequentInHospitalIds(String serviceOrdClass) {
        return sqlHospDataMapper.selectFrequentInHospitalIds(serviceOrdClass);
    }
 
    @Override
    public List<Integer> selectFrequentOutHospitalIds(String serviceOrdClass) {
        return sqlHospDataMapper.selectFrequentOutHospitalIds(serviceOrdClass);
    }
}