浏览代码

收费优化

hurugang 5 年之前
父节点
当前提交
1def98a260
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/cn/hnthyy/thmz/mapper/his/MzChargeDetailMapper.java

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

@@ -388,7 +388,7 @@ public interface MzChargeDetailMapper {
      * @param receiptNo
      * @return
      */
-    @Update("update mz_charge_detail set receipt_no =#{receiptNo,jdbcType=INTEGER} where patient_id = #{patientId} and times=#{times} and receipt_no=0 ")
+    @Update("update mz_charge_detail set receipt_no =#{receiptNo,jdbcType=INTEGER} where patient_id = #{patientId} and times=#{times} and pay_mark=5 ")
     int setTempDataReceiptNo(@Param(value = "patientId") String patientId,@Param(value = "times") Integer times,@Param(value = "receiptNo") Integer receiptNo);
 
     /**