bugfix:三方一对多his场景处理

This commit is contained in:
Yuan
2025-11-21 10:06:18 +08:00
parent c7747abc1e
commit 10ca4fae06
6 changed files with 218 additions and 12 deletions

View File

@@ -48,14 +48,12 @@
,TradeTime
,Amount
,PlatformTransId
,HisTransId
,PatientID
,PatientId as PatientID
,PatientName
,source
,trade_date
from hisbills_history
from hisbill_history
where trade_date=#{trade_date}
and PayMethod != '2' <!-- 排除PayMethod=2的记录不参与对账 -->
<if test="military_code != null and military_code != ''">
@@ -73,6 +71,9 @@
<if test="tranID!=null and tranID!=''">
and HisTransId=#{tranID}
</if>
<if test="platformTransId!=null and platformTransId!=''">
and PlatformTransId=#{platformTransId}
</if>
<if test="h_jylx!=null and h_jylx!=''">
and TradingStatus=#{h_jylx}
</if>