예제 #1
0
 private void FillColorProperty(V_ITT_SHIPPING_ALLIN1 item)
 {
     if (item.S10_DISPLAY != null)
     {
         item.COLOR_10 = ValueConvert.GetColorFullName(item.COLOR_10);
     }
     if (item.S30_DISPLAY != null)
     {
         item.COLOR_30 = ValueConvert.GetColorFullName(item.COLOR_30);
     }
     if (item.S50_DISPLAY != null)
     {
         item.COLOR_50 = ValueConvert.GetColorFullName(item.COLOR_50);
     }
     if (item.AVL_DATE != null)
     {
         item.COLOR_60 = ValueConvert.GetColorFullName(item.COLOR_60);
     }
 }
예제 #2
0
        public ActionResult GetWatchingOutList(decimal token)
        {
            try
            {
                ITT_EASY_WATCHING_BLL    wBLL   = new ITT_EASY_WATCHING_BLL();
                List <ITT_EASY_WATCHING> result = wBLL.GetWatchingList(token);
                foreach (var item in result)
                {
                    item.COLOR = ValueConvert.GetColorFullName(item.COLOR);
                }

                return(Json(new RequestResult(result)));
            }
            catch (Exception ex)
            {
                LogHelper.WriteLog("getWatchingOutList", ex);
                return(Json(new RequestResult(false, ex.Message)));
            }
        }