Browse Source

病人报告单

sd
zhizhi wu 5 years ago
parent
commit
c83d7ee236
  1. 3
      ht/src/main/resources/mapper_dao/HtPatientReportDao.xml

3
ht/src/main/resources/mapper_dao/HtPatientReportDao.xml

@ -74,7 +74,7 @@
order by r.create_time desc limit 1;
</select>
<select id="ignoreComplete">
update t_ht_patient_report set complete_status = 2
update t_ht_patient_report set complete_status = 2 , show_status = 0
where id = #{id, jdbcType=BIGINT} and complete_status = 0 and is_del = 0 and doctor_id in
(select doctor_id from t_ht_doctor where user_id = #{userId, jdbcType=BIGINT} and audit_state = 1 and is_del = 0)
</select>
@ -88,6 +88,7 @@
and patient_id = #{patientId, jdbcType=BIGINT}
</if>
and show_status = 1
and is_del = 0
</where>
order by create_time desc
</select>

Loading…
Cancel
Save