科室报表修改

parent 0a9cf520
...@@ -151,7 +151,7 @@ public List<ReportData> GetReportData(int hospitalId, int groupId, int reportId, ...@@ -151,7 +151,7 @@ public List<ReportData> GetReportData(int hospitalId, int groupId, int reportId,
@where = GetFilterSelection(selections, values); @where = GetFilterSelection(selections, values);
} }
@where += $" and hospitalid={hospitalId}"; @where += $" and hospitalid={hospitalId}";
if (isMedical && sql.IndexOf("report_allot_crowd") < 0) if (isMedical)
@where += $" and accountingunit='{department}'"; @where += $" and accountingunit='{department}'";
// 固定占位符 // 固定占位符
var pairs = PredefinePlaceholder(values); var pairs = PredefinePlaceholder(values);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment