数据源.json 488 B

12345678
  1. [
  2. {
  3. "id": 1,
  4. "name": "第一次医嘱时间",
  5. "title": "根据患者第一次开医嘱的时间,如果没有则使用入院时间",
  6. "sql": "select top 1 * from (select top 1 order_time from yz_act_order where inpatient_no = '${patNo}' and admiss_times = ${times} order by act_order_no union select top 1 admiss_times from view_xc_all_yz where inpatient_no = '${patNo}' and admiss_times = ${times}) temp"
  7. }
  8. ]