浏览代码

Merge branch 'master' of http://192.168.1.222:3000/zhengbingbing/XinXiangXLX_API

duhongyu 6 年之前
父节点
当前提交
f62fbbb319

+ 140 - 0
codegit/CallCenterApi/CallCenterApi.BLL/T_Wo_QuestionManage.cs

@@ -0,0 +1,140 @@
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
+    /// <summary>
11
+	/// T_Wo_QuestionManage
12
+	/// </summary>
13
+	public partial class T_Wo_QuestionManage
14
+    {
15
+        private readonly CallCenterApi.DAL.T_Wo_QuestionManage dal = new CallCenterApi.DAL.T_Wo_QuestionManage();
16
+        public T_Wo_QuestionManage()
17
+        { }
18
+        #region  BasicMethod
19
+        /// <summary>
20
+        /// 是否存在该记录
21
+        /// </summary>
22
+        public bool Exists(int F_Id)
23
+        {
24
+            return dal.Exists(F_Id);
25
+        }
26
+
27
+        /// <summary>
28
+        /// 增加一条数据
29
+        /// </summary>
30
+        public int Add(CallCenterApi.Model.T_Wo_QuestionManage model)
31
+        {
32
+            return dal.Add(model);
33
+        }
34
+
35
+        /// <summary>
36
+        /// 更新一条数据
37
+        /// </summary>
38
+        public bool Update(CallCenterApi.Model.T_Wo_QuestionManage model)
39
+        {
40
+            return dal.Update(model);
41
+        }
42
+
43
+        /// <summary>
44
+        /// 删除一条数据
45
+        /// </summary>
46
+        public bool Delete(int F_Id)
47
+        {
48
+
49
+            return dal.Delete(F_Id);
50
+        }
51
+        /// <summary>
52
+        /// 删除一条数据
53
+        /// </summary>
54
+        public bool DeleteList(string F_Idlist)
55
+        {
56
+            return dal.DeleteList(F_Idlist);
57
+        }
58
+
59
+        /// <summary>
60
+        /// 得到一个对象实体
61
+        /// </summary>
62
+        public CallCenterApi.Model.T_Wo_QuestionManage GetModel(int F_Id)
63
+        {
64
+
65
+            return dal.GetModel(F_Id);
66
+        }
67
+
68
+        /// <summary>
69
+        /// 获得数据列表
70
+        /// </summary>
71
+        public DataSet GetList(string strWhere)
72
+        {
73
+            return dal.GetList(strWhere);
74
+        }
75
+        /// <summary>
76
+        /// 获得前几行数据
77
+        /// </summary>
78
+        public DataSet GetList(int Top, string strWhere, string filedOrder)
79
+        {
80
+            return dal.GetList(Top, strWhere, filedOrder);
81
+        }
82
+        /// <summary>
83
+        /// 获得数据列表
84
+        /// </summary>
85
+        public List<CallCenterApi.Model.T_Wo_QuestionManage> GetModelList(string strWhere)
86
+        {
87
+            DataSet ds = dal.GetList(strWhere);
88
+            return DataTableToList(ds.Tables[0]);
89
+        }
90
+        /// <summary>
91
+        /// 获得数据列表
92
+        /// </summary>
93
+        public List<CallCenterApi.Model.T_Wo_QuestionManage> DataTableToList(DataTable dt)
94
+        {
95
+            List<CallCenterApi.Model.T_Wo_QuestionManage> modelList = new List<CallCenterApi.Model.T_Wo_QuestionManage>();
96
+            int rowsCount = dt.Rows.Count;
97
+            if (rowsCount > 0)
98
+            {
99
+                CallCenterApi.Model.T_Wo_QuestionManage model;
100
+                for (int n = 0; n < rowsCount; n++)
101
+                {
102
+                    model = dal.DataRowToModel(dt.Rows[n]);
103
+                    if (model != null)
104
+                    {
105
+                        modelList.Add(model);
106
+                    }
107
+                }
108
+            }
109
+            return modelList;
110
+        }
111
+
112
+        /// <summary>
113
+        /// 获得数据列表
114
+        /// </summary>
115
+        public DataSet GetAllList()
116
+        {
117
+            return GetList("");
118
+        }
119
+
120
+        /// <summary>
121
+        /// 分页获取数据列表
122
+        /// </summary>
123
+        public int GetRecordCount(string strWhere)
124
+        {
125
+            return dal.GetRecordCount(strWhere);
126
+        }
127
+        /// <summary>
128
+        /// 分页获取数据列表
129
+        /// </summary>
130
+        public DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex)
131
+        {
132
+            return dal.GetListByPage(strWhere, orderby, startIndex, endIndex);
133
+        }
134
+
135
+        #endregion  BasicMethod
136
+        #region  ExtensionMethod
137
+
138
+        #endregion  ExtensionMethod
139
+    }
140
+}

