|
|
@ -133,6 +133,19 @@ namespace Win.Sfs.SettleAccount.Entities |
|
|
|
return entities; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public virtual async Task<bool> UpdateAsync(Guid p_id,string Remark) |
|
|
|
{ |
|
|
|
var entities=_repository.Where(p => p.Id == p_id); |
|
|
|
if(entities!=null && entities.Count()>0) |
|
|
|
{ |
|
|
|
var entity =await entities.FirstOrDefaultAsync(); |
|
|
|
entity.Remark = Remark; |
|
|
|
await _repository.UpdateAsync(entity); |
|
|
|
} |
|
|
|
return true; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|