hurugang 6 лет назад
Родитель
Сommit
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} ",