Ver Fonte

修复收费发票张数bug

hurugang há 6 anos atrás
pai
commit
f33fda385e

+ 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} ",