@@ -209,14 +209,13 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
foreach (Ass_AssetsOutItemApplyEntity item in ass_AssetsOutItemApplyList)
{
allPrice += item.AOIPrice.ToDecimal();
item.Create();
item.AOId = ass_AssetsOutApplyEntityTmp.AOId;
item.AOINewUsePeople = entity.AOINewUsePeople;
item.AOINewRoomId = entity.AOINewRoomId;
item.AOINewDepartment = entity.AOINewDepartment;
item.AOINewStorageId = entity.AOINewStorageId;
// item.AOINewUsePeople = entity.AOINewUsePeople;
// item.AOINewRoomId = entity.AOINewRoomId;
// item.AOINewDepartment = entity.AOINewDepartment;
// item.AOINewStorageId = entity.AOINewStorageId;
db.Insert(item);
}
entity.AOPrice = allPrice;
@@ -230,10 +229,10 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
item.Create();
allPrice += item.AOIPrice.ToDecimal();
item.AOId = entity.AOId;
item.AOINewUsePeople = entity.AOINewUsePeople;
item.AOINewRoomId = entity.AOINewRoomId;
item.AOINewDepartment = entity.AOINewDepartment;
item.AOINewStorageId = entity.AOINewStorageId;
// item.AOINewUsePeople = entity.AOINewUsePeople;
// item.AOINewRoomId = entity.AOINewRoomId;
// item.AOINewDepartment = entity.AOINewDepartment;
// item.AOINewStorageId = entity.AOINewStorageId;
db.Insert(item);
}
entity.AOPrice = allPrice;