This commit is contained in:
@ -158,7 +158,7 @@ namespace Epost.DAL
|
||||
strwhere += " and matchid = '" + matchid + "'";
|
||||
}
|
||||
|
||||
string sql = string.Format("select sum(Quantity) as SumQuantity, Sum(checkquantity) as SumCkQuantity, Discount,unit,wholeunit,matchid ,goodscode,goodsname from v_orders where sku='{0}' and block='{1}' " + strwhere + " group by sku, Discount,goodsname,unit,wholeunit,matchid ,goodscode",
|
||||
string sql = string.Format("select sum(Quantity) as SumQuantity, Sum(checkquantity) as SumCkQuantity, Discount,unit,wholeunit,matchid ,goodscode,goodsname from v_orders where sku='{0}' and oprationstate<>3 and block='{1}' " + strwhere + " group by sku, Discount,goodsname,unit,wholeunit,matchid ,goodscode",
|
||||
sku,
|
||||
block);
|
||||
LogHelper.WriteLogInfo("获取订单信息-中分" + sql);
|
||||
|
Reference in New Issue
Block a user