Przeglądaj źródła

车用尿素流转

duhongyu 6 lat temu
rodzic
commit
635ecdf552

+ 22 - 21
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/weixin/WxLoginController.cs

@@ -1724,12 +1724,13 @@ namespace CallCenterApi.Interface.Controllers.weixin
1724 1724
                     nextda = 88;
1725 1725
                     opt = "流转销售部";
1726 1726
                 }
1727
-                //  else
1728
-                //{
1729
-                //        nextda = ua.F_DeptId;
1730
-                //        opt = "流转" + deptname;
1731
-                //}
1732
-                else if (ua.F_DeptId == 17 || ua.F_DeptId == 18 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
1727
+                else if (dapt == 18)
1728
+                {
1729
+                    nextda = 18;
1730
+                    opt = "流转车用尿素";
1731
+
1732
+                }
1733
+                else if (ua.F_DeptId == 17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
1733 1734
                 {
1734 1735
                     isbl = 1;
1735 1736
                     nextda = ua.F_DeptId;
@@ -2277,6 +2278,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
2277 2278
                     model.F_ZL_CJ_IsRecord = model1[i].F_ZL_CJ_IsRecord;//质量管理科-抽检-未备案、已备案
2278 2279
                     model.F_VisitRemarks = model1[i].F_VisitRemarks;//回访备注
2279 2280
                     model.SuperiorOpinion = AssCont(model1[i].F_ID);//上级处理意见
2281
+                    model.F_Reasontimeout= model1[i].F_Reasontimeout;//超期原因
2280 2282
                     if (model1[i].F_SMSReply == 1)
2281 2283
                     {
2282 2284
                         model.F_SMSReply = "满意";//短信回访结果
@@ -2912,11 +2914,10 @@ namespace CallCenterApi.Interface.Controllers.weixin
2912 2914
                             
2913 2915
                             if (string.IsNullOrEmpty(input.F_CustomerID))
2914 2916
                             {
2915
-                                while (true)
2916
-                                {
2917 2917
                                     int i = 0;
2918 2918
                                     while (true)
2919 2919
                                     {
2920
+                                   
2920 2921
                                         if (!getunique(0, GetCusCode(i)))
2921 2922
                                         {
2922 2923
                                             input.F_CustomerID = GetCusCode(i);
@@ -2927,7 +2928,6 @@ namespace CallCenterApi.Interface.Controllers.weixin
2927 2928
                                             i++;
2928 2929
                                         }
2929 2930
                                     }
2930
-                                }
2931 2931
                             }
2932 2932
                             var CustomerBaseNewmodel = new Model.T_Cus_CustomerBaseNew();
2933 2933
                             CustomerBaseNewmodel.F_CustomerCode = input.F_CustomerID;
@@ -3331,12 +3331,13 @@ namespace CallCenterApi.Interface.Controllers.weixin
3331 3331
                                         nextda = 88;
3332 3332
                                         opt = "流转销售部";
3333 3333
                                     }
3334
-                                    //else
3335
-                                    //{
3336
-                                    //    nextda = ua.F_DeptId;
3337
-                                    //    opt = "流转"+ deptment;
3338
-                                    //}
3339
-                                    else if (ua.F_DeptId == 17 || ua.F_DeptId == 18 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
3334
+                                    else if (dapt == 18)
3335
+                                    {
3336
+                                        nextda = 18;
3337
+                                        opt = "流转车用尿素";
3338
+
3339
+                                    }
3340
+                                    else if (ua.F_DeptId == 17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
3340 3341
                                     {
3341 3342
                                         nextda = ua.F_DeptId;
3342 3343
                                         opt = "流转" + deptment ;
@@ -4800,13 +4801,13 @@ namespace CallCenterApi.Interface.Controllers.weixin
4800 4801
                                 nextda = 88;
4801 4802
                                 opt = "流转销售部";
4802 4803
                             }
4803
-                            //else
4804
-                            //{
4805
-                            //    nextda = ua.F_DeptId;
4806
-                            //    opt = "流转" + deptname1;
4804
+                            else if (dapt == 18)
4805
+                            {
4806
+                                nextda = 18;
4807
+                               opt = "流转车用尿素" ;
4807 4808
 
4808
-                            //}
4809
-                            else if (ua.F_DeptId == 17 || ua.F_DeptId == 18 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4809
+                            }
4810
+                            else if (ua.F_DeptId == 17  || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4810 4811
                             {
4811 4812
                                 nextda = ua.F_DeptId;
4812 4813
                                 opt = "流转" + deptname1 ;

+ 21 - 13
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs

@@ -1445,7 +1445,13 @@ namespace CallCenterApi.Interface.Controllers.workorder
1445 1445
                     nextda = 88;
1446 1446
                     opt = "流转销售部";
1447 1447
                 }
1448
-                else if (ua.F_DeptId==17|| ua.F_DeptId == 18 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
1448
+                else if (dapt == 18)
1449
+                {
1450
+                    nextda = 18;
1451
+                    opt = "流转车用尿素";
1452
+
1453
+                }
1454
+                else if (ua.F_DeptId==17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
1449 1455
                 {
1450 1456
                     isbl = 1;
1451 1457
                       nextda = ua.F_DeptId;
@@ -3800,12 +3806,13 @@ namespace CallCenterApi.Interface.Controllers.workorder
3800 3806
                                     nextda = 88;
3801 3807
                                     opt = "流转销售部";
3802 3808
                                 }
3803
-                                //else
3804
-                                //{
3805
-                                //    nextda = ua.F_DeptId;
3806
-                                //    opt = "流转"+ deptneme;
3807
-                                //}
3808
-                                else if (ua.F_DeptId == 17 || ua.F_DeptId == 18 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
3809
+                                else if (dapt == 18)
3810
+                                {
3811
+                                    nextda = 18;
3812
+                                    opt = "流转车用尿素";
3813
+
3814
+                                }
3815
+                                else if (ua.F_DeptId == 17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
3809 3816
                                 {
3810 3817
                                     nextda = ua.F_DeptId;
3811 3818
                                     opt = "流转" + deptname;
@@ -4125,12 +4132,13 @@ namespace CallCenterApi.Interface.Controllers.workorder
4125 4132
                                         nextda = 88;
4126 4133
                                         opt = "流转销售部";
4127 4134
                                     }
4128
-                                    //else
4129
-                                    //{
4130
-                                    //    nextda = ua.F_DeptId;
4131
-                                    //    opt = "流转" + deptname1;
4132
-                                    //}
4133
-                                    else if (ua.F_DeptId == 17 || ua.F_DeptId == 18 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4135
+                                    else if (dapt == 18)
4136
+                                    {
4137
+                                        nextda = 18;
4138
+                                        opt = "流转车用尿素";
4139
+
4140
+                                    }
4141
+                                    else if (ua.F_DeptId == 17  || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4134 4142
                                     {
4135 4143
                                         nextda = ua.F_DeptId;
4136 4144
                                         opt = "流转" + deptname1 ;