Bladeren bron

网站后台相关

liyuanyuan 3 jaren geleden
bovenliggende
commit
07c5911bb8

+ 2 - 0
CallCenterApi/CallCenterApi.BLL/CallCenterApi.BLL.csproj

40
     <Reference Include="System.Xml" />
40
     <Reference Include="System.Xml" />
41
   </ItemGroup>
41
   </ItemGroup>
42
   <ItemGroup>
42
   <ItemGroup>
43
+    <Compile Include="OldPagerBLL.cs" />
43
     <Compile Include="PagerBLL.cs" />
44
     <Compile Include="PagerBLL.cs" />
44
     <Compile Include="Properties\AssemblyInfo.cs" />
45
     <Compile Include="Properties\AssemblyInfo.cs" />
45
     <Compile Include="Rep_Dept_Assessment.cs" />
46
     <Compile Include="Rep_Dept_Assessment.cs" />
142
     <Compile Include="T_Sys_GroupClass.cs" />
143
     <Compile Include="T_Sys_GroupClass.cs" />
143
     <Compile Include="T_Sys_History.cs" />
144
     <Compile Include="T_Sys_History.cs" />
144
     <Compile Include="T_Sys_IVRWords.cs" />
145
     <Compile Include="T_Sys_IVRWords.cs" />
146
+    <Compile Include="T_Sys_kinfoQuestions.cs" />
145
     <Compile Include="T_Sys_LoginLogs.cs" />
147
     <Compile Include="T_Sys_LoginLogs.cs" />
146
     <Compile Include="T_Sys_MobileData.cs" />
148
     <Compile Include="T_Sys_MobileData.cs" />
147
     <Compile Include="T_Sys_RoleFunction.cs" />
149
     <Compile Include="T_Sys_RoleFunction.cs" />

+ 25 - 0
CallCenterApi/CallCenterApi.BLL/OldPagerBLL.cs

1
+using System;
2
+using System.Collections.Generic;
3
+using System.Data;
4
+using System.Linq;
5
+using System.Text;
6
+using System.Threading.Tasks;
7
+
8
+namespace CallCenterApi.BLL
9
+{
10
+    public class OldPagerBLL
11
+    {
12
+        /// <summary>
13
+        /// 分页获取数据
14
+        /// </summary>
15
+        /// <param name="PageSize"></param>
16
+        /// <param name="PageIndex"></param>
17
+        /// <param name="strWhere"></param>
18
+        /// <returns></returns>
19
+        public static DataTable GetListPager(string TableName, string PK, string Fields, string WhereStr, string OrderStr, int PageSize, int PageIndex, bool IsCount, out int RecordCount)
20
+        {
21
+            DataTable dt = DAL.OldPagerDAL.GetListPager(TableName, PK, Fields, WhereStr, OrderStr, PageSize, PageIndex, IsCount, out RecordCount);
22
+            return dt;
23
+        }
24
+    }
25
+}

+ 2 - 0
CallCenterApi/CallCenterApi.DAL/CallCenterApi.DAL.csproj

41
   </ItemGroup>
41
   </ItemGroup>
42
   <ItemGroup>
42
   <ItemGroup>
43
     <Compile Include="CallRecords.cs" />
43
     <Compile Include="CallRecords.cs" />
44
+    <Compile Include="OldPagerDAL.cs" />
44
     <Compile Include="PagerDAL.cs" />
45
     <Compile Include="PagerDAL.cs" />
45
     <Compile Include="Properties\AssemblyInfo.cs" />
46
     <Compile Include="Properties\AssemblyInfo.cs" />
46
     <Compile Include="Rep_Dept_Assessment.cs" />
47
     <Compile Include="Rep_Dept_Assessment.cs" />
142
     <Compile Include="T_Sys_GroupClass.cs" />
143
     <Compile Include="T_Sys_GroupClass.cs" />
143
     <Compile Include="T_Sys_History.cs" />
144
     <Compile Include="T_Sys_History.cs" />
144
     <Compile Include="T_Sys_IVRWords.cs" />
145
     <Compile Include="T_Sys_IVRWords.cs" />
