web/web/gwspupdate.aspx.cs
@@ -80,6 +80,7 @@ { GwProduct bean = new GwProduct(); bean.Classes = 1; bean.IsDefault = -1; bean.IsEnable = -1; this.GwProductList = gwProductDao.getAllList(bean); } @@ -229,6 +230,8 @@ //获取产品信息 public string GetProductOptions(string productId) { if (productId==null) return "<option value='0'>无</option>"; StringBuilder stringBuilder = new StringBuilder(); if (this.GwProductList.Count == 0) return "<option value='0'>无</option>";