LEIYI 4 hete%!(EXTRA string=óta)
szülő
commit
d3a9c6fc2a
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 2 - 2
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -8750,10 +8750,10 @@ FROM
                 newExterData.Remark = $"由草稿数据导入;草稿数Id:{draftId}";
 
                 var newDayDatas = _mapper.Map<List<Grp_DayAndCost>>(dayDatas);
-                if (newDayDatas.Any()) newDayDatas.Select(x => { x.CreateUserId = userId; return x; }).ToList();
+                if (newDayDatas.Any()) newDayDatas.Select(x => { x.DiId = groupId; x.CreateUserId = userId; return x; }).ToList();
 
                 var newOtherDatas = _mapper.Map<List<Grp_DayOtherPrice>>(otherDatas);
-                if (newOtherDatas.Any()) newOtherDatas.Select(x => { x.CreateUserId = userId; return x; }).ToList();
+                if (newOtherDatas.Any()) newOtherDatas.Select(x => { x.Diid = groupId; x.CreateUserId = userId; return x; }).ToList();
 
                 var enterExitCostInfo = _sqlSugar.Queryable<Grp_EnterExitCost>().Where(x => x.IsDel == 0 && x.DiId == groupId).First();