コード例 #1
0
 public static bool ConcelConfirm(string ID)
 {
     try
     {
         //不符合可以取消确认的条件
         if (!SubSellOrderDBHelper.CanConcelConfirm(ID))
         {
             return(false);
         }
         SqlCommand comm = SubSellOrderDBHelper.ConcelConfirm(ID);
         if (SqlHelper.ExecuteTransWithCommand(comm))
         {
             return(true); //取消确认成功
         }
         return(false);    //取消确认失败
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }