|
@ -33,7 +33,7 @@ public class CustomerProductionReturnNoteAppService : |
|
|
private readonly ICustomerItemAppService _customerItemAppService; |
|
|
private readonly ICustomerItemAppService _customerItemAppService; |
|
|
|
|
|
|
|
|
private readonly ICustomerAppService _customerAppService; |
|
|
private readonly ICustomerAppService _customerAppService; |
|
|
private readonly ICustomerItemRepository _customerItemRepository; |
|
|
//private readonly ICustomerItemRepository _customerItemRepository;
|
|
|
private readonly ISalePriceSheetAppService _salePriceSheetAppService; |
|
|
private readonly ISalePriceSheetAppService _salePriceSheetAppService; |
|
|
|
|
|
|
|
|
public CustomerProductionReturnNoteAppService( |
|
|
public CustomerProductionReturnNoteAppService( |
|
@ -41,17 +41,13 @@ public class CustomerProductionReturnNoteAppService : |
|
|
, ICustomerProductionReturnNoteManager CustomerProductionReturnNoteManager |
|
|
, ICustomerProductionReturnNoteManager CustomerProductionReturnNoteManager |
|
|
, ICustomerItemAppService customerItemAppService, |
|
|
, ICustomerItemAppService customerItemAppService, |
|
|
ISalePriceSheetAppService salePriceSheetAppService, |
|
|
ISalePriceSheetAppService salePriceSheetAppService, |
|
|
ICustomerAppService customerAppService, |
|
|
ICustomerAppService customerAppService |
|
|
ICustomerItemRepository customerItemRepository |
|
|
// ICustomerItemRepository customerItemRepository
|
|
|
) : base(repository) |
|
|
) : base(repository) |
|
|
{ |
|
|
{ |
|
|
|
|
|
//_customerItemRepository = customerItemRepository;
|
|
|
_customerItemRepository = customerItemRepository; |
|
|
|
|
|
|
|
|
|
|
|
_customerItemAppService = customerItemAppService; |
|
|
_customerItemAppService = customerItemAppService; |
|
|
|
|
|
|
|
|
_salePriceSheetAppService = salePriceSheetAppService; |
|
|
_salePriceSheetAppService = salePriceSheetAppService; |
|
|
|
|
|
|
|
|
_CustomerProductionReturnNoteManager = CustomerProductionReturnNoteManager; |
|
|
_CustomerProductionReturnNoteManager = CustomerProductionReturnNoteManager; |
|
|
_customerAppService = customerAppService; |
|
|
_customerAppService = customerAppService; |
|
|
} |
|
|
} |
|
@ -154,14 +150,14 @@ public class CustomerProductionReturnNoteAppService : |
|
|
} |
|
|
} |
|
|
foreach (var itm in entity.Details) |
|
|
foreach (var itm in entity.Details) |
|
|
{ |
|
|
{ |
|
|
itm.FromLocationCode = ""; |
|
|
itm.FromLocationCode = string.Empty; |
|
|
itm.FromStatus = EnumInventoryStatus.OK; |
|
|
itm.FromStatus = EnumInventoryStatus.OK; |
|
|
itm.ToStatus=EnumInventoryStatus.OK; |
|
|
itm.ToStatus=EnumInventoryStatus.OK; |
|
|
itm.FromLocationArea = ""; |
|
|
itm.FromLocationArea = string.Empty; |
|
|
itm.FromLocationErpCode= ""; |
|
|
itm.FromLocationErpCode= string.Empty; |
|
|
itm.FromWarehouseCode = ""; |
|
|
itm.FromWarehouseCode = string.Empty; |
|
|
itm.FromLocationGroup = ""; |
|
|
itm.FromLocationGroup = string.Empty; |
|
|
itm.FromContainerCode = ""; |
|
|
itm.FromContainerCode = string.Empty; |
|
|
itm.ToContainerCode =string.IsNullOrEmpty(itm.ToContainerCode)? "": itm.ToContainerCode; |
|
|
itm.ToContainerCode =string.IsNullOrEmpty(itm.ToContainerCode)? "": itm.ToContainerCode; |
|
|
itm.ToWarehouseCode= string.IsNullOrEmpty(itm.ToWarehouseCode)? "": itm.ToContainerCode; |
|
|
itm.ToWarehouseCode= string.IsNullOrEmpty(itm.ToWarehouseCode)? "": itm.ToContainerCode; |
|
|
} |
|
|
} |
|
|