|
|
@@ -158,7 +158,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
|
|
158
|
158
|
|
|
159
|
159
|
//[Authority]
|
|
160
|
160
|
//添加知识库
|
|
161
|
|
- public ActionResult AddInfo(string title, string key, string con, string pid,int visibleDeptId)
|
|
|
161
|
+ public ActionResult AddInfo(string title, string key, string con, string pid,int visibleDeptId,int isorPerson)
|
|
162
|
162
|
{
|
|
163
|
163
|
|
|
164
|
164
|
if (!Request.IsAuthenticated)
|
|
|
@@ -187,6 +187,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
|
|
187
|
187
|
dModel.F_CreateBy = CurrentUser.UserData.F_UserId;
|
|
188
|
188
|
dModel.F_DeleteFlag = 0;
|
|
189
|
189
|
dModel.F_visibleDeptId = visibleDeptId;
|
|
|
190
|
+ dModel.F_isorPerson = isorPerson;
|
|
190
|
191
|
int b = new BLL.T_RepositoryInformation().Add(dModel, CurrentUser.UserData.F_UserId);
|
|
191
|
192
|
if (b > 0)
|
|
192
|
193
|
{
|
|
|
@@ -200,7 +201,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
|
|
200
|
201
|
}
|
|
201
|
202
|
//[Authority]
|
|
202
|
203
|
//编辑知识库
|
|
203
|
|
- public ActionResult EditInfo(string infoid, string title, string key, string con, string pid,int visibleDeptId)
|
|
|
204
|
+ public ActionResult EditInfo(string infoid, string title, string key, string con, string pid,int visibleDeptId ,int isorPerson)
|
|
204
|
205
|
{
|
|
205
|
206
|
|
|
206
|
207
|
if (!Request.IsAuthenticated)
|
|
|
@@ -232,7 +233,9 @@ namespace CallCenterApi.Interface.Controllers.knowledge
|
|
232
|
233
|
dModel.F_ModifyBy = CurrentUser.UserData.F_UserId;
|
|
233
|
234
|
dModel.F_ModifyOn = DateTime.Now;
|
|
234
|
235
|
dModel.F_visibleDeptId = visibleDeptId;
|
|
235
|
|
-
|
|
|
236
|
+ dModel.F_isorPerson =isorPerson;
|
|
|
237
|
+
|
|
|
238
|
+
|
|
236
|
239
|
bool b = dBLL.Update(dModel, CurrentUser.UserData.F_UserId);
|
|
237
|
240
|
if (b)
|
|
238
|
241
|
{
|