package com.saye.hospitalgd.service.impl;

import com.saye.hospitalgd.mapper.HisInterFaceConfigMapper;
import com.saye.hospitalgd.service.HisInterFaceConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;
import java.util.List;

/**
 * @author thuang
 * @version 1.0
 * @description: TODO
 * @date 2021/10/13 11:11
 */
@Service
@Transactional
public class HisInterFaceConfigServiceImpl implements HisInterFaceConfigService {

    @Autowired
    private HisInterFaceConfigMapper hisInterFaceConfigMapper;

    @Override
    public List<HashMap<Object, Object>> findConfigById(String id) throws Exception {
        return hisInterFaceConfigMapper.findConfigById(id);
    }

    @Override
    public List<HashMap<Object, Object>> findAllconfig() throws Exception {
        return hisInterFaceConfigMapper.findAllconfig();
    }
}
