bugfix:对账排除住院订单

This commit is contained in:
Yuan
2025-11-20 09:33:53 +08:00
parent 0a344423e5
commit 97aae27351
14 changed files with 124 additions and 21 deletions

View File

@@ -24,6 +24,7 @@
select *
from hisbill_history
where trade_date = #{trade_date}
and PayMethod != '2' <!-- 排除PayMethod=2的记录不参与对账 -->
<if test="military_code != null and military_code != ''">
and PayType != #{military_code}
</if>
@@ -56,6 +57,7 @@
from hisbills_history
where trade_date=#{trade_date}
and PayMethod != '2' <!-- 排除PayMethod=2的记录不参与对账 -->
<if test="military_code != null and military_code != ''">
and PayType != #{military_code}
</if>