Commit 59cc4010 by 钟博

调整申请和被申请显示

parent 10253693
...@@ -709,6 +709,18 @@ ...@@ -709,6 +709,18 @@
</summary> </summary>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:Performance.Api.Controllers.CostTransferController.SelectCommon(System.Int32,System.Int32,Performance.DtoModels.DepartmentDetail)">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:Performance.Api.Controllers.CostTransferController.DeptDetial(System.Int32,System.Int32)">
<summary>
当前科室、类别
</summary>
<returns></returns>
</member>
<member name="M:Performance.Api.Controllers.CostTransferController.WithdrawSubmit(System.Int32)"> <member name="M:Performance.Api.Controllers.CostTransferController.WithdrawSubmit(System.Int32)">
<summary> <summary>
撤回提交 撤回提交
......
...@@ -200,25 +200,6 @@ public CommonResponse Common(int allotId, int hospitalId, int roleType, string d ...@@ -200,25 +200,6 @@ public CommonResponse Common(int allotId, int hospitalId, int roleType, string d
} }
common.Data = commons; common.Data = commons;
} }
#region
/*
var drugType = cofdrugtypeRepository.GetEntities(t => t.HospitalId == hospitalId && t.AllotID == allotId)
?.Select(t => new TitleValue { Title = t.Charge, Value = t.Charge }).ToDistinct();
var sheet = persheetRepository.GetEntities(t => t.AllotID == allotId && t.SheetType == (int)SheetType.Income)
?.Select(t => new TitleValue
{
Title = Regex.Replace(t.SheetName, @"\d.", "")
,
Value = Regex.Replace(t.SheetName, @"\d.", "")
}).ToDistinct();
var dept = perdeptdicRepository.GetEntities(t => t.HospitalId == hospitalId)
?.Select(t => new TitleValue { Title = t.AccountingUnit, Value = t.AccountingUnit }).ToDistinct();
*/
#endregion
return common; return common;
} }
...@@ -665,10 +646,10 @@ public TransferReportResponse TransferContent(int allotId, int auditType, Depart ...@@ -665,10 +646,10 @@ public TransferReportResponse TransferContent(int allotId, int auditType, Depart
switch (auditType) switch (auditType)
{ {
case 1: case 1:
transfers = transfers.Where(t => t.AdoptedDepartment == detail.Department && t.AdoptedUnitType == detail?.UnitType).ToList(); transfers = transfers.Where(t => t.ApplicantDepartment == detail.Department && t.ApplicantUnitType == detail?.UnitType).ToList();
break; break;
case 2: case 2:
transfers = transfers.Where(t => t.ApplicantDepartment == detail.Department && t.ApplicantUnitType == detail?.UnitType).ToList(); transfers = transfers.Where(t => t.AdoptedDepartment == detail.Department && t.AdoptedUnitType == detail?.UnitType).ToList();
break; break;
default: default:
break; break;
......
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