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

import cn.hnthyy.thmz.entity.his.mz.MzZyReq;
import cn.hnthyy.thmz.mapper.his.mz.MzZyReqMapper;
import cn.hnthyy.thmz.service.his.mz.MzZyReqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MzZyReqServiceImpl implements MzZyReqService {
    @SuppressWarnings("all")
    @Autowired
    private MzZyReqMapper mzZyReqMapper;
    @Override
    public List<MzZyReq> queryMzZyReqByPatientId(String patientId) {
        return mzZyReqMapper.selectMzZyReqByPatientId(patientId);
    }

    @Override
    public int modifyMzZyReq(MzZyReq mzZyReq) {
        return mzZyReqMapper.updateMzZyReq(mzZyReq);
    }
}