+ 393 - 0
codegit/CallCenterApi/CallCenterApi.DAL/T_Wo_QuestionManage.cs

@@ -0,0 +1,393 @@
1
+using CallCenterApi.DB;
2
+using System;
3
+using System.Collections.Generic;
4
+using System.Data;
5
+using System.Data.SqlClient;
6
+using System.Linq;
7
+using System.Text;
8
+using System.Threading.Tasks;
9
+
10
+namespace CallCenterApi.DAL
11
+{
12
+    /// <summary>
13
+	/// 数据访问类:T_Wo_QuestionManage
14
+	/// </summary>
15
+	public partial class T_Wo_QuestionManage
16
+    {
17
+        public T_Wo_QuestionManage()
18
+        { }
19
+        #region  BasicMethod
20
+        /// <summary>
21
+        /// 是否存在该记录
22
+        /// </summary>
23
+        public bool Exists(int F_Id)
24
+        {
25
+            StringBuilder strSql = new StringBuilder();
26
+            strSql.Append("select count(1) from T_Wo_QuestionManage");
27
+            strSql.Append(" where F_Id=@F_Id");
28
+            SqlParameter[] parameters = {
29
+                    new SqlParameter("@F_Id", SqlDbType.Int,4)
30
+            };
31
+            parameters[0].Value = F_Id;
32
+
33
+            return DbHelperSQL.Exists(strSql.ToString(), parameters);
34
+        }
35
+
36
+
37
+        /// <summary>
38
+        /// 增加一条数据
39
+        /// </summary>
40
+        public int Add(CallCenterApi.Model.T_Wo_QuestionManage model)
41
+        {
42
+            StringBuilder strSql = new StringBuilder();
43
+            strSql.Append("insert into T_Wo_QuestionManage(");
44
+            strSql.Append("F_QuestionName,F_QuestionContent,F_ParentId,F_Label,F_DealMethods,F_Type,F_Remark,F_CreateBy,F_CreateOn,F_UpdateCount,F_UpdateBy,F_UpdateOn,F_IsDelete,F_DeleteBy,F_DeleteOn)");
45
+            strSql.Append(" values (");
46
+            strSql.Append("@F_QuestionName,@F_QuestionContent,@F_ParentId,@F_Label,@F_DealMethods,@F_Type,@F_Remark,@F_CreateBy,@F_CreateOn,@F_UpdateCount,@F_UpdateBy,@F_UpdateOn,@F_IsDelete,@F_DeleteBy,@F_DeleteOn)");
47
+            strSql.Append(";select @@IDENTITY");
48
+            SqlParameter[] parameters = {
49
+                    new SqlParameter("@F_QuestionName", SqlDbType.NVarChar,500),
50
+                    new SqlParameter("@F_QuestionContent", SqlDbType.NText),
51
+                    new SqlParameter("@F_ParentId", SqlDbType.Int,4),
52
+                    new SqlParameter("@F_Label", SqlDbType.NVarChar,500),
53
+                    new SqlParameter("@F_DealMethods", SqlDbType.NVarChar,500),
54
+                    new SqlParameter("@F_Type", SqlDbType.NVarChar,500),
55
+                    new SqlParameter("@F_Remark", SqlDbType.NText),
56
+                    new SqlParameter("@F_CreateBy", SqlDbType.VarChar,50),
57
+                    new SqlParameter("@F_CreateOn", SqlDbType.DateTime),
58
+                    new SqlParameter("@F_UpdateCount", SqlDbType.Int,4),
59
+                    new SqlParameter("@F_UpdateBy", SqlDbType.VarChar,50),
60
+                    new SqlParameter("@F_UpdateOn", SqlDbType.DateTime),
61
+                    new SqlParameter("@F_IsDelete", SqlDbType.Int,4),
62
+                    new SqlParameter("@F_DeleteBy", SqlDbType.VarChar,50),
63
+                    new SqlParameter("@F_DeleteOn", SqlDbType.DateTime)};
64
+            parameters[0].Value = model.F_QuestionName;
65
+            parameters[1].Value = model.F_QuestionContent;
66
+            parameters[2].Value = model.F_ParentId;
67
+            parameters[3].Value = model.F_Label;
68
+            parameters[4].Value = model.F_DealMethods;
69
+            parameters[5].Value = model.F_Type;
70
+            parameters[6].Value = model.F_Remark;
71
+            parameters[7].Value = model.F_CreateBy;
72
+            parameters[8].Value = model.F_CreateOn;
73
+            parameters[9].Value = model.F_UpdateCount;
74
+            parameters[10].Value = model.F_UpdateBy;
75
+            parameters[11].Value = model.F_UpdateOn;
76
+            parameters[12].Value = model.F_IsDelete;
77
+            parameters[13].Value = model.F_DeleteBy;
78
+            parameters[14].Value = model.F_DeleteOn;
79
+
80
+            object obj = DbHelperSQL.GetSingle(strSql.ToString(), parameters);
81
+            if (obj == null)
82
+            {
83
+                return 0;
84
+            }
85
+            else
86
+            {
87
+                return Convert.ToInt32(obj);
88
+            }
89
+        }
90
+        /// <summary>
91
+        /// 更新一条数据
92
+        /// </summary>
93
+        public bool Update(CallCenterApi.Model.T_Wo_QuestionManage model)
94
+        {
95
+            StringBuilder strSql = new StringBuilder();
96
+            strSql.Append("update T_Wo_QuestionManage set ");
97
+            strSql.Append("F_QuestionName=@F_QuestionName,");
98
+            strSql.Append("F_QuestionContent=@F_QuestionContent,");
99
+            strSql.Append("F_ParentId=@F_ParentId,");
100
+            strSql.Append("F_Label=@F_Label,");
101
+            strSql.Append("F_DealMethods=@F_DealMethods,");
102
+            strSql.Append("F_Type=@F_Type,");
103
+            strSql.Append("F_Remark=@F_Remark,");
104
+            strSql.Append("F_CreateBy=@F_CreateBy,");
105
+            strSql.Append("F_CreateOn=@F_CreateOn,");
106
+            strSql.Append("F_UpdateCount=@F_UpdateCount,");
107
+            strSql.Append("F_UpdateBy=@F_UpdateBy,");
108
+            strSql.Append("F_UpdateOn=@F_UpdateOn,");
109
+            strSql.Append("F_IsDelete=@F_IsDelete,");
110
+            strSql.Append("F_DeleteBy=@F_DeleteBy,");
111
+            strSql.Append("F_DeleteOn=@F_DeleteOn");
112
+            strSql.Append(" where F_Id=@F_Id");
113
+            SqlParameter[] parameters = {
114
+                    new SqlParameter("@F_QuestionName", SqlDbType.NVarChar,500),
115
+                    new SqlParameter("@F_QuestionContent", SqlDbType.NText),
116
+                    new SqlParameter("@F_ParentId", SqlDbType.Int,4),
117
+                    new SqlParameter("@F_Label", SqlDbType.NVarChar,500),
118
+                    new SqlParameter("@F_DealMethods", SqlDbType.NVarChar,500),
119
+                    new SqlParameter("@F_Type", SqlDbType.NVarChar,500),
120
+                    new SqlParameter("@F_Remark", SqlDbType.NText),
121
+                    new SqlParameter("@F_CreateBy", SqlDbType.VarChar,50),
122
+                    new SqlParameter("@F_CreateOn", SqlDbType.DateTime),
123
+                    new SqlParameter("@F_UpdateCount", SqlDbType.Int,4),
124
+                    new SqlParameter("@F_UpdateBy", SqlDbType.VarChar,50),
125
+                    new SqlParameter("@F_UpdateOn", SqlDbType.DateTime),
126
+                    new SqlParameter("@F_IsDelete", SqlDbType.Int,4),
127
+                    new SqlParameter("@F_DeleteBy", SqlDbType.VarChar,50),
128
+                    new SqlParameter("@F_DeleteOn", SqlDbType.DateTime),
129
+                    new SqlParameter("@F_Id", SqlDbType.Int,4)};
130
+            parameters[0].Value = model.F_QuestionName;
131
+            parameters[1].Value = model.F_QuestionContent;
132
+            parameters[2].Value = model.F_ParentId;
133
+            parameters[3].Value = model.F_Label;
134
+            parameters[4].Value = model.F_DealMethods;
135
+            parameters[5].Value = model.F_Type;
136
+            parameters[6].Value = model.F_Remark;
137
+            parameters[7].Value = model.F_CreateBy;
138
+            parameters[8].Value = model.F_CreateOn;
139
+            parameters[9].Value = model.F_UpdateCount;
140
+            parameters[10].Value = model.F_UpdateBy;
141
+            parameters[11].Value = model.F_UpdateOn;
142
+            parameters[12].Value = model.F_IsDelete;
143
+            parameters[13].Value = model.F_DeleteBy;
144
+            parameters[14].Value = model.F_DeleteOn;
145
+            parameters[15].Value = model.F_Id;
146
+
147
+            int rows = DbHelperSQL.ExecuteSql(strSql.ToString(), parameters);
148
+            if (rows > 0)
149
+            {
150
+                return true;
151
+            }
152
+            else
153
+            {
154
+                return false;
155
+            }
156
+        }
157
+
158
+        /// <summary>
159
+        /// 删除一条数据
160
+        /// </summary>
161
+        public bool Delete(int F_Id)
162
+        {
163
+
164
+            StringBuilder strSql = new StringBuilder();
165
+            strSql.Append("delete from T_Wo_QuestionManage ");
166
+            strSql.Append(" where F_Id=@F_Id");
167
+            SqlParameter[] parameters = {
168
+                    new SqlParameter("@F_Id", SqlDbType.Int,4)
169
+            };
170
+            parameters[0].Value = F_Id;
171
+
172
+            int rows = DbHelperSQL.ExecuteSql(strSql.ToString(), parameters);
173
+            if (rows > 0)
174
+            {
175
+                return true;
176
+            }
177
+            else
178
+            {
179
+                return false;
180
+            }
181
+        }
182
+        /// <summary>
183
+        /// 批量删除数据
184
+        /// </summary>
185
+        public bool DeleteList(string F_Idlist)
186
+        {
187
+            StringBuilder strSql = new StringBuilder();
188
+            strSql.Append("delete from T_Wo_QuestionManage ");
189
+            strSql.Append(" where F_Id in (" + F_Idlist + ")  ");
190
+            int rows = DbHelperSQL.ExecuteSql(strSql.ToString());
191
+            if (rows > 0)
192
+            {
193
+                return true;
194
+            }
195
+            else
196
+            {
197
+                return false;
198
+            }
199
+        }
200
+
201
+
202
+        /// <summary>
203
+        /// 得到一个对象实体
204
+        /// </summary>
205
+        public CallCenterApi.Model.T_Wo_QuestionManage GetModel(int F_Id)
206
+        {
207
+
208
+            StringBuilder strSql = new StringBuilder();
209
+            strSql.Append("select  top 1 * from T_Wo_QuestionManage ");
210
+            strSql.Append(" where F_Id=@F_Id");
211
+            SqlParameter[] parameters = {
212
+                    new SqlParameter("@F_Id", SqlDbType.Int,4)
213
+            };
214
+            parameters[0].Value = F_Id;
215
+
216
+            CallCenterApi.Model.T_Wo_QuestionManage model = new CallCenterApi.Model.T_Wo_QuestionManage();
217
+            DataSet ds = DbHelperSQL.Query(strSql.ToString(), parameters);
218
+            if (ds.Tables[0].Rows.Count > 0)
219
+            {
220
+                return DataRowToModel(ds.Tables[0].Rows[0]);
221
+            }
222
+            else
223
+            {
224
+                return null;
225
+            }
226
+        }
227
+
228
+
229
+        /// <summary>
230
+        /// 得到一个对象实体
231
+        /// </summary>
232
+        public CallCenterApi.Model.T_Wo_QuestionManage DataRowToModel(DataRow row)
233
+        {
234
+            CallCenterApi.Model.T_Wo_QuestionManage model = new CallCenterApi.Model.T_Wo_QuestionManage();
235
+            if (row != null)
236
+            {
237
+                if (row["F_Id"] != null && row["F_Id"].ToString() != "")
238
+                {
239
+                    model.F_Id = int.Parse(row["F_Id"].ToString());
240
+                }
241
+                if (row["F_QuestionName"] != null)
242
+                {
243
+                    model.F_QuestionName = row["F_QuestionName"].ToString();
244
+                }
245
+                if (row["F_QuestionContent"] != null)
246
+                {
247
+                    model.F_QuestionContent = row["F_QuestionContent"].ToString();
248
+                }
249
+                if (row["F_ParentId"] != null && row["F_ParentId"].ToString() != "")
250
+                {
251
+                    model.F_ParentId = int.Parse(row["F_ParentId"].ToString());
252
+                }
253
+                if (row["F_Label"] != null)
254
+                {
255
+                    model.F_Label = row["F_Label"].ToString();
256
+                }
257
+                if (row["F_DealMethods"] != null)
258
+                {
259
+                    model.F_DealMethods = row["F_DealMethods"].ToString();
260
+                }
261
+                if (row["F_Type"] != null)
262
+                {
263
+                    model.F_Type = row["F_Type"].ToString();
264
+                }
265
+                if (row["F_Remark"] != null)
266
+                {
267
+                    model.F_Remark = row["F_Remark"].ToString();
268
+                }
269
+                if (row["F_CreateBy"] != null)
270
+                {
271
+                    model.F_CreateBy = row["F_CreateBy"].ToString();
272
+                }
273
+                if (row["F_CreateOn"] != null && row["F_CreateOn"].ToString() != "")
274
+                {
275
+                    model.F_CreateOn = DateTime.Parse(row["F_CreateOn"].ToString());
276
+                }
277
+                if (row["F_UpdateCount"] != null && row["F_UpdateCount"].ToString() != "")
278
+                {
279
+                    model.F_UpdateCount = int.Parse(row["F_UpdateCount"].ToString());
280
+                }
281
+                if (row["F_UpdateBy"] != null)
282
+                {
283
+                    model.F_UpdateBy = row["F_UpdateBy"].ToString();
284
+                }
285
+                if (row["F_UpdateOn"] != null && row["F_UpdateOn"].ToString() != "")
286
+                {
287
+                    model.F_UpdateOn = DateTime.Parse(row["F_UpdateOn"].ToString());
288
+                }
289
+                if (row["F_IsDelete"] != null && row["F_IsDelete"].ToString() != "")
290
+                {
291
+                    model.F_IsDelete = int.Parse(row["F_IsDelete"].ToString());
292
+                }
293
+                if (row["F_DeleteBy"] != null)
294
+                {
295
+                    model.F_DeleteBy = row["F_DeleteBy"].ToString();
296
+                }
297
+                if (row["F_DeleteOn"] != null && row["F_DeleteOn"].ToString() != "")
298
+                {
299
+                    model.F_DeleteOn = DateTime.Parse(row["F_DeleteOn"].ToString());
300
+                }
301
+            }
302
+            return model;
303
+        }
304
+
305
+        /// <summary>
306
+        /// 获得数据列表
307
+        /// </summary>
308
+        public DataSet GetList(string strWhere)
309
+        {
310
+            StringBuilder strSql = new StringBuilder();
311
+            strSql.Append("select * ");
312
+            strSql.Append(" FROM T_Wo_QuestionManage ");
313
+            if (strWhere.Trim() != "")
314
+            {
315
+                strSql.Append(" where " + strWhere);
316
+            }
317
+            return DbHelperSQL.Query(strSql.ToString());
318
+        }
319
+
320
+        /// <summary>
321
+        /// 获得前几行数据
322
+        /// </summary>
323
+        public DataSet GetList(int Top, string strWhere, string filedOrder)
324
+        {
325
+            StringBuilder strSql = new StringBuilder();
326
+            strSql.Append("select ");
327
+            if (Top > 0)
328
+            {
329
+                strSql.Append(" top " + Top.ToString());
330
+            }
331
+            strSql.Append(" * ");
332
+            strSql.Append(" FROM T_Wo_QuestionManage ");
333
+            if (strWhere.Trim() != "")
334
+            {
335
+                strSql.Append(" where " + strWhere);
336
+            }
337
+            strSql.Append(" order by " + filedOrder);
338
+            return DbHelperSQL.Query(strSql.ToString());
339
+        }
340
+
341
+        /// <summary>
342
+        /// 获取记录总数
343
+        /// </summary>
344
+        public int GetRecordCount(string strWhere)
345
+        {
346
+            StringBuilder strSql = new StringBuilder();
347
+            strSql.Append("select count(1) FROM T_Wo_QuestionManage ");
348
+            if (strWhere.Trim() != "")
349
+            {
350
+                strSql.Append(" where " + strWhere);
351
+            }
352
+            object obj = DbHelperSQL.GetSingle(strSql.ToString());
353
+            if (obj == null)
354
+            {
355
+                return 0;
356
+            }
357
+            else
358
+            {
359
+                return Convert.ToInt32(obj);
360
+            }
361
+        }
362
+        /// <summary>
363
+        /// 分页获取数据列表
364
+        /// </summary>
365
+        public DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex)
366
+        {
367
+            StringBuilder strSql = new StringBuilder();
368
+            strSql.Append("SELECT * FROM ( ");
369
+            strSql.Append(" SELECT ROW_NUMBER() OVER (");
370
+            if (!string.IsNullOrEmpty(orderby.Trim()))
371
+            {
372
+                strSql.Append("order by T." + orderby);
373
+            }
374
+            else
375
+            {
376
+                strSql.Append("order by T.F_Id desc");
377
+            }
378
+            strSql.Append(")AS Row, T.*  from T_Wo_QuestionManage T ");
379
+            if (!string.IsNullOrEmpty(strWhere.Trim()))
380
+            {
381
+                strSql.Append(" WHERE " + strWhere);
382
+            }
383
+            strSql.Append(" ) TT");
384
+            strSql.AppendFormat(" WHERE TT.Row between {0} and {1}", startIndex, endIndex);
385
+            return DbHelperSQL.Query(strSql.ToString());
386
+        }
387
+        
388
+        #endregion  BasicMethod
389
+        #region  ExtensionMethod
390
+
391
+        #endregion  ExtensionMethod
392
+    }
393
+}

