zhoufan %!s(int64=7) %!d(string=hace) años
padre
commit
3e782fff49

+ 27 - 27
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

266
             if (!string.IsNullOrEmpty(strworkorderid))
266
             if (!string.IsNullOrEmpty(strworkorderid))
267
             {
267
             {
268
                 string sql = "select *,dbo.GetUserName(F_CreateUser) as UserName,dbo.GetDictionaryName(F_Type) as TypeName,"
268
                 string sql = "select *,dbo.GetUserName(F_CreateUser) as UserName,dbo.GetDictionaryName(F_Type) as TypeName,"
269
-                    + "dbo.GetDictionaryName(F_InfoSource) as SourceName  from T_Bus_WorkOrder where F_WorkOrderId ='" + strworkorderid + "'";
269
+                    + "dbo.GetDictionaryName(F_Source) as SourceName  from T_Bus_WorkOrder where F_WorkOrderId ='" + strworkorderid + "'";
270
                 var dt = DbHelperSQL.Query(sql).Tables[0];
270
                 var dt = DbHelperSQL.Query(sql).Tables[0];
271
                 if (dt.Rows.Count > 0)
271
                 if (dt.Rows.Count > 0)
272
                 {
272
                 {
366
             //投诉电话
366
             //投诉电话
367
             string cusphone = RequestString.GetFormString("cusphone");
367
             string cusphone = RequestString.GetFormString("cusphone");
368
             //分组代码
368
             //分组代码
369
-            string code = RequestString.GetQueryString("code");
369
+            string code = RequestString.GetFormString("code");
370
             if (!string.IsNullOrEmpty(userModel.groupcode))
370
             if (!string.IsNullOrEmpty(userModel.groupcode))
371
             {
371
             {
372
                 code = userModel.groupcode;
372
                 code = userModel.groupcode;
373
             }
373
             }
374
             //事件描述
374
             //事件描述
375
-            string content = RequestString.GetQueryString("content");
375
+            string content = RequestString.GetFormString("content");
376
             //产品名称
376
             //产品名称
377
-            string productname = RequestString.GetQueryString("productname");
377
+            string productname = RequestString.GetFormString("productname");
378
             //购买日期
378
             //购买日期
379
-            string buydate = RequestString.GetQueryString("buydate");
379
+            string buydate = RequestString.GetFormString("buydate");
380
             //购买地点
380
             //购买地点
381
-            string buyaddress = RequestString.GetQueryString("buyaddress");
381
+            string buyaddress = RequestString.GetFormString("buyaddress");
382
             //产品类别
382
             //产品类别
383
-            string producttype = RequestString.GetQueryString("producttype");
383
+            string producttype = RequestString.GetFormString("producttype");
384
             //生产批号
384
             //生产批号
385
-            string batchnumber = RequestString.GetQueryString("batchnumber");
385
+            string batchnumber = RequestString.GetFormString("batchnumber");
386
             //使用日期
386
             //使用日期
387
-            string userdate = RequestString.GetQueryString("userdate");
387
+            string userdate = RequestString.GetFormString("userdate");
388
             //专员号码
388
             //专员号码
389
-            string vipphone = RequestString.GetQueryString("vipphone");
389
+            string vipphone = RequestString.GetFormString("vipphone");
390
             //大区
390
             //大区
391
-            string area = RequestString.GetQueryString("area");
391
+            string area = RequestString.GetFormString("area");
392
             //省份
392
             //省份
393
-            string province = RequestString.GetQueryString("province");
393
+            string province = RequestString.GetFormString("province");
394
             //城市
394
             //城市
395
-            string city = RequestString.GetQueryString("city");
395
+            string city = RequestString.GetFormString("city");
396
             //附件
396
             //附件
397
-            string files = RequestString.GetQueryString("files");
397
+            string files = RequestString.GetFormString("files");
398
             //类型
398
             //类型
399
             int type = RequestString.GetInt("type", 0);
399
             int type = RequestString.GetInt("type", 0);
400
             //来源
400
             //来源
515
             //投诉电话
515
             //投诉电话
516
             string cusphone = RequestString.GetFormString("cusphone");
516
             string cusphone = RequestString.GetFormString("cusphone");
517
             //分组代码
517
             //分组代码
518
-            string code = RequestString.GetQueryString("code");
518
+            string code = RequestString.GetFormString("code");
519
             //事件描述
519
             //事件描述
520
-            string content = RequestString.GetQueryString("content");
520
+            string content = RequestString.GetFormString("content");
521
             //产品名称
521
             //产品名称
522
-            string productname = RequestString.GetQueryString("productname");
522
+            string productname = RequestString.GetFormString("productname");
523
             //购买日期
523
             //购买日期
524
-            string buydate = RequestString.GetQueryString("buydate");
524
+            string buydate = RequestString.GetFormString("buydate");
525
             //购买地点
525
             //购买地点
526
-            string buyaddress = RequestString.GetQueryString("buyaddress");
526
+            string buyaddress = RequestString.GetFormString("buyaddress");
527
             //产品类别
527
             //产品类别
528
-            string producttype = RequestString.GetQueryString("producttype");
528
+            string producttype = RequestString.GetFormString("producttype");
529
             //生产批号
529
             //生产批号
530
-            string batchnumber = RequestString.GetQueryString("batchnumber");
530
+            string batchnumber = RequestString.GetFormString("batchnumber");
531
             //使用日期
531
             //使用日期
532
-            string userdate = RequestString.GetQueryString("userdate");
532
+            string userdate = RequestString.GetFormString("userdate");
533
             //专员号码
533
             //专员号码
534
-            string vipphone = RequestString.GetQueryString("vipphone");
534
+            string vipphone = RequestString.GetFormString("vipphone");
535
             //大区
535
             //大区
536
-            string area = RequestString.GetQueryString("area");
536
+            string area = RequestString.GetFormString("area");
537
             //省份
537
             //省份
538
-            string province = RequestString.GetQueryString("province");
538
+            string province = RequestString.GetFormString("province");
539
             //城市
539
             //城市
540
-            string city = RequestString.GetQueryString("city");
540
+            string city = RequestString.GetFormString("city");
541
             //附件
541
             //附件
542
-            string files = RequestString.GetQueryString("files");
542
+            string files = RequestString.GetFormString("files");
543
             //类型
543
             //类型
544
             int type = RequestString.GetInt("type", 0);
544
             int type = RequestString.GetInt("type", 0);
545
             //来源
545
             //来源