中文字幕在线视频精品,人人操日日干,免费看淫片

a级一a一级在线观看_a级在线观看视频_a极毛片_a毛片_全部免费毛片在线播放_全部孕妇丰满孕妇孕交

<abbr id="ygw6a"><menu id="ygw6a"></menu></abbr>
<cite id="ygw6a"></cite>
  • <bdo id="ygw6a"></bdo>

    获得积分
    资料库会员登录
    搜索: [高级搜索]
    下载首页 | 资源分类 | 下载排行
    您的位置: 首页 > 市场 开发 实施 管理 > 系统实施
     
    分类导航
    下载排行
    最新资源
    HIS45数据平衡检查
    资源大小:1.22 KB 资源类型:文档
    下载积分: 0
    更多
    -->
    下载统计:总下载:0,本月下载:0,本周下载:0,今日下载:0
    发表评论 错误报告 加入收藏夹
    资源介绍
    -主要收费表的自身数据平衡
    select (select count(*) from fin_opr_register t where (t.reg_fee + t.diag_fee + t.chck_fee + t.oth_fee) <> (t.own_cost + t.pub_cost + t.pay_cost + t.eco_cost)) 挂号表,
           (select count(*) from fin_opb_invoiceinfo t where t.tot_cost <> (t.own_cost + t.pub_cost + t.pay_cost)) 门诊收费主表,
           (select count(*) from fin_ipb_balancehead t where t.tot_cost <> (t.own_cost + t.pub_cost + t.pay_cost + t.eco_cost + t.der_cost)) 住院发票主表,
           (select count(*) from fin_ipb_balancelist t where t.tot_cost <> (t.own_cost + t.pub_cost + t.pay_cost + t.eco_cost)) 住院发票明细表,
           (select count(*) from fin_ipb_feeinfo t where t.tot_cost <> (t.own_cost + t.pay_cost + t.pub_cost + t.eco_cost)) 住院费用主表,
           (select count(*) from fin_ipb_medicinelist t where t.tot_cost <> (t.own_cost + t.pay_cost + t.pub_cost + t.eco_cost)) 住院药品明细表,
           (select count(*) from fin_ipb_itemlist t where t.tot_cost <> (t.own_cost + t.pay_cost + t.pub_cost + t.eco_cost)) 住院项目明细表
    from dual;

    --门诊发票主表、明细表、支付方式表、处方明细表中金额是否相等
    select '发票主表',sum(t.tot_cost)
    from fin_opb_invoiceinfo t
    where t.oper_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.oper_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '发票明细',sum(t.own_cost + t.pub_cost + t.pay_cost)
    from fin_opb_invoicedetail t
    where t.oper_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.oper_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '支付方式表',sum(t.tot_cost)
    from fin_opb_paymode t
    where t.oper_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.oper_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '处方明细表',sum(t.own_cost + t.pub_cost + t.pay_cost)
    from fin_opb_feedetail t
    where t.fee_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.fee_date <  to_date('2010-10-15','yyyy-mm-dd') + 1;

    --住院主表、费用汇总表、费用明细表金额是否相等
    select sum(t.tot_cost + t.balance_cost) 住院主表,
           sum((select sum(tot_cost) from fin_ipb_feeinfo where inpatient_no = t.inpatient_no)) 费用汇总表,
           sum(((select sum(tot_cost) from fin_ipb_itemlist where inpatient_no = t.inpatient_no) + (select sum(tot_cost) from fin_ipb_medicinelist where inpatient_no = t.inpatient_no))) 费用明细表        
    from fin_ipr_inmaininfo t
    where t.in_state in ('I','B');

    --住院发票主表、明细表、费用汇总表中金额是否相等
    select '发票主表',sum(t.tot_cost)
    from fin_ipb_balancehead t
    where t.balance_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.balance_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '发票明细',sum(t.tot_cost)
    from fin_ipb_balancelist t
    where t.balance_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.balance_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '费用汇总表',sum(t.tot_cost)
    from fin_ipb_feeinfo t
    where t.balance_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.balance_date <  to_date('2010-10-15','yyyy-mm-dd') + 1;



    --挂号(上海中冶)
    select '挂号',sum(t.own_cost) 现金,sum(t.pub_cost + t.pay_cost) 统筹
    from fin_opr_register t
    union all
    select '医保',0,sum(t.pub_cost + t.append_cost + (t.curaccount_cost + t.lastaccount_cost + t.beginaccount_cost + t.pubaccount_cost + t.appendaccount_cost))
    from sh_return_result t
    where t.type in ('1','2','3','51','52','53');


    --收费(上海中冶)
    select '发票汇总' 分类,sum(t.tot_cost) 总金额,sum(t.own_cost) 现金额,sum(t.pub_cost + t.pay_cost) 统筹
    from fin_opb_invoiceinfo t
    union all
    --收费明细
    select '发票明细',sum(t.own_cost + t.pub_cost + t.pay_cost) tot_cost,0,0
    from fin_opb_invoicedetail t
    union all
    --处方
    select '处方明细',sum(t.own_cost + t.pub_cost + t.pay_cost) tot_cost,0,0
    from fin_opb_feedetail t
    where t.pay_flag = '1'
    union all
    --收费方式
    select '收费方式',sum(t.tot_cost),sum(decode(t.mode_code,'CA',t.tot_cost,'CH',t.tot_cost,'CD',t.tot_cost,'DB',t.tot_cost,0)),sum(decode(t..mode_code,'CA',0,'CH',0,'CD',0,'DB',0,t.tot_cost))
    from fin_opb_paymode t
    union all
    select '医保',0,0,sum(t.pub_cost + t.append_cost + (t.curaccount_cost + t.lastaccount_cost + t.beginaccount_cost + t.pubaccount_cost + t.appendaccount_cost))
    from sh_return_result t
    where t.type in ('4','5','6','7','54','55','56','57');


    --住院发票汇总(上海中冶)
    select '发票汇总' 分类,sum(t.tot_cost) 总金额,sum(t.own_cost) 自费,sum(t.supply_cost - t.return_cost) 实收金额,sum(t.pub_cost + t.pay_cost) 统筹,sum(t.prepay_cost) 预交金
    from fin_ipb_balancehead t
    union all
    --住院发票明细
    select '发票明细',sum(t.tot_cost),0,0,0,0
    from fin_ipb_balancelist t
    union all
    --住院结算
    select '收费方式',0,0,sum(decode(t.trans_kind,'1',decode(t.reutrnorsupply_flag,'2',-t.cost,t.cost),0)),0,sum(decode(t.trans_kind,'0',t.cost,0))
    from fin_ipb_balancepay t
    union all
    select '医保',0,0,0,sum(t.pub_cost + t.append_cost + (t.curaccount_cost + t.lastaccount_cost + t.beginaccount_cost + t.pubaccount_cost + t.appendaccount_cost)),0
    from sh_return_result t
    where t.type in ('8','9','58','59');
    下载地址
     下载地址1
    按字母检索

    下载须知:
    大部份资源无需注册即可下载
    需要积分的资源要在会员中心注册会员并用 积分体系中提示的方法赚取积分才能下载。

    免责声明:
    所有资源只能用于参考学习,不能用于任何商业用途,否则后果自负!
    主站蜘蛛池模板: 久久精品国产99国产精品亚洲 | 国产成人精品福利站 | 国产a久久精品一区二区三区 | 日本免费高清视频 | 国产午夜精品久久久久小说 | 青春草在线免费观看 | 久久久99精品免费观看精品 | 日本一区二区三区精品 | 日本精品区 | 国产欧美成人免费观看 | 日韩美女黄大片在线观看 | 久久国产亚洲欧美日韩精品 | 成人性生交大片免费视频 | 99视频精品在线 | 草莓社区 | 青青草原手机在线视频 | 成人午夜做爰视频免费看 | 欧美激情一区二区三区不卡 | 欧美成人精品一区二区 | 国产黄色免费 | 黄色一级片网站 | 国产实拍桑拿会所按摩女技师 | 成人中文字幕在线高清 | 超级碰碰97 | a级大片在线观看 | a资源在线观看 | 欧美视频在线观看爱爱 | 精品久久久久久久一区二区伦理 | 日韩精品中文字幕在线观看 | 欧美视频第二页 | 91久久精品国产免费一区 | 奇米777在线视频 | www.亚洲精品| 久久亚洲精品中文字幕三区 | 97碰碰碰在线观看免费 | 黄色免费一级视频 | 韩国一级毛片在线观看 | 99小视频| 成年人毛片视频 | 全部免费国产潢色一级 | 国产一区二区三区免费视频 |