12345678 |
- [
- {
- "id": 1,
- "name": "第一次医嘱时间",
- "title": "根据患者第一次开医嘱的时间,如果没有则使用入院时间",
- "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"
- }
- ]
|