|
@@ -7739,6 +7739,32 @@ namespace OASystem.API.Controllers
|
|
|
JsonView jw = null;
|
|
|
bool isTrue = false;
|
|
|
|
|
|
+ #region 复制团组成本
|
|
|
+ //if (dto.Diid == 2581)
|
|
|
+ //{
|
|
|
+ // dto.Diid = 2599;
|
|
|
+ // dto.CheckBoxs.ForEach(x =>
|
|
|
+ // {
|
|
|
+ // x.Diid = 2599;
|
|
|
+ // });
|
|
|
+
|
|
|
+ // dto.GroupCosts.ForEach(x =>
|
|
|
+ // {
|
|
|
+ // x.Diid = 2599;
|
|
|
+ // });
|
|
|
+
|
|
|
+ // dto.CostTypeHotelNumbers.ForEach(x =>
|
|
|
+ // {
|
|
|
+ // x.Diid = 2599;
|
|
|
+ // });
|
|
|
+
|
|
|
+ // dto.GroupCostParameters.ForEach(x =>
|
|
|
+ // {
|
|
|
+ // x.DiId = 2599;
|
|
|
+ // });
|
|
|
+ //}
|
|
|
+ #endregion
|
|
|
+
|
|
|
var Grp_groups = _mapper.Map<List<Grp_GroupCost>>(dto.GroupCosts);
|
|
|
Grp_groups.ForEach(x => { x.CreateUserId = dto.Userid; x.CreateTime = DateTime.Now; }); //.ToString("yyyy-MM-dd HH:mm:ss")
|
|
|
var Grp_CheckBoxs = _mapper.Map<List<Grp_CheckBoxs>>(dto.CheckBoxs);
|