146
+    <Compile Include="T_Sys_kinfoQuestions.cs" />
145
     <Compile Include="T_Sys_LoginLogs.cs" />
147
     <Compile Include="T_Sys_LoginLogs.cs" />
146
     <Compile Include="T_Sys_MobileData.cs" />
148
     <Compile Include="T_Sys_MobileData.cs" />
147
     <Compile Include="T_Sys_RoleFunction.cs" />
149
     <Compile Include="T_Sys_RoleFunction.cs" />

+ 26 - 0
CallCenterApi/CallCenterApi.DAL/OldPagerDAL.cs

1
+using CallCenterApi.DB;
2
+using System;
3
+using System.Collections.Generic;
4
+using System.Data;
5
+using System.Linq;
6
+using System.Text;
7
+using System.Threading.Tasks;
8
+
9
+namespace CallCenterApi.DAL
10
+{
11
+    public class OldPagerDAL
12
+    {
13
+        /// <summary>
14
+        /// 分页获取数据
15
+        /// </summary>
16
+        /// <param name="PageSize"></param>
17
+        /// <param name="PageIndex"></param>
18
+        /// <param name="strWhere"></param>
19
+        /// <returns></returns>
20
+        public static DataTable GetListPager(string TableName, string PK, string Fields, string WhereStr, string OrderStr, int PageSize, int PageIndex, bool IsCount, out int RecordCount)
21
+        {
22
+            DataTable dt = DbHelperSQLOld.RunPagination(TableName, PK, Fields, WhereStr, OrderStr, PageSize, PageIndex, IsCount, out RecordCount);
23
+            return dt;
24
+        }
25
+    }
26
+}

+ 11 - 11
CallCenterApi/CallCenterApi.DAL/T_Web_Link.cs

26
             };
26
             };
27
             parameters[0].Value = Id;
27
             parameters[0].Value = Id;
28
 
28
 
29
-            return DbHelperSQL.Exists(strSql.ToString(), parameters);
29
+            return DbHelperSQLOld.Exists(strSql.ToString(), parameters);
30
         }
30
         }
31
 
31
 
32
 
32
 
47
             parameters[0].Value = model.LinkName;
47
             parameters[0].Value = model.LinkName;
48
             parameters[1].Value = model.LinkUrl;
48
             parameters[1].Value = model.LinkUrl;
49
 
49
 
50
-            object obj = DbHelperSQL.GetSingle(strSql.ToString(), parameters);
50
+            object obj = DbHelperSQLOld.GetSingle(strSql.ToString(), parameters);
51
             if (obj == null)
51
             if (obj == null)
