1. 挂号微信收入明细 -- WANTED-1283 门诊查询统计报表-挂号微信收入明细 select p.name as patientName, -- 患者姓名 p.birthday, -- 出生日期 bl.outpatient_number as blNumber, -- 病历号 THEN '女' END as sex, -- 性别 ) AS guaHaoMoney, h.type, h.pay_method, i.name as payMethod, h.flow_fee as weiX