+ 164 - 0
codegit/CallCenterApi/CallCenterApi.Model/T_Wo_QuestionManage.cs

@@ -0,0 +1,164 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Threading.Tasks;
6
+
7
+namespace CallCenterApi.Model
8
+{
9
+    /// <summary>
10
+	/// 问题类别表
11
+	/// </summary>
12
+	[Serializable]
13
+    public partial class T_Wo_QuestionManage
14
+    {
15
+        public T_Wo_QuestionManage()
16
+        { }
17
+        #region Model
18
+        private int _f_id;
19
+        private string _f_questionname;
20
+        private string _f_questioncontent;
21
+        private int? _f_parentid;
22
+        private string _f_label;
23
+        private string _f_dealmethods;
24
+        private string _f_type;
25
+        private string _f_remark;
26
+        private string _f_createby;
27
+        private DateTime? _f_createon;
28
+        private int? _f_updatecount;
29
+        private string _f_updateby;
30
+        private DateTime? _f_updateon;
31
+        private int? _f_isdelete;
32
+        private string _f_deleteby;
33
+        private DateTime? _f_deleteon;
34
+        /// <summary>
35
+        /// ID
36
+        /// </summary>
37
+        public int F_Id
38
+        {
39
+            set { _f_id = value; }
40
+            get { return _f_id; }
41
+        }
42
+        /// <summary>
43
+        /// 问题名称
44
+        /// </summary>
45
+        public string F_QuestionName
46
+        {
47
+            set { _f_questionname = value; }
48
+            get { return _f_questionname; }
49
+        }
50
+        /// <summary>
51
+        /// 问题描述及概念
52
+        /// </summary>
53
+        public string F_QuestionContent
54
+        {
55
+            set { _f_questioncontent = value; }
56
+            get { return _f_questioncontent; }
57
+        }
58
+        /// <summary>
59
+        /// 父级ID
60
+        /// </summary>
61
+        public int? F_ParentId
62
+        {
63
+            set { _f_parentid = value; }
64
+            get { return _f_parentid; }
65
+        }
66
+        /// <summary>
67
+        /// 级别
68
+        /// </summary>
69
+        public string F_Label
70
+        {
71
+            set { _f_label = value; }
72
+            get { return _f_label; }
73
+        }
74
+        /// <summary>
75
+        /// 处理方式
76
+        /// </summary>
77
+        public string F_DealMethods
78
+        {
79
+            set { _f_dealmethods = value; }
80
+            get { return _f_dealmethods; }
81
+        }
82
+        /// <summary>
83
+        /// 类型:TS 投诉/CJ 抽检/ZX 咨询及需求
84
+        /// </summary>
85
+        public string F_Type
86
+        {
87
+            set { _f_type = value; }
88
+            get { return _f_type; }
89
+        }
90
+        /// <summary>
91
+        /// 备注
92
+        /// </summary>
93
+        public string F_Remark
94
+        {
95
+            set { _f_remark = value; }
96
+            get { return _f_remark; }
97
+        }
98
+        /// <summary>
99
+        /// 创建人工号
100
+        /// </summary>
101
+        public string F_CreateBy
102
+        {
103
+            set { _f_createby = value; }
104
+            get { return _f_createby; }
105
+        }
106
+        /// <summary>
107
+        /// 创建时间
108
+        /// </summary>
109
+        public DateTime? F_CreateOn
110
+        {
111
+            set { _f_createon = value; }
112
+            get { return _f_createon; }
113
+        }
114
+        /// <summary>
115
+        /// 修改次数
116
+        /// </summary>
117
+        public int? F_UpdateCount
118
+        {
119
+            set { _f_updatecount = value; }
120
+            get { return _f_updatecount; }
121
+        }
122
+        /// <summary>
123
+        /// 修改人工号
124
+        /// </summary>
125
+        public string F_UpdateBy
126
+        {
127
+            set { _f_updateby = value; }
128
+            get { return _f_updateby; }
129
+        }
130
+        /// <summary>
131
+        /// 修改时间
132
+        /// </summary>
133
+        public DateTime? F_UpdateOn
134
+        {
135
+            set { _f_updateon = value; }
136
+            get { return _f_updateon; }
137
+        }
138
+        /// <summary>
139
+        /// 是否删除:0否,1是
140
+        /// </summary>
141
+        public int? F_IsDelete
142
+        {
143
+            set { _f_isdelete = value; }
144
+            get { return _f_isdelete; }
145
+        }
146
+        /// <summary>
147
+        /// 删除人工号
148
+        /// </summary>
149
+        public string F_DeleteBy
150
+        {
151
+            set { _f_deleteby = value; }
152
+            get { return _f_deleteby; }
153
+        }
154
+        /// <summary>
155
+        /// 删除时间
156
+        /// </summary>
157
+        public DateTime? F_DeleteOn
158
+        {
159
+            set { _f_deleteon = value; }
160
+            get { return _f_deleteon; }
161
+        }
162
+        #endregion Model
163
+    }
164
+}

+ 15 - 0
codegit/CallCenterApi/CallCenterApi.Model/T_Wo_WorkOrder.cs

@@ -734,5 +734,20 @@ namespace CallCenterApi.Model
734 734
         }
735 735
         #endregion Model
736 736
     }
737
+
738
+    /// <summary>
739
+    /// 工单类型枚举
740
+    /// </summary>
741
+    public enum EnumWOType
742
+    {
743
+        [Description("投诉")]
744
+        Complaint,
745
+        [Description("抽检")]
746
+        SpotCheck,
747
+        [Description("咨询及需求")]
748
+        ConsultingNeeds,
749
+        [Description("其他")]
750
+        Other
751
+    }
737 752
 }
738 753
 

二进制
文档/模板/客户资料模板.xlsx