package com.saye.hospitalgd.service.historyLog.impl;

import com.saye.hospitalgd.mapper.historyLog.HisBillLogMapper;
import com.saye.hospitalgd.service.historyLog.HisBillLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * @author thuang
 * @version 1.0
 * @description: TODO
 * @date 2021/8/30 10:56
 */
@Service
public class HisBillLogServiceImpl implements HisBillLogService {

    @Autowired
    private HisBillLogMapper hisBillLogMapper;

    /**
     * @description: 查询HIS调用记录
     * @author thuang
     * @date 2021/8/30 14:33
     * @version 1.0
     */
    @Override
    public List<HashMap<Object, Object>> findHisBillLogPageList(HashMap<Object, Object> map) throws Exception {

        return hisBillLogMapper.findHisBillLogPageList(map);
    }

    @Override
    public void insertHisbillGetinfo(HashMap<Object, Object> map) throws Exception {
        hisBillLogMapper.insertHisbillGetinfo(map);
    }

    @Override
    public List<HashMap<Object, Object>> findHisBillLogByParam(HashMap<Object, Object> map) throws Exception {
        return hisBillLogMapper.findHisBillLogByParam(map);
    }
}
