소스 검색

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

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