Browse Source

B端采购设置拳探订单为待配置

updatebug
shanji 2 years ago
parent
commit
813b1ceff4
  1. 5
      BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs

5
BBWYB.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs

@ -248,10 +248,6 @@ namespace BBWYB.Server.Business
} }
totalPurchaseAmount += purchaseOrderSimpleInfo.TotalAmount; totalPurchaseAmount += purchaseOrderSimpleInfo.TotalAmount;
var belongSkuGroups = cargoParamGroup.CargoParamList.GroupBy(p => p.BelongSkuId); var belongSkuGroups = cargoParamGroup.CargoParamList.GroupBy(p => p.BelongSkuId);
@ -372,6 +368,7 @@ namespace BBWYB.Server.Business
fsql.Update<Order>(request.OrderId).SetIf(dbOrder.OrderState == Enums.OrderState., o => o.OrderState, Model.Enums.OrderState.) fsql.Update<Order>(request.OrderId).SetIf(dbOrder.OrderState == Enums.OrderState., o => o.OrderState, Model.Enums.OrderState.)
.SetIf(!string.IsNullOrEmpty(request.Remark), o => o.PurchaseRemark, request.Remark) .SetIf(!string.IsNullOrEmpty(request.Remark), o => o.PurchaseRemark, request.Remark)
.Set(o => o.IsPurchased, true) .Set(o => o.IsPurchased, true)
.Set(o => o.PackConfigState, Enums.PackConfigState.)
.ExecuteAffrows(); .ExecuteAffrows();
}); });
} }

Loading…
Cancel
Save