|
|
@@ -251,7 +251,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
|
|
251
|
251
|
|
|
252
|
252
|
[Authority]
|
|
253
|
253
|
//添加知识库
|
|
254
|
|
- public ActionResult AddInfo(string title, string con, string pid, int issub=0)
|
|
|
254
|
+ public ActionResult AddInfo(string title, string con, string pid,string key, int issub=0)
|
|
255
|
255
|
{
|
|
256
|
256
|
Model.T_RepositoryInformation dModel = new Model.T_RepositoryInformation();
|
|
257
|
257
|
if (string.IsNullOrEmpty(title))
|
|
|
@@ -267,7 +267,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
|
|
267
|
267
|
dModel.F_ISSubmitAudit = issub;
|
|
268
|
268
|
dModel.F_CreateOn = DateTime.Now;
|
|
269
|
269
|
dModel.F_CreateBy = User.F_UserId;
|
|
270
|
|
-
|
|
|
270
|
+ dModel.F_KeyWords = key;
|
|
271
|
271
|
int b = infoBLL.Add(dModel);
|
|
272
|
272
|
if (b > 0)
|
|
273
|
273
|
{
|
|
|
@@ -285,7 +285,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
|
|
285
|
285
|
}
|
|
286
|
286
|
[Authority]
|
|
287
|
287
|
//编辑知识库
|
|
288
|
|
- public ActionResult EditInfo(string infoid, string title, string con, string pid, int? issub)
|
|
|
288
|
+ public ActionResult EditInfo(string infoid, string title, string con, string pid,string key, int? issub)
|
|
289
|
289
|
{
|
|
290
|
290
|
Model.T_RepositoryInformation dModel = infoBLL.GetModel(int.Parse(infoid.Trim()));
|
|
291
|
291
|
if (dModel != null)
|
|
|
@@ -307,7 +307,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
|
|
307
|
307
|
{
|
|
308
|
308
|
dModel.F_ISSubmitAudit = issub;
|
|
309
|
309
|
}
|
|
310
|
|
-
|
|
|
310
|
+ dModel.F_KeyWords = key;
|
|
311
|
311
|
Model.T_RepositoryAudit audModel = new Model.T_RepositoryAudit();
|
|
312
|
312
|
if (dModel.F_AuditID != null)
|
|
313
|
313
|
audModel = new BLL.T_RepositoryAudit().GetModel(dModel.F_AuditID.Value);
|