package com.saye.hospitalgd.service.impl;

import com.saye.hospitalgd.mapper.ReconciliationResultMapper;
import com.saye.hospitalgd.service.ReconciliationResultService;
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/9 13:37
 */
@Service
@Transactional
public class ReconciliationResultServiceImpl implements ReconciliationResultService {

    @Autowired
    private ReconciliationResultMapper reconciliationResultMapper;

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

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