Example #1
0
        public void ShowGoodsDetail(string goodsID)
        {
            List <Goods_PropertyModel> propertyList = bllProperty.GetModelListByGoodsID(goodsID);

            ViewDataManager.GOODSVIEWDATA.GoodsPropertyList.Clear();
            if (propertyList == null)
            {
                return;
            }
            foreach (Goods_PropertyModel goods in propertyList)
            {
                GoodsPropertyModel gsm = new GoodsPropertyModel();
                gsm.属性名称 = goods.Goods_Property_Name;
                gsm.属性值  = goods.Goods_Property_Data;
                ViewDataManager.GOODSVIEWDATA.GoodsPropertyList.Add(gsm);
            }
        }
Example #2
0
        public ActionResult EditGoodsProperty(GoodsPropertyModel model)
        {
            var result = _goodsPropertyService.UpdateService.UpdateColumn(model);

            return(BoolResult(result));
        }
Example #3
0
        public ActionResult AddGoodsProperty(GoodsPropertyModel model)
        {
            var result = _goodsPropertyService.AddService.AddColumn(model);

            return(BoolResult(result));
        }