Преглед на файлове

解决大输液同一医嘱号产生的问题

WANGJIALIANG преди 3 години
родител
ревизия
ebec5eda38
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/cn/hnthyy/thmz/mapper/his/zy/YpZyPatientMapper.java

+ 1 - 1
src/main/java/cn/hnthyy/thmz/mapper/his/zy/YpZyPatientMapper.java

@@ -75,6 +75,6 @@ public interface YpZyPatientMapper {
      * @return
      */
     @Update("update yp_zy_patient set page_no=#{pageNo},keeper=#{keeper},confirm_time=#{confirmTime},doctor_name=#{doctorName}" +
-            ",page_type=#{pageType},jy_flag=#{jyFlag} where act_order_no = #{actOrderNo} and charge_code = #{chargeCode} and inpatient_no=#{inpatientNo}")
+            ",page_type=#{pageType},jy_flag=#{jyFlag} where act_order_no = #{actOrderNo} and charge_code = #{chargeCode} and inpatient_no=#{inpatientNo}  and confirm_time is null")
     int updateYpZyPatient(YpZyPatient ypZyPatient);
 }