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

import cn.hnthyy.thmz.entity.his.mz.MzZdWorkTime;
import cn.hnthyy.thmz.mapper.his.mz.MzZdWorkTimeMapper;
import cn.hnthyy.thmz.service.his.mz.MzZdWorkTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MzZdWorkTimeServiceImpl implements MzZdWorkTimeService {
    @SuppressWarnings("all")
    @Autowired
    private MzZdWorkTimeMapper mzZdWorkTimeMapper;
    @Override
    public List<MzZdWorkTime> queryAllMzZdWorkTime() {
        return mzZdWorkTimeMapper.selectAllMzZdWorkTime();
    }

    @Override
    public MzZdWorkTime queryMzZdWorkTimeByCode(String code) {
        return mzZdWorkTimeMapper.selectMzZdWorkTimeByCode(code);
    }
}
