|
|
@ -228,6 +228,7 @@ namespace BWP.Web.Pages.B3YunKen.Reports |
|
|
query.From.AddJoin(JoinType.Left, new DQDmoSource(gatheringTimeData), DQCondition.EQ(main, "ID", gatheringTimeData, "BillID")); |
|
|
query.From.AddJoin(JoinType.Left, new DQDmoSource(gatheringTimeData), DQCondition.EQ(main, "ID", gatheringTimeData, "BillID")); |
|
|
query.From.AddJoin(JoinType.Left, new DQDmoSource(cus), DQCondition.EQ(main, "Customer_ID", cus, "ID")); |
|
|
query.From.AddJoin(JoinType.Left, new DQDmoSource(cus), DQCondition.EQ(main, "Customer_ID", cus, "ID")); |
|
|
query.Where.Conditions.Add(DQCondition.EQ("BillType",DmoTypeIDAttribute.GetID(typeof(SaleOutStore)))); |
|
|
query.Where.Conditions.Add(DQCondition.EQ("BillType",DmoTypeIDAttribute.GetID(typeof(SaleOutStore)))); |
|
|
|
|
|
query.Where.Conditions.Add(DQCondition.EQ(cus,"IsDealers",true)); |
|
|
//query.Columns.Add(DQSelectColumn.Field("Money",main));
|
|
|
//query.Columns.Add(DQSelectColumn.Field("Money",main));
|
|
|
//query.Columns.Add(DQSelectColumn.Field("LoadTime", main));
|
|
|
//query.Columns.Add(DQSelectColumn.Field("LoadTime", main));
|
|
|
//query.GroupBy.Expressions.Add(DQExpression.Field(main,"LoadTime"));
|
|
|
//query.GroupBy.Expressions.Add(DQExpression.Field(main,"LoadTime"));
|
|
|
|