select '' 开始日期,'' 结束日期,'' 制表人,'' 制表日期,'' 复核人,'' 医疗机构,'' 年度 from dual where 1=2
select '' 项目名称,'' 上期余额,'' 本期借方,'' 本期贷方,'' 本期余额 from dual where 1=2
12
12
93
=? and a.JFRQ <=? and (b.JSZT='0' or a.ZDZBPKEY='空')group by a.FYZL order by a.fyzl
]]>
12
12
93
93
=? and a.JFRQ <=? and b.JSZT !='0' group by a.FYZL order by a.fyzl
]]>
12
12
93
93
select '' 科室,'' 就诊号,'' 住院号,'' 病人姓名,'' 上期余额,'' 本期借方,'' 本期贷方,'' 本期余额 from dual where 1=2
12
12
93
=? and a.JFRQ <=? and (b.JSZT='0' or a.ZDZBPKEY='空') group by d.jjks,d.jzno,d.zyno,e.xm order by d.jjks,d.jzno
]]>
12
12
93
93
=? and a.JFRQ <=? and b.JSZT !='0' group by d.jjks,d.jzno,d.zyno,e.xm order by d.jjks,d.jzno
]]>
12
12
93
93
select '' 科室,'' 人次,'' 费用类别,'' 费用 from dual where 1=2
=? and a.jjrq <=? group by sfx.fyzl,a.jjks order by a.jjks,sfx.fyzl
]]>
12
12
93
93
=? and a.jjrq <=? group by sfx.KJZFL,a.jjks order by a.jjks,sfx.KJZFL
]]>
12
12
93
93
=? and a.jjrq <=? group by sfx.HSZFL,a.jjks order by a.jjks,sfx.HSZFL
]]>
12
12
93
93
=? and a.jjrq <=? group by sfx.BASYFL,a.jjks order by a.jjks,sfx.BASYFL
]]>
12
12
93
93
=? and a.JFRQ <=? and (b.JSZT='0' or a.ZDZBPKEY='空')group by a.fydl,d.jjks order by d.jjks,a.fydl
]]>
12
12
93
93
=? and a.JFRQ <=? and (b.JSZT='0' or a.ZDZBPKEY='空') and e.GLLX='Y' group by d.jjks order by d.jjks
]]>
12
12
93
93
select '' 科室,'' 科室人次,'' 费用类别,'' 费用,'' 人均费用,'' 小计 from dual where 1=2
=? and d.cyrq <=? and b.JSZT !='0' group by sfx.fyzl,d.jjks order by d.jjks,sfx.fyzl
]]>
12
12
93
93
=? and d.cyrq <=? and b.JSZT !='0' group by sfx.KJZFL,d.jjks order by d.jjks,sfx.KJZFL
]]>
12
12
93
93
=? and d.cyrq <=? and b.JSZT !='0' group by sfx.HSZFL,d.jjks order by d.jjks,sfx.HSZFL
]]>
12
12
93
93
=? and d.cyrq <=? and b.JSZT !='0' group by sfx.BASYFL,d.jjks order by d.jjks,sfx.BASYFL
]]>
12
12
93
93
=? and d.cyrq <=? and b.JSZT !='0' group by a.fydl,d.jjks order by d.jjks,a.fydl
]]>
12
12
93
93
=? and cyrq <= ? group by jjks
]]>
12
12
93
93
select '' 科室,'' 费用类别,'' 费用 from dual where 1=2
=? and d.cyrq <=? group by sfx.FYZL,d.jjks order by d.jjks,sfx.fyzl
]]>
12
12
93
93
=? and d.cyrq <=? group by sfx.KJZFL,d.jjks order by d.jjks,sfx.KJZFL
]]>
12
12
93
93
=? and d.cyrq <=? group by sfx.HSZFL,d.jjks order by d.jjks,sfx.HSZFL
]]>
12
12
93
93
=? and d.cyrq <=? group by sfx.BASYFL,d.jjks order by d.jjks,sfx.BASYFL
]]>
12
12
93
93
=? and d.cyrq <=? group by a.FYDL,d.jjks order by d.jjks,a.fydl
]]>
12
12
93
93
=? and d.cyrq <=? and e.GLLX='Y' group by d.jjks order by d.jjks
]]>
12
12
93
93
select '' 科室,'' 医生,'' 费用类别,'' 费用 from dual where 1=2
=? and d.cyrq <=? group by sfx.fyzl,d.jjks,d.jjys order by d.jjks,d.jjys,sfx.fyzl
]]>
12
12
93
93
=? and d.cyrq <=? group by sfx.KJZFL,d.jjks,d.jjys order by d.jjks,d.jjys,sfx.KJZFL
]]>
12
12
93
93
=? and d.cyrq <=? group by sfx.HSZFL,d.jjks,d.jjys order by d.jjks,d.jjys,sfx.HSZFL
]]>
12
12
93
93
=? and d.cyrq <=? group by sfx.BASYFL,d.jjks,d.jjys order by d.jjks,d.jjys,sfx.BASYFL
]]>
12
12
93
93
=? and d.cyrq <=? group by a.fydl,d.jjks,d.jjys order by d.jjks,d.jjys,a.fydl
]]>
12
12
93
93
=? and d.cyrq <=? and e.GLLX='Y' group by d.jjks,d.jjys order by d.jjks,d.jjys
]]>
12
12
93
93
select '' 科室,'' 医生,'' 费用类别,'' 费用 from dual where 1=2
=? and a.JFRQ <=? group by sfx.fyzl,d.jjks,d.jjys order by d.jjks,d.jjys,sfx.fyzl
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.KJZFL,d.jjks,d.jjys order by d.jjks,d.jjys,sfx.KJZFL
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.HSZFL,d.jjks,d.jjys order by d.jjks,d.jjys,sfx.HSZFL
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.BASYFL,d.jjks,d.jjys order by d.jjks,d.jjys,sfx.BASYFL
]]>
12
12
93
93
=? and a.JFRQ <=? group by a.fydl,d.jjks,d.jjys order by d.jjks,d.jjys,a.fydl
]]>
12
12
93
93
=? and a.JFRQ <=? and e.GLLX='Y' group by d.jjks,d.jjys order by d.jjks,d.jjys
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.fyzl,d.jjks,e.YZXZYS order by d.jjks,e.YZXZYS,sfx.fyzl
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.KJZFL,d.jjks,e.YZXZYS order by d.jjks,e.YZXZYS,sfx.KJZFL
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.HSZFL,d.jjks,e.YZXZYS order by d.jjks,e.YZXZYS,sfx.HSZFL
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.BASYFL,d.jjks,e.YZXZYS order by d.jjks,e.YZXZYS,sfx.BASYFL
]]>
12
12
93
93
=? and a.JFRQ <=? group by a.FYDL,d.jjks,e.YZXZYS order by d.jjks,e.YZXZYS,a.fydl
]]>
12
12
93
93
=? and a.JFRQ <=? and f.GLLX='Y' group by d.jjks,e.YZXZYS order by d.jjks,e.YZXZYS
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.fyzl,c.YZZXKS order by c.YZZXKS,sfx.fyzl
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.KJZFL,c.YZZXKS order by c.YZZXKS,sfx.KJZF
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.HSZFL,c.YZZXKS order by c.YZZXKS,sfx.HSZFL
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.BASYFL,c.YZZXKS order by c.YZZXKS,sfx.BASYFL
]]>
12
12
93
93
=? and a.JFRQ <=? group by a.fydl,c.YZZXKS order by c.YZZXKS,a.fydl
]]>
12
12
93
93
select '' 姓名,'' 就诊号,'' 是否出院,'' 费用类别,'' 费用,'' 科室 from dual where 1=2
=? and a.jjrq <=? group by sfx.fyzl,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,a.JZZT,a.jjks order by a.jjks,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,sfx.fyzl,a.JZZT
]]>
12
12
93
93
=? and a.jjrq <=? group by sfx.KJZFL,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,a.JZZT,a.jjks order by a.jjks,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,sfx.KJZFL,a.JZZT
]]>
12
12
93
93
=? and a.jjrq <=? group by sfx.HSZFL,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,a.JZZT,a.jjks order by a.jjks,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,sfx.HSZFL,a.JZZT
]]>
12
12
93
93
=? and a.jjrq <=? group by sfx.BASYFL,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,a.JZZT,a.jjks order by a.jjks,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,sfx.BASYFL,a.JZZT
]]>
12
12
93
93
=? and d.jjrq <=? group by d.pkey,a.FYDL,d.hzpkey,d.zyno,d.ZYNUM,d.JZZT,d.jjks order by d.jjks,d.pkey,d.hzpkey,d.zyno,d.ZYNUM,a.fydl,d.JZZT
]]>
12
12
93
93
=? and a.jjrq <=? and sfx.GLLX='Y' group by c.fydl,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,a.JZZT,a.jjks order by a.jjks,a.pkey,a.hzpkey,a.zyno,a.ZYNUM,c.fydl,a.JZZT
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.fyzl,d.jjks order by d.jjks,sfx.fyzl
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.KJZFL,d.jjks order by d.jjks,sfx.KJZF
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.HSZFL,d.jjks order by d.jjks,sfx.HSZFL
]]>
12
12
93
93
=? and a.JFRQ <=? group by sfx.BASYFL,d.jjks order by d.jjks,sfx.BASYFL
]]>
12
12
93
93
=? and a.sfrq <=?
group by sfx.fyzl,e.jjks order by e.jjks,sfx.fyzl
]]>
12
12
93
93
=? and a.sfrq <=?
group by sfx.KJZFL,e.jjks order by e.jjks,sfx.KJZFL
]]>
12
12
93
93
=? and a.sfrq <=?
group by sfx.HSZFL,e.jjks order by e.jjks,sfx.HSZFL
]]>
12
12
93
93
=? and a.sfrq <=?
group by sfx.BASYFL,e.jjks order by e.jjks,sfx.BASYFL
]]>
12
12
93
93
=? and a.sfrq <=?
group by e.jjks order by e.jjks
]]>
12
12
93
93
select '' 科室,'' 类别,'' 医生,'' 人次,'' 合计,'' 药品小计,'' 西药费,'' 成药费,'' 中药制剂,'' 草药费,'' 材料费,'' 输氧费,'' 检查小计,'' 胃镜费,'' CT费,'' DR费,'' 彩超费,'' 心电图费,'' 化验费,'' 中医体质辨识,'' 医务小计,'' 诊察费,'' 护理费,'' 治疗费,'' 床位费,'' 中医适宜技术,'' 手术费
,'' 麻醉费,'' 煎药费,'' 救护车费,'' 其他费 from dual where 1=2
=? and a.jjrq <=? group by jgzdb.value4,a.jjks,a.jjys order by a.jjks,a.jjys,jgzdb.value4
]]>
12
12
93
93
=? and a.jjrq <=? ) group by jjks,YZXZYS order by jjks,YZXZYS
]]>
12
12
93
93