Преглед на файлове

修复收费发票张数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} ",