项目

一般

简介

实施 #1143

(财务科)财务科对账(his与倍康平台对账)

彭银生 13979856157超过一年 之前添加. 更新于 超过一年 之前.

状态:
已解决
优先级:
普通
开始日期:
2022-10-15
计划完成日期:
% 完成:

100%

预期时间:

历史记录

#1

彭银生 13979856157 更新于 超过一年 之前

  • 状态新建 变更为 已解决
  • % 完成0 变更为 100

---倍康差距
select a.* from 网上支付 a where a.交易流水号 not in (select k.trade_no from WITON_PAY k where k.oper_time >=to_date('2022-09-01','yyyy-mm-dd') and k.oper_time <to_date('2022-10-01','yyyy-mm-dd'))
and a.渠道名称 != '互联网医院'

--互联网医院差距
select * from

select a.* from 网上支付 a where a.渠道名称 ='互联网医院' and a.交易流水号 not in (select k.trade_no from WITON_PAY k where k.oper_time >=to_date('2022-09-01','yyyy-mm-dd') and k.oper_time <to_date('2022-10-01','yyyy-mm-dd') and length(k.trade_no)=28)
)kk where kk.商户订单号 not in (select k.trade_no from WITON_PAY k where k.oper_time >=to_date('2022-09-01','yyyy-mm-dd') and k.oper_time <to_date('2022-10-01','yyyy-mm-dd') and length(k.trade_no)<28)

---互联网医院his产生流水
select decode(k.source,'WX','微信','ZFB','支付宝','其他') 来源,k.amount,k.card_no 卡号,k.oper_time 收费时间,k.wt_trade_no 流水号1,k.trade_no 流水号2 from WITON_PAY k where k.oper_code ='hlwyy' and k.oper_time >=to_date('2022-09-01','yyyy-mm-dd') and k.oper_time <to_date('2022-10-01','yyyy-mm-dd')

导出 Atom PDF