2025-06-24 18:01:25 +08:00
|
|
|
package com.czlis.interfaceCommon.utils;
|
|
|
|
|
|
|
|
|
|
import com.czlis.common.core.domain.entity.LabPat;
|
2025-06-27 13:05:23 +08:00
|
|
|
import com.czlis.common.core.domain.entity.LabReqmain;
|
2025-06-24 18:01:25 +08:00
|
|
|
import com.czlis.interfaceCommon.mapper.ComOptMapper;
|
|
|
|
|
import com.czlis.interfaceCommon.mapper.LabPatMapper;
|
2025-06-27 13:05:23 +08:00
|
|
|
import com.czlis.interfaceCommon.mapper.LabReqmainMapper;
|
2025-06-24 18:01:25 +08:00
|
|
|
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;
|
2025-06-27 13:05:23 +08:00
|
|
|
@Autowired
|
|
|
|
|
LabReqmainMapper labReqmainMapper;
|
2025-06-24 18:01:25 +08:00
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
}
|
2025-06-27 13:05:23 +08:00
|
|
|
|
|
|
|
|
public LabReqmain getLabReqmainOne(String sqh){
|
|
|
|
|
return labReqmainMapper.getLabReqmainOne(sqh);
|
|
|
|
|
}
|
2025-06-24 18:01:25 +08:00
|
|
|
}
|