예제 #1
0
파일: Orders.cs 프로젝트: Abnertd/public
    //评价订单中的商品
    public void AuditingOrdersProduct(int Orders_ID, int Product_ID)
    {
        IList <OrdersGoodsInfo> OrderGoods = MyOrders.GetGoodsListByOrderID(Orders_ID);

        if (OrderGoods != null)
        {
            foreach (OrdersGoodsInfo entity in OrderGoods)
            {
                if (entity.Orders_Goods_Type == 0)
                {
                    if (entity.Orders_Goods_Product_ID == Product_ID)
                    {
                        //entity.U_Orders_Goods_ISAuditing = 1;
                        MyOrders.EditOrdersGoods(entity);
                        break;
                    }
                }
            }
        }
    }