|
|
@ -1,3 +1,4 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
|
using System.Threading.Tasks; |
|
|
@ -52,6 +53,27 @@ public class CustomerProductionReturnNoteAppService : |
|
|
|
_customerAppService = customerAppService; |
|
|
|
} |
|
|
|
|
|
|
|
[HttpGet("{id}")] |
|
|
|
public override async Task<CustomerProductionReturnNoteDTO> GetAsync(Guid id) |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
var entity=await base.GetAsync(id).ConfigureAwait(false); |
|
|
|
|
|
|
|
foreach (var itm in entity.Details) |
|
|
|
{ |
|
|
|
itm.CustomerCode=entity.CustomerCode; |
|
|
|
itm.CustomerName=entity.CustomerName; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return entity; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 新增实体
|
|
|
|
/// </summary>
|
|
|
|