Example #1
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public string Update(Maticsoft.Model.project_product_item model, int detail, int pssid, int parentID, int parent_sid, int ppSid)
 {
     if (dal.Update(model, detail, pssid, parentID, parent_sid, ppSid))
     {
         return("success");
     }
     else
     {
         return("fail");
     }
 }
Example #2
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int Add(Maticsoft.Model.project_product_item model, int detail, int pssid)
 {
     return(dal.Add(model, detail, pssid));
 }