|
@ -136,7 +136,10 @@ namespace BBWYB.Server.Business |
|
|
.WhereIf(request.StartDate != null, (o, ocs, oct) => o.StartTime >= request.StartDate) |
|
|
.WhereIf(request.StartDate != null, (o, ocs, oct) => o.StartTime >= request.StartDate) |
|
|
.WhereIf(request.EndDate != null, (o, ocs, oct) => o.StartTime <= request.EndDate) |
|
|
.WhereIf(request.EndDate != null, (o, ocs, oct) => o.StartTime <= request.EndDate) |
|
|
.WhereIf(!string.IsNullOrEmpty(request.ClientOrderId), (o, ocs, oct) => o.ClientOrderId == request.ClientOrderId) |
|
|
.WhereIf(!string.IsNullOrEmpty(request.ClientOrderId), (o, ocs, oct) => o.ClientOrderId == request.ClientOrderId) |
|
|
.WhereIf(!string.IsNullOrEmpty(request.SourceShopName), (o, ocs, oct) => o.SourceShopName == request.SourceShopName); |
|
|
.WhereIf(!string.IsNullOrEmpty(request.SourceShopName), (o, ocs, oct) => o.SourceShopName == request.SourceShopName) |
|
|
|
|
|
.WhereIf(request.IsOnlyDisplaySpecialOrder == 1, (o, ocs, oct) => o.IsSpecialOrder == 1) |
|
|
|
|
|
.WhereIf(request.IsOnlyDisplaySendQiYue == 1, (o, ocs, oct) => o.IntoStoreType == Enums.IntoStoreType.发回齐越) |
|
|
|
|
|
.WhereIf(request.IsOnlyDisplayPurchaserSendInStore == 1, (o, ocs, oct) => o.IntoStoreType == Enums.IntoStoreType.厂商代发入仓); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
select = select.WhereIf(request.ShopId != null, (o, ocs, oct) => o.ShopId == request.ShopId); |
|
|
select = select.WhereIf(request.ShopId != null, (o, ocs, oct) => o.ShopId == request.ShopId); |
|
@ -180,6 +183,7 @@ namespace BBWYB.Server.Business |
|
|
IsWaitPack = o.IsWaitPack, |
|
|
IsWaitPack = o.IsWaitPack, |
|
|
IntoStoreType = o.IntoStoreType, |
|
|
IntoStoreType = o.IntoStoreType, |
|
|
PayTime = o.PayTime, |
|
|
PayTime = o.PayTime, |
|
|
|
|
|
IsSpecialOrder = o.IsSpecialOrder, |
|
|
|
|
|
|
|
|
ContactName = ocs.ContactName, |
|
|
ContactName = ocs.ContactName, |
|
|
Address = ocs.Address, |
|
|
Address = ocs.Address, |
|
@ -822,5 +826,10 @@ namespace BBWYB.Server.Business |
|
|
{ |
|
|
{ |
|
|
qikuManager.QikuPublishOrderSkuPackConfigState(request); |
|
|
qikuManager.QikuPublishOrderSkuPackConfigState(request); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void SetSpecialOrder(SetSpecialOrderRequest request) |
|
|
|
|
|
{ |
|
|
|
|
|
fsql.Update<Order>(request.OrderId).Set(o => o.IsSpecialOrder, request.IsSpecialOrder).ExecuteAffrows(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|