Exemple #1
0
        public static bool UpdateStatus(long pkid, int status, string reason)
        {
            var detail = DalTireRecall.FetchTireRecall(pkid);

            if (detail != null && detail.Status == 0)
            {
                return(DalTireRecall.UpdateTireReallStatus(pkid, status, reason) > 0);
            }
            return(false);
        }
Exemple #2
0
 public static IEnumerable <TireRecallLog> GetTireRecallLog(long pkid) => DalTireRecall.FetchTireRecallLog(pkid);
Exemple #3
0
 public static bool InsertProductRecallLog(TireRecallModel model) => DalTireRecall.InsertTireRecallLog(model);
Exemple #4
0
 public static Special_Bridgestone_Pidweekyear FetchSpecial_Bridgestone_Pidweekyear(int orderid) => DalTireRecall.FetchSpecial_Bridgestone_Pidweekyear(orderid);
Exemple #5
0
 public static TireRecallModel FetchTireRecall(long pkid) => DalTireRecall.FetchTireRecall(pkid);
Exemple #6
0
 public static IEnumerable <TireRecallModel> SelectList(TireRecallModel model) => DalTireRecall.SelectList(model);
Exemple #7
0
 public static IEnumerable <TireRecallModel> SelectList(TireRecallModel model, PagerModel pager) => DalTireRecall.SelectList(model, pager);