|  | @@ -24,10 +24,17 @@ namespace OASystem.Infrastructure.Repositories.Groups
 | 
	
		
			
				|  |  |              return Query(x=> x.IsDel < 1).ToList();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        public async Task<bool> SaveGroupCostList(List<Grp_GroupCost> costList,int diid)
 | 
	
		
			
				|  |  | +        public async Task<bool> SaveGroupCostList(List<Grp_GroupCost> costList,int diid, int userid)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              BeginTran();
 | 
	
		
			
				|  |  | -            bool isTrue = await DeleteGroupCostList(diid);
 | 
	
		
			
				|  |  | +            //注释删除
 | 
	
		
			
				|  |  | +            //bool isTrue = await DeleteGroupCostList(diid);
 | 
	
		
			
				|  |  | +            bool isTrue = await UpdateAsync(x => x.Diid == diid && x.IsDel == 0, x => new Grp_GroupCost
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                IsDel = 1,
 | 
	
		
			
				|  |  | +                DeleteUserId = userid,
 | 
	
		
			
				|  |  | +                DeleteTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")
 | 
	
		
			
				|  |  | +            }) ;
 | 
	
		
			
				|  |  |              if (costList.Count > 0)
 | 
	
		
			
				|  |  |              {
 | 
	
		
			
				|  |  |                  isTrue = Adds(costList) > 0;
 | 
	
	
		
			
				|  | @@ -114,6 +121,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
 | 
	
		
			
				|  |  |                          ggc.DAY = dayIndex.ToString();
 | 
	
		
			
				|  |  |                          ggc.Date = item;
 | 
	
		
			
				|  |  |                          ggc.ITIN = itin;
 | 
	
		
			
				|  |  | +                        ggc.Diid = diid;
 | 
	
		
			
				|  |  |                          returnArr.Add(ggc);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                          dayIndex++;
 |