|
|
|
@ -549,8 +549,6 @@ namespace BBWY.Server.Business |
|
|
|
*/ |
|
|
|
var loggerName = $"批量采购-{request.ShopName}"; |
|
|
|
nLogManager.GetLogger(loggerName).Info(JsonConvert.SerializeObject(request)); |
|
|
|
if (request.IntoStoreType == null) |
|
|
|
request.IntoStoreType = Enums.IntoStoreType.发回齐越; |
|
|
|
if (request.CargoParamGroupList == null || request.CargoParamGroupList.Count() == 0 || |
|
|
|
request.CargoParamGroupList.Any(g => g.CargoParamList == null || g.CargoParamList.Count() == 0 || string.IsNullOrEmpty(g.PurchaserId))) |
|
|
|
throw new BusinessException("缺少商品参数"); |
|
|
|
|