Commit 1a7199dc by lcx

取消医院其他绩效数据的带出

parent 84d311ad
......@@ -129,13 +129,13 @@ public int SupplementaryData(int allotid)
where sheet.allotid = @allotid and sheet.sheettype = 9 and im.department not in
(select charge from cof_depttype where allotid = @allotid);",
@"insert into per_apr_amount(AllotId, PersonnelNumber, DoctorName)
/* @"insert into per_apr_amount(AllotId, PersonnelNumber, DoctorName)
select distinct @allotid AllotId, t.PersonnelNumber, t.DoctorName from
(
select AllotId,PeopleNumber PersonnelNumber,DoctorName from im_employee where allotid = @allotid
union all
select AllotId,PersonnelNumber,DoctorName from im_employee_clinic where allotid = @allotid
) t where DoctorName not in (select DoctorName from per_apr_amount where allotid = @allotid);",
) t where DoctorName not in (select DoctorName from per_apr_amount where allotid = @allotid);",*/
@"insert into cof_cmi(AllotId, UnitType, AccountingUnit)
select AllotId,UnitType,DoctorAccountingUnit from im_accountbasic where allotid = @allotid
......
......@@ -624,7 +624,7 @@ public void Copy(per_allot allot)
var hospital = perforHospitalRepository.GetEntity(t => t.ID == allot.HospitalId);
logger.LogInformation($"apramount{allotId} {allot.ID}");
CopyAprData(allotId, allot.ID);
//CopyAprData(allotId, allot.ID);
personService.CreateAllotPersons(allot.HospitalId, allot.ID, allotId);
......
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