Commit f941ce08 by lcx

二次绩效获取工作量条件修改、二次工作量抽取category、source赋值修改

parent 7198cd26
...@@ -188,7 +188,7 @@ public IEnumerable<report_original_workload> QueryWorkloadData(int allotid, stri ...@@ -188,7 +188,7 @@ public IEnumerable<report_original_workload> QueryWorkloadData(int allotid, stri
WHERE t1.allotid = @allotid WHERE t1.allotid = @allotid
AND t3.unittype in @unittypes AND t3.unittype in @unittypes
AND t3.accountingunit = @accountingunit AND t3.accountingunit = @accountingunit
AND t1.Source LIKE CONCAT('%',@unittype,'工作量%') AND (t1.Source LIKE CONCAT('%',@unittype,'工作量%') OR t1.Source = '通用工作量')
AND T1.IsDelete = 0 AND T1.IsDelete = 0
GROUP BY ifnull(t1.DoctorName, '未知'),t1.PersonnelNumber,t1.Category GROUP BY ifnull(t1.DoctorName, '未知'),t1.PersonnelNumber,t1.Category
ORDER BY t1.doctorname,t1.Category;"; ORDER BY t1.doctorname,t1.Category;";
......
...@@ -183,11 +183,11 @@ private void ExResult(per_allot allot, sys_hospitalconfig config, string sql, st ...@@ -183,11 +183,11 @@ private void ExResult(per_allot allot, sys_hospitalconfig config, string sql, st
var result = data.Select(t => new ex_result var result = data.Select(t => new ex_result
{ {
Department = t.Department, Department = t.Department,
Category = t.Category?.Trim(), Category = enmae,
Fee = t.Value, Fee = t.Value,
DoctorName = t.DoctorName, DoctorName = t.DoctorName,
PersonnelNumber = t.PersonnelNumber, PersonnelNumber = t.PersonnelNumber,
Source = enmae, Source = "通用工作量",
DatabaseType = config.DataBaseType, DatabaseType = config.DataBaseType,
ConfigId = config.Id, ConfigId = config.Id,
AllotId = allot.ID, AllotId = allot.ID,
......
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