天堂资源站,精品二区,欧美日韩精品免费

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


»ñµÃ»ý·Ö
×ÊÁÏ¿â»áÔ±µÇ¼
ËÑË÷: [¸ß¼¶ËÑË÷]
ÏÂÔØÊ×Ò³ | ×ÊÔ´·ÖÀà | ÏÂÔØÅÅÐÐ
ÄúµÄλÖÃ: Ê×Ò³ > Êг¡ ¿ª·¢ ʵʩ ¹ÜÀí > ÏµÍ³ÊµÊ©
 
·ÖÀർº½
ÏÂÔØÅÅÐÐ
×îÐÂ×ÊÔ´
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
°´×Öĸ¼ìË÷

ÏÂÔØÐëÖª:
´ó²¿·Ý×ÊÔ´ÎÞÐè×¢²á¼´¿ÉÏÂÔØ
ÐèÒª»ý·ÖµÄ×ÊÔ´ÒªÔÚ»áÔ±ÖÐÐÄ×¢²á»áÔ±²¢Óà »ý·ÖÌåϵÖÐÌáʾµÄ·½·¨×¬È¡»ý·Ö²ÅÄÜÏÂÔØ¡£

ÃâÔðÉùÃ÷£º
ËùÓÐ×ÊÔ´Ö»ÄÜÓÃÓڲο¼Ñ§Ï°£¬²»ÄÜÓÃÓÚÈκÎÉÌÒµÓÃ;£¬·ñÔòºó¹û×Ô¸º£¡
Ö÷Õ¾Ö©Öë³ØÄ£°å£º 国内不卡1区2区 | 国产成人精品免费视频大全办公室 | 狠狠狠狠狠狠狠狠 | 精品国产亚一区二区三区 | 国产亚洲精品久久久久久午夜 | 精品国产一区二区三区不卡在线 | 999久久久精品视频在线观看 | a级片在线观看 | 国产亚洲欧美成人久久片 | 欧美精品成人一区二区在线观看 | 啪啪免费网址 | 日韩精品一区二区三区免费视频 | 国产精品久久久久一区二区 | 日本高清不卡一区久久精品 | 日韩精品一区二区三区中文精品 | 国产伊人影院 | 欧美日韩在线精品一区二区三区 | 精品国产视频在线观看 | 99久久精品免费看国产一区二区 | 九九精品国产兔费观看久久 | 日本高清一区二区三区不卡免费 | 国产欧美在线观看精品一区二区 | 国内精品综合九九久久精品 | 不卡的中文字幕 | 精品在线99| 欧美在线视频一区在线观看 | 91精品在线播放 | h福利视频 | 日韩免费三级 | 国产va免费精品观看 | 日韩久久一级毛片 | 5060网永久免费一级毛片 | www.福利视频 | 成年视频xxxxx在线观看 | 日韩欧美中文字幕一区二区三区 | 国产在线成人精品 | 国产在线91精品入口 | 韩国美女韩宝贝vip2019 | 成人午夜网址 | 91视频专区| 欧美成人全部视频 |