|
@@ -19,7 +19,7 @@ public interface DashboardDao {
|
|
|
"convertAdmissDate=admiss_date, " +
|
|
|
"physician=(select rtrim(t.name) from a_employee_mi t where t.code=a.refer_physician), " +
|
|
|
"a.med_type, " +
|
|
|
- "surgery=(select top 1 rtrim(op_name) from op_record t where t.inpatient_no=a.inpatient_no " +
|
|
|
+ "surgery=(select top 1 rtrim(op_scale) + N'级' from op_record t where t.inpatient_no=a.inpatient_no " +
|
|
|
"and t.admiss_times=a.admiss_times and t.status!='d' and datediff(day ,getdate(), t.op_datetime)=0), " +
|
|
|
"nursingLevel=(select top 1 rtrim(order_name) from yz_act_order t where " +
|
|
|
"t.order_code in ('05298','05299','05300','05301') and t.group_no='00' and t.status_flag in ('3','4') " +
|