bugfix:对账排除住院订单
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user