超声查询字段

This commit is contained in:
Flow 2025-06-27 16:36:48 +08:00
parent 418be095df
commit f0a6d1dff2

View File

@ -206,54 +206,7 @@ public class InspectPatientServiceImpl implements InspectPatientService {
public InspectPatientDO getPatientShortid(String medicalSn) {
LambdaQueryWrapper<InspectPatientDO> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(InspectPatientDO::getMedicalSn, medicalSn)
.select(
InspectPatientDO::getId,
InspectPatientDO::getMedicalSn,
InspectPatientDO::getPName,
InspectPatientDO::getGender,
InspectPatientDO::getBirthday,
InspectPatientDO::getCardType,
InspectPatientDO::getCardId,
InspectPatientDO::getNationality,
InspectPatientDO::getNation,
InspectPatientDO::getRace,
InspectPatientDO::getPhoneNum,
InspectPatientDO::getStatus,
InspectPatientDO::getReportType,
InspectPatientDO::getMedicalDateTime,
InspectPatientDO::getChargeType,
InspectPatientDO::getTotalPrice,
InspectPatientDO::getIsprint,
InspectPatientDO::getSummaryResult,
InspectPatientDO::getAuditor,
InspectPatientDO::getAuditorTime,
InspectPatientDO::getAuditStatus,
InspectPatientDO::getInspectionOpinion,
InspectPatientDO::getChargetime,
InspectPatientDO::getDomicileaddress,
InspectPatientDO::getHospitalNo,
InspectPatientDO::getXcgcode,
InspectPatientDO::getNcgcode,
InspectPatientDO::getShqx,
InspectPatientDO::getZybs,
InspectPatientDO::getFeatures,
InspectPatientDO::getChiefinspectorid,
InspectPatientDO::getChiefinspector,
InspectPatientDO::getPrinttime,
InspectPatientDO::getBarcodetime,
InspectPatientDO::getPdfurl,
InspectPatientDO::getOldmanflag,
InspectPatientDO::getOrgname,
InspectPatientDO::getDistrictname,
InspectPatientDO::getHtnflag,
InspectPatientDO::getDiaflag,
InspectPatientDO::getSmiflag,
InspectPatientDO::getPulflag,
InspectPatientDO::getExamhoscode,
InspectPatientDO::getExamhosname,
InspectPatientDO::getShortid
);
.select(InspectPatientDO::getShortid);
InspectPatientDO patientDO = patientMapper.selectOne(queryWrapper);
return patientDO;
}