package cn.hnthyy.thmz.service.impl.his;

import cn.hnthyy.thmz.entity.his.MzyZdChargeType;
import cn.hnthyy.thmz.mapper.his.MzyZdChargeTypeMapper;
import cn.hnthyy.thmz.service.his.MzyZdChargeTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MzyZdChargeTypeServiceImpl implements MzyZdChargeTypeService {
    @SuppressWarnings("all")
    @Autowired
    private MzyZdChargeTypeMapper mzyZdChargeTypeMapper;
    @Override
    public List<MzyZdChargeType> queryAllMzyZdChargeType() {
        return mzyZdChargeTypeMapper.selectAllMzyZdChargeType();
    }

    @Override
    public MzyZdChargeType queryByCode(String code) {
        return mzyZdChargeTypeMapper.selectByCode(code);
    }
}
