/// <summary> /// 根据ID更新 /// </summary> public bool UpdateByID(M_StoreStyleTable model) { return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters())); }
/// <summary> /// 添加店铺模板 /// </summary> /// <param name="sst"></param> public void InsertStoreStyle(M_StoreStyleTable model) { Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)); }
/// <summary> /// 修改店铺模板 /// </summary> /// <param name="sst"></param> public void UpdateStoreStyle(M_StoreStyleTable model) { Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()); }