Пример #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);
        }
Пример #2
0
 public static IEnumerable <TireRecallLog> GetTireRecallLog(long pkid) => DalTireRecall.FetchTireRecallLog(pkid);
Пример #3
0
 public static bool InsertProductRecallLog(TireRecallModel model) => DalTireRecall.InsertTireRecallLog(model);
Пример #4
0
 public static Special_Bridgestone_Pidweekyear FetchSpecial_Bridgestone_Pidweekyear(int orderid) => DalTireRecall.FetchSpecial_Bridgestone_Pidweekyear(orderid);
Пример #5
0
 public static TireRecallModel FetchTireRecall(long pkid) => DalTireRecall.FetchTireRecall(pkid);
Пример #6
0
 public static IEnumerable <TireRecallModel> SelectList(TireRecallModel model) => DalTireRecall.SelectList(model);
Пример #7
0
 public static IEnumerable <TireRecallModel> SelectList(TireRecallModel model, PagerModel pager) => DalTireRecall.SelectList(model, pager);