wlzboy
4 天以前 c098f1e3a3e052aa3d65584aae6dc003a70d75ad
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);
    }
}