|
|
@@ -42,7 +42,7 @@ namespace CallCenterApi.Interface.Controllers
|
|
42
|
42
|
}
|
|
43
|
43
|
if (itemid.Trim() != "" && itemid != "undefined")
|
|
44
|
44
|
{
|
|
45
|
|
- sql += " and F_ItemID=" + itemid;
|
|
|
45
|
+ sql += " and F_Item='" + itemid+"' ";
|
|
46
|
46
|
}
|
|
47
|
47
|
if (strbtime.Trim() != "" && strbtime != "undefined")
|
|
48
|
48
|
{
|
|
|
@@ -328,7 +328,7 @@ namespace CallCenterApi.Interface.Controllers
|
|
328
|
328
|
model_T_Sys_Accessories.F_AddTime = DateTime.Now;//上传时间
|
|
329
|
329
|
model_T_Sys_Accessories.F_FileName = fullFileName;//附件名称
|
|
330
|
330
|
model_T_Sys_Accessories.F_FileType = ".wav";//附件类型
|
|
331
|
|
- model_T_Sys_Accessories.F_FileUrl = savedir + fullFileName + ".wav";//附件地址
|
|
|
331
|
+ model_T_Sys_Accessories.F_FileUrl = savedir + fullFileName;//附件地址
|
|
332
|
332
|
//model_T_Sys_Accessories.F_Size = size;
|
|
333
|
333
|
model_T_Sys_Accessories.F_UserCode = User.UserData["F_UserCode"];//上传人
|
|
334
|
334
|
//model_T_Sys_Accessories.F_UserCode = CurrentUser.UserData.F_UserCode;//上传人
|
|
|
@@ -338,7 +338,7 @@ namespace CallCenterApi.Interface.Controllers
|
|
338
|
338
|
{
|
|
339
|
339
|
filename = fullFileName,
|
|
340
|
340
|
loadpath = path,
|
|
341
|
|
- wavpath = savedir + fullFileName + ".wav"
|
|
|
341
|
+ wavpath = savedir + fullFileName
|
|
342
|
342
|
};
|
|
343
|
343
|
return Success("文件上传成功", obj);
|
|
344
|
344
|
}
|
|
|
@@ -352,5 +352,13 @@ namespace CallCenterApi.Interface.Controllers
|
|
352
|
352
|
}
|
|
353
|
353
|
return Error("参数传入失败");
|
|
354
|
354
|
}
|
|
|
355
|
+
|
|
|
356
|
+ //获取项目名称
|
|
|
357
|
+ public ActionResult GetItems()
|
|
|
358
|
+ {
|
|
|
359
|
+ var orcllink = new BLL.T_Sys_SystemConfig().GetParamValueByParamCode("OracleLink");
|
|
|
360
|
+ var items= dBLL.GetItems(orcllink);
|
|
|
361
|
+ return Success("获取项目", items);
|
|
|
362
|
+ }
|
|
355
|
363
|
}
|
|
356
|
364
|
}
|