Пример #1
0
 public static void CheckOrderExsit(string _orderNo, string _productNo, int _orderCount)
 {
     if (!OrderInfoBLL.OrderAlreadyExsit(_orderNo))
     {
         OrderInfoBLL.OrderInfoInsert(_orderNo, _productNo, _orderCount);
     }
     else
     {
         OrderInfoBLL.OrderInfoUpdate(_orderNo, _productNo, _orderCount);
     }
 }