package thyyxxk.webserver.dao.his.datamodify; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; import thyyxxk.webserver.entity.datamodify.GetDropdownBox; import thyyxxk.webserver.entity.datamodify.YzTemperature; import java.util.List; /** *
* 描述 *
* * @author xc * @date 2021-04-12 17:43 */ @Mapper public interface YzTemperatureMapper { /** * 查询住院 护理记录单 * @param param 住院号 住院次数,能查询出这个人的全部护理记录单 在根据日期,时间就能查询出 某一条的护理记录单 * @return 返回这个人一条的护理记录单 * */ @Select("select patientName=(select rtrim(name) name from a_patient_mi where a_patient_mi.inpatient_no= yz_temperature.inpatient_no), " + "inpatient_no,rec_date,rec_time,temperature_1,pulse_1,breathe_1,pressure_1_am,pressure_1_pm," + "spo2,mind,skin,tubes_name,tubes_status,other_info,ward,admiss_times,detail_no, " + "userid=(select rtrim(name) name from a_employee_mi where code = userid) " + "from yz_temperature " + "where inpatient_no=#{inpatientNo} and admiss_times=#{admissTimes} and scd_flag='0' " + "and rec_date=#{toStringRecDate} and rec_time=#{toStringRecTime} " + "order by detail_no" ) List