当前位置 : 主页 > 手机开发 > ROM >

门诊对账信息

来源:互联网 收集:自由互联 发布时间:2021-06-10
SELECT * from MS_SFMX,MS_MZXX WHERE MS_SFMX.MZXH = MS_MZXX.MZXH and MS_MZXX.JGID = 1 and MS_MZXX.JZRQ is null and MS_MZXX.MZLB = 1 and MS_MZXX.YQSB = 1 and MS_MZXX.CZGH = ‘8888‘ and MS_MZXX.SFFS = 0 上面是门诊个人汇总的信息,

SELECT * from MS_SFMX,MS_MZXX
WHERE MS_SFMX.MZXH = MS_MZXX.MZXH and MS_MZXX.JGID = 1 and MS_MZXX.JZRQ
is null and MS_MZXX.MZLB = 1 and MS_MZXX.YQSB = 1 and MS_MZXX.CZGH = ‘8888‘
and MS_MZXX.SFFS = 0

分享图片

上面是门诊个人汇总的信息,里面是疫苗费是门诊收款处收疫苗费产生的,

SELECT * from MS_SFMX,MS_MZXX 
WHERE MS_SFMX.MZXH = MS_MZXX.MZXH and MS_MZXX.JGID = 1 and MS_MZXX.JZRQ 
is null and MS_MZXX.MZLB = 1 and MS_MZXX.YQSB = 1 and MS_MZXX.CZGH = ‘8888‘ 
and MS_MZXX.SFFS = 0

分享图片

----上面有疫苗费1161,个人账,1011,也就说1101是扣掉就诊卡里面的钱,150是现金

网友评论