From 18cb50969f7b0171407dafbc144764286c8ab8c9 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Sat, 26 May 2018 11:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E6=9C=89=E6=95=B0=E9=87=8F=E5=92=8C?= =?UTF-8?q?=E9=87=8D=E9=87=8F=E9=83=BD=E5=A4=A7=E4=BA=8E0=E7=9A=84?= =?UTF-8?q?=E6=89=8D=E6=98=AF=E6=9C=89=E6=95=88=E7=9A=84=E6=89=AB=E7=A0=81?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- B3QingDaoWanFu/Tasks/SyncSaleOutStoreInfoToMES.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/B3QingDaoWanFu/Tasks/SyncSaleOutStoreInfoToMES.cs b/B3QingDaoWanFu/Tasks/SyncSaleOutStoreInfoToMES.cs index 082d06a..d8995e6 100644 --- a/B3QingDaoWanFu/Tasks/SyncSaleOutStoreInfoToMES.cs +++ b/B3QingDaoWanFu/Tasks/SyncSaleOutStoreInfoToMES.cs @@ -60,6 +60,7 @@ namespace BWP.B3QingDaoWanFu.Tasks query.Columns.Add(DQSelectColumn.Field("Number", scan)); query.Where.Conditions.Add(DQCondition.And(DQCondition.GreaterThanOrEqual("BillState", 单据状态.已审核), DQCondition.IsNull(DQExpression.Field(relate, "SaleOutStore_ID")), DQCondition.IsNotNull(DQExpression.Field(scan, "ID")))); + query.Where.Conditions.Add(DQCondition.And(DQCondition.GreaterThan(scan, "Weight", 0), DQCondition.GreaterThan(scan, "Number", 0))); query.OrderBy.Expressions.Add(DQOrderByExpression.Create(main, "ID")); using (var session = Dmo.NewSession()) {