34 lines
1.5 KiB
C#
34 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
using System.Xml;
|
|
using AIMSModel;
|
|
using HelperDB;
|
|
using DrawGraph;
|
|
using AIMSExtension;
|
|
|
|
namespace AIMSBLL
|
|
{
|
|
public class BOperationReport
|
|
{
|
|
public static DataTable GetMonthDay()
|
|
{
|
|
string strSql = " select '月份' as '月份', 1 as '1',2 as '2',3 as '3',4 as '4',5 as '5',6 as '6',7 as '7',8 as '8',9 as '9',10 as '10', 11 as '11', 12 as '12', 13 as '13', 14 as '14', 15 as '15', 16 as '16', 17 as '17', 18 as '18', 19 as '19', 20 as '20', 21 as '21', 22 as '22', 23 as '23', 24 as '24', 25 as '25', 26 as '26', 27 as '27', 28 as '28', 29 as '29', 30 as '30', 31 as '31' ,'合计' as '合计'";
|
|
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
|
}
|
|
|
|
public static DataTable Get手术例数按月统计(string beginTime, string endTime)
|
|
{
|
|
string strSql = "SELECT OpeMonth, OpeDAY,COUNT(*) num FROM [dbo].[V_OperationRecordInfo] where State='手术结束' and InRoomTime>'" + beginTime + "' and InRoomTime<'" + endTime + "' group by OpeMonth,OpeDAY";
|
|
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
|
}
|
|
public static DataTable Get麻醉专业医疗质控指标(string beginTime, string endTime)
|
|
{
|
|
string strSql = "exec [usp_Get2022AnaseQuality]'" + beginTime + "' ,'" + endTime + "' ";
|
|
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
|
}
|
|
}
|
|
}
|