|
|
|
@ -98,7 +98,7 @@ namespace BWP.B3QingDaoWanFu.Tasks |
|
|
|
query.Columns.Add(DQSelectColumn.Field("Flag", 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.Where.Conditions.Add(DQCondition.And(DQCondition.Or(DQCondition.EQ("Flag", -1), DQCondition.GreaterThan(scan, "Weight", 0)), DQCondition.GreaterThan(scan, "Number", 0))); |
|
|
|
query.Where.Conditions.Add(DQCondition.InEQ(scan, "Flag", 2)); |
|
|
|
query.OrderBy.Expressions.Add(DQOrderByExpression.Create(main, "ID")); |
|
|
|
using (var session = Dmo.NewSession()) |
|
|
|
@ -116,6 +116,7 @@ namespace BWP.B3QingDaoWanFu.Tasks |
|
|
|
var flag = (int)reader[7]; |
|
|
|
switch (flag) |
|
|
|
{ |
|
|
|
case -1://白条
|
|
|
|
case 0://白条
|
|
|
|
{ |
|
|
|
var entity = new CarcassSaleOutStoreObj(); |
|
|
|
|