52
             {
52
             {
53
                 return 0;
53
                 return 0;
75
             parameters[1].Value = model.LinkUrl;
75
             parameters[1].Value = model.LinkUrl;
76
             parameters[2].Value = model.Id;
76
             parameters[2].Value = model.Id;
77
 
77
 
78
-            int rows = DbHelperSQL.ExecuteSql(strSql.ToString(), parameters);
78
+            int rows = DbHelperSQLOld.ExecuteSql(strSql.ToString(), parameters);
79
             if (rows > 0)
79
             if (rows > 0)
80
             {
80
             {
81
                 return true;
81
                 return true;
100
             };
100
             };
101
             parameters[0].Value = Id;
101
             parameters[0].Value = Id;
102
 
102
 
103
-            int rows = DbHelperSQL.ExecuteSql(strSql.ToString(), parameters);
103
+            int rows = DbHelperSQLOld.ExecuteSql(strSql.ToString(), parameters);
104
             if (rows > 0)
104
             if (rows > 0)
105
             {
105
             {
106
                 return true;
106
                 return true;
118
             StringBuilder strSql = new StringBuilder();
118
             StringBuilder strSql = new StringBuilder();
119
             strSql.Append("delete from T_Web_Link ");
119
             strSql.Append("delete from T_Web_Link ");
120
             strSql.Append(" where Id in (" + Idlist + ")  ");
120
             strSql.Append(" where Id in (" + Idlist + ")  ");
121
-            int rows = DbHelperSQL.ExecuteSql(strSql.ToString());
121
+            int rows = DbHelperSQLOld.ExecuteSql(strSql.ToString());
122
             if (rows > 0)
122
             if (rows > 0)
123
             {
123
             {
124
                 return true;
124
                 return true;
145
             parameters[0].Value = Id;
145
             parameters[0].Value = Id;
146
 
146
 
147
             CallCenterApi.Model.T_Web_Link model = new CallCenterApi.Model.T_Web_Link();
147
             CallCenterApi.Model.T_Web_Link model = new CallCenterApi.Model.T_Web_Link();
148
-            DataSet ds = DbHelperSQL.Query(strSql.ToString(), parameters);
148
+            DataSet ds = DbHelperSQLOld.Query(strSql.ToString(), parameters);
149
             if (ds.Tables[0].Rows.Count > 0)
149
             if (ds.Tables[0].Rows.Count > 0)
150
             {
150
             {
151
                 return DataRowToModel(ds.Tables[0].Rows[0]);
151
                 return DataRowToModel(ds.Tables[0].Rows[0]);
193
             {
193
             {
194
                 strSql.Append(" where " + strWhere);
194
                 strSql.Append(" where " + strWhere);
195
             }
195
             }
196
-            return DbHelperSQL.Query(strSql.ToString());
196
+            return DbHelperSQLOld.Query(strSql.ToString());
197
         }
197
         }
198
 
198
 
199
         /// <summary>
199
         /// <summary>
214
                 strSql.Append(" where " + strWhere);
214
                 strSql.Append(" where " + strWhere);
215
             }
215
             }
216
             strSql.Append(" order by " + filedOrder);
216
             strSql.Append(" order by " + filedOrder);
217
-            return DbHelperSQL.Query(strSql.ToString());
217
+            return DbHelperSQLOld.Query(strSql.ToString());
218
         }
218
         }
219
 
219
 
220
         /// <summary>
220
         /// <summary>
228
             {
228
             {
229
                 strSql.Append(" where " + strWhere);
229
                 strSql.Append(" where " + strWhere);
230
             }
230
             }
231
-            object obj = DbHelperSQL.GetSingle(strSql.ToString());
231
+            object obj = DbHelperSQLOld.GetSingle(strSql.ToString());
232
             if (obj == null)
232
             if (obj == null)
233
             {
233
             {
234
                 return 0;
234
                 return 0;
261
             }
261
             }
262
             strSql.Append(" ) TT");
262
             strSql.Append(" ) TT");
263
             strSql.AppendFormat(" WHERE TT.Row between {0} and {1}", startIndex, endIndex);
263
             strSql.AppendFormat(" WHERE TT.Row between {0} and {1}", startIndex, endIndex);
264
-            return DbHelperSQL.Query(strSql.ToString());
264
+            return DbHelperSQLOld.Query(strSql.ToString());
265
         }
265
         }
266
 
266
 
267
         /*
267
         /*
286
 			parameters[4].Value = 0;
286
 			parameters[4].Value = 0;
287
 			parameters[5].Value = 0;
287
 			parameters[5].Value = 0;
288
 			parameters[6].Value = strWhere;	
288
 			parameters[6].Value = strWhere;	
289
-			return DbHelperSQL.RunProcedure("UP_GetRecordByPage",parameters,"ds");
289
+			return DbHelperSQLOld.RunProcedure("UP_GetRecordByPage",parameters,"ds");
290
 		}*/
290
 		}*/
291
 
291
 
292
         #endregion  BasicMethod
292
         #endregion  BasicMethod

+ 28 - 27
CallCenterApi/CallCenterApi.DAL/T_Web_News.cs

27
             };
27
             };
28
             parameters[0].Value = id;
28
             parameters[0].Value = id;
29
 
29
 
30
-            return DbHelperSQL.Exists(strSql.ToString(), parameters);
30
+            return DbHelperSQLOld.Exists(strSql.ToString(), parameters);
31
         }
31
         }
32
 
32
 
33
 
33
 
