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

import cn.hnthyy.thmz.entity.his.ZdEmpTitle;
import cn.hnthyy.thmz.mapper.his.ZdEmpTitleMapper;
import cn.hnthyy.thmz.service.his.ZdEmpTitleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZdEmpTitleServiceImpl implements ZdEmpTitleService {
    @SuppressWarnings("all")
    @Autowired
    private ZdEmpTitleMapper zdEmpTitleMapper;
    @Override
    public ZdEmpTitle queryByCode(String code) {
        return zdEmpTitleMapper.selectByCode(code);
    }

    @Override
    public List<ZdEmpTitle> queryZdEmpTitle() {
        return zdEmpTitleMapper.selectAllZdEmpTitle();
    }
}
