基线 SVN r240
SVN-Revision: r240
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
using Lskj.Core;
|
||||
using Lskj.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Lskj.Business.Impl
|
||||
{
|
||||
//弹窗相关接口
|
||||
public class PopupWindowImpl
|
||||
{
|
||||
|
||||
public static DataSet GetNewDesignPlatformPubAdd(DynamicAddModel model)
|
||||
{
|
||||
DataSet ds = new DataSet();
|
||||
SqlParameter[] param =
|
||||
{
|
||||
new SqlParameter("@FormText",SqlDbType.VarChar,50),
|
||||
new SqlParameter("@userId",SqlDbType.Int,4),
|
||||
new SqlParameter("@UserName",SqlDbType.VarChar,20),
|
||||
new SqlParameter("@Privilege",SqlDbType.Int,4),
|
||||
new SqlParameter("@ModuleCode",SqlDbType.VarChar,50),
|
||||
new SqlParameter("@ModuleId",SqlDbType.Int,4),
|
||||
new SqlParameter("@IsView",SqlDbType.VarChar,50),
|
||||
new SqlParameter("@ObjectId",SqlDbType.VarChar,50),
|
||||
|
||||
};
|
||||
param[0].Value = model.FormText;
|
||||
param[1].Value = ERPInfo.Instance.UserId;
|
||||
param[2].Value = ERPInfo.Instance.UserName;
|
||||
param[3].Value = model.Privilege;
|
||||
param[4].Value = model.ModuleCode;
|
||||
param[5].Value = model.ModuleId;
|
||||
param[6].Value = model.IsView;
|
||||
param[7].Value = model.ObjectId;
|
||||
|
||||
|
||||
|
||||
ds = SqlHelper.ExecuteDataSet(CommandType.StoredProcedure, "p_Get_NewDesignPlatform_PubAdd", "cacheSYSConfig", param);
|
||||
|
||||
return ds;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user