瀏覽代碼

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

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);
 }