bugfix:三方一对多his场景处理
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user