|
@@ -19,7 +19,7 @@ public interface DailyPatientCountDao {
|
|
|
"and isnull(group_no,'00' )='00' and order_code='05888'), " +
|
|
|
"dangerCount=(select count(1) from yz_act_order with(nolock) where status_flag!='5' " +
|
|
|
"and isnull(group_no,'00' )='00' and order_code='05887'), " +
|
|
|
- "operationCount=(select count(1) from op_record with(nolock) where datediff(day,op_datetime,getdate())=1), " +
|
|
|
+ "operationCount=(select count(1) from op_record with(nolock) where status!='d' and datediff(day,op_datetime,getdate())=1), " +
|
|
|
"clinicCount=(select count(1) from mzy_reqrec with(nolock) where datediff(day,visit_date,getdate())=1), " +
|
|
|
"rescueCount=((select count(1) from yz_act_order with(nolock) where status_flag > '2' and " +
|
|
|
"datediff(day,start_time,getdate())=1 and isnull(group_no,'00' )='00' and order_code in " +
|