初始化单位 GetInitSynHisCompanyList
  1. select
  2. a.RWID00 as hisCompanyCode,
  3. b.TTqC00||'('||a.RWID00||')' as hisCompanyName,
  4. b.YYBH00 as hishospitalcode,
  5. a.TTID00 as groupId,
  6. a.RWYDRQ as examStart,
  7. a.YDZZRQ as examEnd,
  8. sysdate as insertTime,
  9. 1 as operateType,
  10. 1 as busiType,
  11. 0 as upload
  12. from HM_YW_TTRW00 a inner join HM_YW_TJTT00 b on a.TTID00=b.TTID00
文档更新时间: 2023-05-25 15:39