Browse Source

修复收费发票张数bug

hurugang 6 years ago
parent
commit
f33fda385e
1 changed files with 1 additions and 1 deletions
  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} ",