38
         {
38
         {
39
             StringBuilder strSql = new StringBuilder();
39
             StringBuilder strSql = new StringBuilder();
40
             strSql.Append("insert into T_Web_News(");
40
             strSql.Append("insert into T_Web_News(");
41
-            strSql.Append("ClassId,bt,nr,sj,img,ordernum,urlname,zxbh,iszd,source)");
41
+            strSql.Append("ClassId,bt,nr,sj,img,ordernum,urlname,zxbh,iszd)");
42
             strSql.Append(" values (");
42
             strSql.Append(" values (");
43
-            strSql.Append("@ClassId,@bt,@nr,@sj,@img,@ordernum,@urlname,@zxbh,@iszd,@source)");
43
+            strSql.Append("@ClassId,@bt,@nr,@sj,@img,@ordernum,@urlname,@zxbh,@iszd)");
44
             strSql.Append(";select @@IDENTITY");
44
             strSql.Append(";select @@IDENTITY");
45
             SqlParameter[] parameters = {
45
             SqlParameter[] parameters = {
46
                     new SqlParameter("@ClassId", SqlDbType.Int,4),
46
                     new SqlParameter("@ClassId", SqlDbType.Int,4),
51
                     new SqlParameter("@ordernum", SqlDbType.Int,4),
51
                     new SqlParameter("@ordernum", SqlDbType.Int,4),
52
                     new SqlParameter("@urlname", SqlDbType.VarChar,100),
52
                     new SqlParameter("@urlname", SqlDbType.VarChar,100),
53
                     new SqlParameter("@zxbh", SqlDbType.Int,4),
53
                     new SqlParameter("@zxbh", SqlDbType.Int,4),
54
-                    new SqlParameter("@iszd", SqlDbType.Int,4),
55
-                    new SqlParameter("@source", SqlDbType.NVarChar,500)
54
+                     new SqlParameter("@iszd", SqlDbType.Int,4)
55
+                     //,
56
+                    //new SqlParameter("@source", SqlDbType.NVarChar,500)
56
             };
57
             };
57
             parameters[0].Value = model.ClassId;
58
             parameters[0].Value = model.ClassId;
58
             parameters[1].Value = model.bt;
59
             parameters[1].Value = model.bt;
63
             parameters[6].Value = model.urlname;
64
             parameters[6].Value = model.urlname;
64
             parameters[7].Value = model.zxbh;
65
             parameters[7].Value = model.zxbh;
65
             parameters[8].Value = model.iszd;
66
             parameters[8].Value = model.iszd;
66
-            parameters[9].Value = model.source; 
67
+            //parameters[9].Value = model.source; 
67
 
68
 
68
-            object obj = DbHelperSQL.GetSingle(strSql.ToString(), parameters);
69
+            object obj = DbHelperSQLOld.GetSingle(strSql.ToString(), parameters);
69
             if (obj == null)
70
             if (obj == null)
70
             {
71
             {
71
                 return 0;
72
                 return 0;
90
             strSql.Append("ordernum=@ordernum,");
91
             strSql.Append("ordernum=@ordernum,");
91
             strSql.Append("urlname=@urlname,");
92
             strSql.Append("urlname=@urlname,");
92
             strSql.Append("zxbh=@zxbh,");
93
             strSql.Append("zxbh=@zxbh,");
93
-            strSql.Append("iszd=@iszd,");
94
-            strSql.Append("source=@source "); 
94
+            strSql.Append("iszd=@iszd ");
95
+            //strSql.Append("source=@source "); 
95
             strSql.Append(" where id=@id");
96
             strSql.Append(" where id=@id");
96
             SqlParameter[] parameters = {
97
             SqlParameter[] parameters = {
97
                     new SqlParameter("@ClassId", SqlDbType.Int,4),
98
                     new SqlParameter("@ClassId", SqlDbType.Int,4),
103
                     new SqlParameter("@urlname", SqlDbType.VarChar,100),
104
                     new SqlParameter("@urlname", SqlDbType.VarChar,100),
104
                     new SqlParameter("@zxbh", SqlDbType.Int,4),
105
                     new SqlParameter("@zxbh", SqlDbType.Int,4),
105
                     new SqlParameter("@iszd", SqlDbType.Int,4),
106
                     new SqlParameter("@iszd", SqlDbType.Int,4),
106
-                    new SqlParameter("@source", SqlDbType.NVarChar,500),
107
+                    //new SqlParameter("@source", SqlDbType.NVarChar,500),
107
                     new SqlParameter("@id", SqlDbType.Int,4)};
108
                     new SqlParameter("@id", SqlDbType.Int,4)};
108
             parameters[0].Value = model.ClassId;
109
             parameters[0].Value = model.ClassId;
109
             parameters[1].Value = model.bt;
110
             parameters[1].Value = model.bt;
114
             parameters[6].Value = model.urlname;
115
             parameters[6].Value = model.urlname;
115
             parameters[7].Value = model.zxbh;
116
             parameters[7].Value = model.zxbh;
116
             parameters[8].Value = model.iszd;
117
             parameters[8].Value = model.iszd;
117
-            parameters[9].Value = model.source;
118
-            parameters[10].Value = model.id;
118
+            //parameters[9].Value = model.source;
119
+            parameters[9].Value = model.id;
119
 
120
 
120
-            int rows = DbHelperSQL.ExecuteSql(strSql.ToString(), parameters);
121
+            int rows = DbHelperSQLOld.ExecuteSql(strSql.ToString(), parameters);
121
             if (rows > 0)
122
             if (rows > 0)
122
             {
123
             {
123
                 return true;
124
                 return true;
142
             };
143
             };
143
             parameters[0].Value = id;
144
             parameters[0].Value = id;
144
 
145
 
145
-            int rows = DbHelperSQL.ExecuteSql(strSql.ToString(), parameters);
146
+            int rows = DbHelperSQLOld.ExecuteSql(strSql.ToString(), parameters);
146
             if (rows > 0)
147
             if (rows > 0)
147
             {
148
             {
148
                 return true;
149
                 return true;
160
             StringBuilder strSql = new StringBuilder();
161
             StringBuilder strSql = new StringBuilder();
161
             strSql.Append("delete from T_Web_News ");
162
             strSql.Append("delete from T_Web_News ");
162
             strSql.Append(" where id in (" + idlist + ")  ");
163
             strSql.Append(" where id in (" + idlist + ")  ");
163
-            int rows = DbHelperSQL.ExecuteSql(strSql.ToString());
164
+            int rows = DbHelperSQLOld.ExecuteSql(strSql.ToString());
164
             if (rows > 0)
165
             if (rows > 0)
165
             {
166
             {
166
                 return true;
167
                 return true;
179
         {
180
         {
180
 
181
 
181
             StringBuilder strSql = new StringBuilder();
182
             StringBuilder strSql = new StringBuilder();
182
-            strSql.Append("select  top 1 id,ClassId,bt,nr,sj,img,ordernum,urlname,zxbh,iszd,source from T_Web_News ");
183
+            strSql.Append("select  top 1 id,ClassId,bt,nr,sj,img,ordernum,urlname,zxbh,iszd from T_Web_News ");
183
             strSql.Append(" where id=@id");
184
             strSql.Append(" where id=@id");
184
             SqlParameter[] parameters = {
185
             SqlParameter[] parameters = {
185
                     new SqlParameter("@id", SqlDbType.Int,4)
186
                     new SqlParameter("@id", SqlDbType.Int,4)
187
             parameters[0].Value = id;
188
             parameters[0].Value = id;
188
 
189
 
189
             CallCenterApi.Model.T_Web_News model = new CallCenterApi.Model.T_Web_News();
190
             CallCenterApi.Model.T_Web_News model = new CallCenterApi.Model.T_Web_News();
190
-            DataSet ds = DbHelperSQL.Query(strSql.ToString(), parameters);
191
+            DataSet ds = DbHelperSQLOld.Query(strSql.ToString(), parameters);
191
             if (ds.Tables[0].Rows.Count > 0)
192
             if (ds.Tables[0].Rows.Count > 0)
192
             {
193
             {
193
                 return DataRowToModel(ds.Tables[0].Rows[0]);
194
                 return DataRowToModel(ds.Tables[0].Rows[0]);
247
                 {
248
                 {
248
                     model.iszd = int.Parse(row["iszd"].ToString());
249
                     model.iszd = int.Parse(row["iszd"].ToString());
249
                 }
250
                 }
250
-                if (row["source"] != null)
251
-                {
252
-                    model.source = row["source"].ToString();
253
-                }
251
+                //if (row["source"] != null)
252
+                //{
253
+                //    model.source = row["source"].ToString();
254
+                //}
254
                 
255
                 
255
             }
256
             }
256
             return model;
257
             return model;
268
             {
269
             {
269
                 strSql.Append(" where " + strWhere);
270
                 strSql.Append(" where " + strWhere);
270
             }
271
             }
271
-            return DbHelperSQL.Query(strSql.ToString());
272
+            return DbHelperSQLOld.Query(strSql.ToString());
272
         }
273
         }
273
 
274
 
274
         /// <summary>
275
         /// <summary>
282
             {
283
             {
283
                 strSql.Append(" top " + Top.ToString());
284
                 strSql.Append(" top " + Top.ToString());
284
             }
285
             }
285
-            strSql.Append(" id,ClassId,bt,nr,sj,img,ordernum,urlname,zxbh,iszd,source ");
286
+            strSql.Append(" id,ClassId,bt,nr,sj,img,ordernum,urlname,zxbh,iszd ");
286
             strSql.Append(" FROM T_Web_News ");
287
             strSql.Append(" FROM T_Web_News ");
287
             if (strWhere.Trim() != "")
288
             if (strWhere.Trim() != "")
288
             {
289
             {
289
                 strSql.Append(" where " + strWhere);
290
                 strSql.Append(" where " + strWhere);
290
             }
291
             }
291
             strSql.Append(" order by " + filedOrder);
292
             strSql.Append(" order by " + filedOrder);
292
-            return DbHelperSQL.Query(strSql.ToString());
293
+            return DbHelperSQLOld.Query(strSql.ToString());
293
         }
294
         }
294
 
295
 
295
         /// <summary>
296
         /// <summary>
303
             {
304
             {
304
                 strSql.Append(" where " + strWhere);
305
                 strSql.Append(" where " + strWhere);
305
             }
306
             }
306
-            object obj = DbHelperSQL.GetSingle(strSql.ToString());
307
+            object obj = DbHelperSQLOld.GetSingle(strSql.ToString());
307
             if (obj == null)
308
             if (obj == null)
308
             {
309
             {
309
                 return 0;
310
                 return 0;
336
             }
337
             }
337
             strSql.Append(" ) TT");
338
             strSql.Append(" ) TT");
338
             strSql.AppendFormat(" WHERE TT.Row between {0} and {1}", startIndex, endIndex);
339
             strSql.AppendFormat(" WHERE TT.Row between {0} and {1}", startIndex, endIndex);
339
-            return DbHelperSQL.Query(strSql.ToString());
340
+            return DbHelperSQLOld.Query(strSql.ToString());
340
         }
341
         }
341
 
342
 
342
         /*
343
         /*
361
 			parameters[4].Value = 0;
362
 			parameters[4].Value = 0;
362
 			parameters[5].Value = 0;
363
 			parameters[5].Value = 0;
363
 			parameters[6].Value = strWhere;	
364
 			parameters[6].Value = strWhere;	
364
-			return DbHelperSQL.RunProcedure("UP_GetRecordByPage",parameters,"ds");
365
+			return DbHelperSQLOld.RunProcedure("UP_GetRecordByPage",parameters,"ds");
365
 		}*/
366
 		}*/
366
 
367
 
367
         #endregion  BasicMethod
368
         #endregion  BasicMethod

+ 1 - 0
CallCenterApi/CallCenterApi.DB/CallCenterApi.DB.csproj

43
   <ItemGroup>
43
   <ItemGroup>
44
     <Compile Include="CommandInfo.cs" />
44
     <Compile Include="CommandInfo.cs" />
45
     <Compile Include="DbHelperSQL.cs" />
45
     <Compile Include="DbHelperSQL.cs" />
46
+    <Compile Include="DbHelperSQLold.cs" />
46
     <Compile Include="Properties\AssemblyInfo.cs" />
47
     <Compile Include="Properties\AssemblyInfo.cs" />
47
   </ItemGroup>
48
   </ItemGroup>
48
   <ItemGroup>
49
   <ItemGroup>

File diff suppressed because it is too large
+ 1453 - 0
CallCenterApi/CallCenterApi.DB/DbHelperSQLold.cs


+ 5 - 2
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/WebController.cs

52
             }
52
             }
53
 
53
 
54
             var recordCount = 0;
54
             var recordCount = 0;
55
-            var dt = BLL.PagerBLL.GetListPager(
55
+            var dt = BLL.OldPagerBLL.GetListPager(
56
               "T_Web_Link",
56
               "T_Web_Link",
57
               "Id",
57
               "Id",
58
               "*",
58
               "*",
263
             }
263
             }
264
 
264
 
265
             var recordCount = 0;
265
             var recordCount = 0;
266
-            var dt = BLL.PagerBLL.GetListPager(
266
+            var dt = BLL.OldPagerBLL.GetListPager(
267
               "T_Web_News",
267
               "T_Web_News",
268
               "id",
268
               "id",
269
               "*",
269
               "*",
372
             string img = RequestString.GetFormString("img");
372
             string img = RequestString.GetFormString("img");
373
             string smallimg = RequestString.GetFormString("smallimg");
373
             string smallimg = RequestString.GetFormString("smallimg");
374
             string source = RequestString.GetFormString("source");
374
             string source = RequestString.GetFormString("source");
375
+            string sj = RequestString.GetFormString("sj");
376
+
375
             Model.T_Web_News orderModel = new Model.T_Web_News();
377
             Model.T_Web_News orderModel = new Model.T_Web_News();
376
             if (id == 0)
378
             if (id == 0)
377
             {
379
             {
411
                     orderModel.ordernum = sort;
413
                     orderModel.ordernum = sort;
412
                     orderModel.iszd = iszd;
414
                     orderModel.iszd = iszd;
413
                     orderModel.source = source;
415
                     orderModel.source = source;
416
+                    orderModel.sj = DateTime.Parse(sj);
414
                     if (newsBLL.Update(orderModel))
417
                     if (newsBLL.Update(orderModel))
415
                     {
418
                     {
416
                         if (iszd > 0)
419
                         if (iszd > 0)

+ 4 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Web.config

28
     <!--<add name="ConnectionString" connectionString="Data Source=192.168.8.3;User ID=sa;pwd=800100;Initial Catalog=anyang;"/>-->
28
     <!--<add name="ConnectionString" connectionString="Data Source=192.168.8.3;User ID=sa;pwd=800100;Initial Catalog=anyang;"/>-->
29
 
29
 
30
     <add name="ConnectionString" connectionString="Data Source=192.168.1.36;User ID=sa;pwd=hykj800100;Initial Catalog=HB12345;" />
30
     <add name="ConnectionString" connectionString="Data Source=192.168.1.36;User ID=sa;pwd=hykj800100;Initial Catalog=HB12345;" />
31
-    
31
+
32
+    <add name="ConnectionStringOld" connectionString="Data Source=192.168.1.36;User ID=sa;pwd=hykj800100;Initial Catalog=HBSZRX;" />
33
+
34
+
32
   </connectionStrings>
35
   </connectionStrings>
33
   <system.web>
36
   <system.web>
34
     <compilation debug="true" targetFramework="4.5"/>
37
     <compilation debug="true" targetFramework="4.5"/>

+ 1 - 0
CallCenterApi/CallCenterApi.Model/CallCenterApi.Model.csproj

104
     <Compile Include="T_Sys_GroupClass.cs" />
104
     <Compile Include="T_Sys_GroupClass.cs" />
105
     <Compile Include="T_Sys_History.cs" />
105
     <Compile Include="T_Sys_History.cs" />
106
     <Compile Include="T_Sys_IVRWords.cs" />
106
     <Compile Include="T_Sys_IVRWords.cs" />
107
+    <Compile Include="T_Sys_kinfoQuestions.cs" />
107
     <Compile Include="T_Sys_SeatPermissionConfig.cs" />
108
     <Compile Include="T_Sys_SeatPermissionConfig.cs" />
108
     <Compile Include="T_Sys_UserClass.cs" />
109
     <Compile Include="T_Sys_UserClass.cs" />
109
     <Compile Include="T_Sys_Users.cs" />
110
     <Compile Include="T_Sys_Users.cs" />