问题描述:
系统管理员的账户在4月份对某些账户进行充值与医技执行后
并没有在门诊收款系统内【交账】
也就是说现在的问题是财务的门诊收入在4月份体现这些钱
门诊的交账在5月
二、补救方法
select * from MS_MZHS where ksdm=14
--1.ms_yi01
select * from ms_yj01 where ksdm=14 and to_char(zxrq,'yyyy')='2018'
--2.ms_yi02
select * from ms_yj02 where yjxh in (
select yjxh from ms_yj01 where ksdm=14 and to_char(zxrq,'yyyy')='2018'
)
--3.MS_MZHS
select t.*, t.rowid from MS_MZHS t where ksdm=14
--4.ms_mzmx
select t.*, t.rowid from ms_mzmx t where ksdm=14
--5.ms_yjmx
select * from ms_yjmx where ksdm=14