package com.czlis.interfaceCommon.utils; import com.czlis.common.core.domain.entity.LabPat; import com.czlis.interfaceCommon.mapper.ComOptMapper; import com.czlis.interfaceCommon.mapper.LabPatMapper; 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; 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); } }