package com.czlis.interfaceCommon.utils; import com.czlis.common.core.domain.entity.LabPat; import com.czlis.common.core.domain.entity.LabReqmain; import com.czlis.interfaceCommon.mapper.ComOptMapper; import com.czlis.interfaceCommon.mapper.LabPatMapper; import com.czlis.interfaceCommon.mapper.LabReqmainMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.util.Date; @Component public class CommonUtil { @Autowired LabPatMapper labPatMapper; @Autowired ComOptMapper comOptMapper; @Autowired LabReqmainMapper labReqmainMapper; public LabPat getLabPatOne(Date jyrq, String yq, String ybh){ return labPatMapper.getLabPatOne(jyrq, yq, ybh); } public String getComOptValue(String yq,String xxdh){ return comOptMapper.getComOptValue(yq,xxdh); } public LabReqmain getLabReqmainOne(String sqh){ return labReqmainMapper.getLabReqmainOne(sqh); } }