machenyang лет назад: 7
Родитель
Сommit
628e40bda8

BIN
codegit/.vs/AutobioCallCenter/v14/.suo


+ 4 - 3
codegit/CallCenterApi/CallCenterApi.DAL/T_Call_CallRecords.cs

@@ -992,12 +992,13 @@ namespace CallCenterApi.DAL
992 992
         public DataSet GetListExpt(string strWhere)
993 993
         {
994 994
             StringBuilder strSql = new StringBuilder();
995
-            strSql.Append(" select callnumber,");
995
+            strSql.Append(" select callnumber,filepath,");
996 996
             strSql.Append(" case calltype when 1 then '呼出' else '呼入' end calltypes, ");
997
+            strSql.Append(" (select d.f_deptName from T_Sys_UserAccount u,[dbo].[T_Sys_Department] d ");
998
+            strSql.Append(" where u.F_DeptId=d.F_DeptId and u.F_UserCode= c.UserCode) udept, ");
997 999
             strSql.Append(" case callstate when 1 then '已接通' else '未接通' end callstates, ");
998
-            strSql.Append(" case isdeal when 0 then '未处理' when 1 then '已处理' else '注销' end isdeals, ");
999 1000
             strSql.Append(" usercode, (select F_UserName from T_Sys_UserAccount where F_UserCode= c.UserCode) username, ");
1000
-            strSql.Append(" begintime, talkstarttime, talkendtime, endtime, talklongtime");
1001
+            strSql.Append(" begintime, talkstarttime, talkendtime, talklongtime");
1001 1002
             strSql.Append(" FROM T_Call_CallRecords c");
1002 1003
             if (strWhere.Trim() != "")
1003 1004
             {