소스 검색

修复收费发票张数bug

hurugang 6 년 전
부모
커밋
f33fda385e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/cn/hnthyy/thmz/mapper/his/ChargeFeeVoMapper.java

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

@@ -478,7 +478,7 @@ public interface ChargeFeeVoMapper {
     @Select({"<script>",
             "select count ( distinct receipt_bill ) from mz_receipt_serial where operator_id =#{userIdCode} and pay_mark =#{payMark} ",
             "<when test='payMark!=null and payMark == 1'>",
-            " and times  <![CDATA[<]]> 0 ",
+            " and receipt_no  <![CDATA[<]]> 0 ",
             "</when>",
             "<when test='dcountDate!=null'>",
             " and dcount_date=#{dcountDate,jdbcType=TIMESTAMP} ",