|
|
@ -53,8 +53,8 @@ public class ErpLocationItemAppService |
|
|
|
|
|
|
|
if (entity == null) |
|
|
|
{ |
|
|
|
if (await SettingManager.IsTrueAsync(BasedataSettings.ErpLocationItem.NotFoundReturnInfinity).ConfigureAwait(false)) |
|
|
|
{ |
|
|
|
//if (await SettingManager.IsTrueAsync(BasedataSettings.ErpLocationItem.NotFoundReturnInfinity).ConfigureAwait(false))
|
|
|
|
//{
|
|
|
|
|
|
|
|
entity = new ErpLocationItem() |
|
|
|
{ |
|
|
@ -62,7 +62,7 @@ public class ErpLocationItemAppService |
|
|
|
ErpLocationCode= erpLocationCode |
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
// }
|
|
|
|
} |
|
|
|
var dto = ObjectMapper.Map<ErpLocationItem, ErpLocationItemDTO>(entity); |
|
|
|
return dto; |
|
|
|