zhupei %!s(int64=3) %!d(string=před) roky
rodič
revize
cb7f33822e

+ 19 - 15
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/weixin/WxLoginController.cs

@@ -1091,7 +1091,8 @@ namespace CallCenterApi.Interface.Controllers.weixin
1091 1091
                             case 10://已完成的
1092 1092
                                 if (GetDeptUserCode(ua.F_DeptId) != "")
1093 1093
                                 {
1094
-                                    sql += " and (F_State in(10,11) or  F_State2 in(10,11))";
1094
+                                    //sql += " and (F_State in(10,11) or  F_State2 in(10,11))";
1095
+                                    sql += " and ((F_State in(10,11) and F_Flag = null ) or (F_Flag=2 and F_State2 in(10,11)) or  (F_Flag=1 and F_State in(10,11)) or (F_Flag=3 and(F_State in(10,11) or F_State2 in(10,11))))";
1095 1096
                                     sql += "  and F_DealBy in(" + GetDeptUserCode(ua.F_DeptId) + ") ";
1096 1097
                                 }
1097 1098
                                 //  sql += " and F_State in(10,11) and F_DealBy = '" + ua.F_UserCode + "' ";
@@ -1920,7 +1921,8 @@ namespace CallCenterApi.Interface.Controllers.weixin
1920 1921
                     case 2://已完成的
1921 1922
                         sql = "";
1922 1923
                         sql += $"  F_IsDelete=0";
1923
-                        sql += " and (F_State in(10,11) or  F_State2 in(10,11))";
1924
+                        //sql += " and (F_State in(10,11) or  F_State2 in(10,11))";
1925
+                        sql += " and ((F_State in(10,11) and F_Flag = null ) or (F_Flag=2 and F_State2 in(10,11)) or  (F_Flag=1 and F_State in(10,11)) or (F_Flag=3 and(F_State in(10,11) or F_State2 in(10,11))))";
1924 1926
                         if (GetDeptUserCode(ua.F_DeptId) != "")
1925 1927
                         {
1926 1928
                             sql += "  and F_DealBy in(" + GetDeptUserCode(ua.F_DeptId) + ") ";
@@ -2703,8 +2705,8 @@ namespace CallCenterApi.Interface.Controllers.weixin
2703 2705
             if (CirculMarket(ua.F_DeptId, 11))
2704 2706
             {
2705 2707
                 isbl = 1;
2706
-                nextda = 37;
2707
-                opt = "流转市场管理科";
2708
+                nextda = 427;
2709
+                opt = "流转运营中心";
2708 2710
                 //nextda2 = 36;
2709 2711
                 //opt2 = "流转质量管理科";
2710 2712
                 //flag = 3;
@@ -4845,8 +4847,8 @@ namespace CallCenterApi.Interface.Controllers.weixin
4845 4847
                                 //{
4846 4848
                                 if (CirculMarket(ua.F_DeptId, 11))
4847 4849
                                 {
4848
-                                    nextda = 37;
4849
-                                    opt = "流转市场管理科";
4850
+                                    nextda = 427;
4851
+                                    opt = "流转运营中心";
4850 4852
                                 }
4851 4853
                                 else if (CirculMarket(ua.F_DeptId, 14))
4852 4854
                                 {
@@ -4890,6 +4892,8 @@ namespace CallCenterApi.Interface.Controllers.weixin
4890 4892
                                 //}
4891 4893
                                 if (nextda != 0)
4892 4894
                                 {
4895
+                                    model.F_State = 1;
4896
+                                    model.F_State2 = 0;
4893 4897
                                     model.F_Flag = 9;
4894 4898
                                     var res = AssignWO(ua, modlelist, input, opt, "", nextda, 0, overtime, sms,0,0,0,"",1,3,9);
4895 4899
                                     if (res)
@@ -5462,7 +5466,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
5462 5466
                 #region 处理工单
5463 5467
                 //工单完结要更新工单的状态
5464 5468
                 //   model.F_DealBy = touser;
5465
-                if (flag == 1)
5469
+                if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
5466 5470
                 {
5467 5471
                     model.F_State = wostate;
5468 5472
                 }
@@ -5954,7 +5958,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
5954 5958
             if (itemid > 0)
5955 5959
             {
5956 5960
                 #region 处理工单
5957
-                if (flag == 1)
5961
+                if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
5958 5962
                 {
5959 5963
                     model.F_State = wostate;//已接单待处理
5960 5964
                 }
@@ -6474,7 +6478,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
6474 6478
                 #region 处理工单
6475 6479
                 if (deptid == 2)
6476 6480
                 {
6477
-                    if (flag == 1)
6481
+                    if (flag == 1 || (model.F_Flag == null && flag == 3))
6478 6482
                     {
6479 6483
                         model.F_State = (int)EnumWorkOrderState.reassign;
6480 6484
                     }
@@ -6485,7 +6489,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
6485 6489
                 }
6486 6490
                 else
6487 6491
                 {
6488
-                    if (flag == 1)
6492
+                    if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
6489 6493
                     {
6490 6494
                         model.F_State = wostate;
6491 6495
                     }
@@ -6624,7 +6628,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
6624 6628
                 //}
6625 6629
                 #endregion
6626 6630
                 #region 处理工单
6627
-                if (flag == 1)
6631
+                if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
6628 6632
                 {
6629 6633
                     model.F_State = wostate;
6630 6634
                 }
@@ -6712,7 +6716,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
6712 6716
             if (itemid > 0)
6713 6717
             {
6714 6718
                 #region 处理工单
6715
-                if (flag == 1)
6719
+                if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
6716 6720
                 {
6717 6721
                     model.F_State = wostate;
6718 6722
                 }
@@ -6753,7 +6757,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
6753 6757
                             model.F_DealContent += cont + ";";
6754 6758
                         }
6755 6759
                     }
6756
-                    if (flag == 1)
6760
+                    if (flag == 1 || (model.F_Flag == null && flag == 3))
6757 6761
                     {
6758 6762
                         model.F_SuperiorOpinion = cont;
6759 6763
                     }
@@ -7026,8 +7030,8 @@ namespace CallCenterApi.Interface.Controllers.weixin
7026 7030
                         //{
7027 7031
                             if (CirculMarket(ua.F_DeptId, 11))
7028 7032
                             {
7029
-                                nextda = 37;
7030
-                                opt = "流转市场管理科";
7033
+                                nextda = 427;
7034
+                                opt = "流转运营中心";
7031 7035
                             }
7032 7036
                             else if (CirculMarket(ua.F_DeptId, 14))
7033 7037
                             {

+ 153 - 83
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs

@@ -275,7 +275,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
275 275
                             //{
276 276
                             //    sql += " and F_State2 in(10,11)";
277 277
                             //}
278
-                            sql += " and (F_State in(10,11) or  F_State2 in(10,11))";
278
+                            //sql += " and (F_State in(10,11) or  F_State2 in(10,11))";
279
+                            sql += " and ((F_State in(10,11) and F_Flag = null ) or (F_Flag=2 and F_State2 in(10,11)) or  (F_Flag=1 and F_State in(10,11)) or (F_Flag=3 and(F_State in(10,11) or F_State2 in(10,11))))";
279 280
                             sql += "  and F_DealBy in(" + GetDeptUserCode(ua.F_DeptId) + ") ";
280 281
                         }
281 282
 
@@ -394,7 +395,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
394 395
                         {
395 396
                             return Success("无操作权限"); ;
396 397
                         }
397
-                        sql += $" and (F_State=" + (int)EnumWorkOrderState.finish + " or F_State2=" + (int)EnumWorkOrderState.finish + ") and ( F_IsVisit = '" + "0" + "' or  F_Type = 3)"; ;
398
+                        sql += " and ((F_State=10 and ((F_Flag = null or F_Flag=0) and F_State2=10)) or (F_Flag=2 and F_State2=10) or  (F_Flag=1 and F_State=10) or (F_Flag=3 and(F_State=10 or F_State2=10))) and ( F_IsVisit = '" + "0" + "' or  F_Type = 3)";
399
+                        //sql += $" and (F_State=" + (int)EnumWorkOrderState.finish + " or F_State2=" + (int)EnumWorkOrderState.finish + ") and ( F_IsVisit = '" + "0" + "' or  F_Type = 3)"; ;
398 400
                         //sql += $" and F_State=" + (int)EnumWorkOrderState.finish + " and ( F_IsVisit = '" + "0" + "' or  F_Type = 3)"; ;
399 401
                         break;
400 402
                     case 8://待审批
@@ -636,8 +638,6 @@ namespace CallCenterApi.Interface.Controllers.workorder
636 638
             {
637 639
                 return Error("无操作权限!");
638 640
             }
639
-            #region 
640
-            #endregion
641 641
 
642 642
         }
643 643
         /// <summary>
@@ -657,7 +657,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
657 657
                 Model.T_Sys_RoleInfo ro = rolebll.GetModel(ua.F_RoleId);
658 658
                 string uwhere = " ";
659 659
                 string sql = "";
660
-                if (!Refresh() || !Refresh2())
660
+                if (!Refresh())
661 661
                 {
662 662
                     return Error("查询失败");
663 663
                 }
@@ -809,7 +809,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
809 809
                             //{
810 810
                             //    sql += " and F_State2 in(10,11)";
811 811
                             //}
812
-                            sql += " and (F_State in(10,11) or  F_State2 in(10,11))";
812
+                            sql += " and ((F_State in(10,11) and F_Flag = null ) or (F_Flag=2 and F_State2 in(10,11)) or  (F_Flag=1 and F_State in(10,11)) or (F_Flag=3 and(F_State in(10,11) or F_State2 in(10,11))))";
813 813
                             if (GetDeptUserCode(ua.F_DeptId) != "")
814 814
                             {
815 815
                                 sql += "  and F_DealBy in(" + GetDeptUserCode(ua.F_DeptId) + ") ";
@@ -862,18 +862,19 @@ namespace CallCenterApi.Interface.Controllers.workorder
862 862
                             {
863 863
                                 RV_awaitVist = 0;
864 864
                                 break;
865
-                            }                         
866
-                            sql += $" and ((F_State=" + (int)EnumWorkOrderState.finish + " and F_State2!=" + (int)EnumWorkOrderState.evaluate + ") or (F_State!=" + (int)EnumWorkOrderState.evaluate + " and F_State2=" + (int)EnumWorkOrderState.finish + "))  and F_IsVisit = '" + "1" + "' " + uwhere; ;
867
-                            //sql += $" and F_State=" + (int)EnumWorkOrderState.finish + " and F_IsVisit = '" + "1" + "' " + uwhere; ;
865
+                            }
866
+                            //sql += $" and ((F_State=" + (int)EnumWorkOrderState.finish + " and F_State2!=" + (int)EnumWorkOrderState.evaluate + ") or (F_State!=" + (int)EnumWorkOrderState.evaluate + " and F_State2=" + (int)EnumWorkOrderState.finish + "))  and F_IsVisit = '" + "1" + "' " + uwhere; ;
867
+                            sql += $" and F_State=" + (int)EnumWorkOrderState.finish + " and F_IsVisit = '" + "1" + "' " + uwhere; ;
868 868
                             RV_awaitVist = new BLL.T_Wo_WorkOrder().GetModelList(sql).Count;//待回访
869 869
 
870 870
                             break;
871 871
                         case 6://已回访
872
+                            string zxsql = "";
872 873
                             sql = "";
873 874
                             sql += $"  F_IsDelete=0";
874 875
                             if (ro.F_RoleCode == "JDYPTZX" || ro.F_RoleCode == "JDYBZZX")
875 876
                             {
876
-                                sql += " and (F_CreateBy= '" + ua.F_UserCode + "' or T_Wo_WorkOrder.F_ID in ( " + GetCYWorkOrderID(ua.F_UserCode) + ") or F_State =13)";
877
+                                zxsql = " and (F_CreateBy= '" + ua.F_UserCode + "' or T_Wo_WorkOrder.F_ID in ( " + GetCYWorkOrderID(ua.F_UserCode) + ") or F_State =13)";
877 878
                                 sql += $" and (F_State=" + (int)EnumWorkOrderState.evaluate+" or F_State2 = " + (int)EnumWorkOrderState.evaluate+")" ;
878 879
                             }
879 880
                             else if (ro.F_RoleCode == "XTGLY")
@@ -934,11 +935,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
934 935
                                 break;
935 936
                             }
936 937
                             string where = $"F_IsDelete=0 and (F_State in({(int)EnumWorkOrderState.finish},{(int)EnumWorkOrderState.evaluate}) or F_State2 in({(int)EnumWorkOrderState.finish},{(int)EnumWorkOrderState.evaluate}))"; ;
937
-                            RV_resultVisit = new BLL.T_Wo_WorkOrder().GetModelList(where).Count;//
938
+                            RV_resultVisit = new BLL.T_Wo_WorkOrder().GetModelList(where+ zxsql).Count;//
938 939
                             sql += $" and F_State=" + (int)EnumWorkOrderState.evaluate;
939 940
                             sql += $" and F_IsVisit=" + 1; ;
940 941
                             sql += $" and F_VisitBy !=''";
941
-                            RV_haveVisit = new BLL.T_Wo_WorkOrder().GetModelList(sql).Count;//已回访
942
+                            RV_haveVisit = new BLL.T_Wo_WorkOrder().GetModelList(sql+ zxsql).Count;//已回访
942 943
                             break;
943 944
                         case 7://待完结
944 945
                             sql = "";
@@ -952,7 +953,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
952 953
                                 DWJ = 0;
953 954
                                 break; ;
954 955
                             }
955
-                            sql += $" and (F_State=" + (int)EnumWorkOrderState.finish + " or F_State2=" + (int)EnumWorkOrderState.finish + ") and ( F_IsVisit = '" + "0" + "' or  F_Type = 3)"; ;
956
+                            sql += " and ((F_State=10 and ((F_Flag = null or F_Flag=0) and F_State2=10)) or (F_Flag=2 and F_State2=10) or  (F_Flag=1 and F_State=10) or (F_Flag=3 and(F_State=10 or F_State2=10))) and ( F_IsVisit = '" + "0" + "' or  F_Type = 3)";
956 957
                             //sql += $" and F_State=" + (int)EnumWorkOrderState.finish + " and ( F_IsVisit = '" + "0" + "' or  F_Type = 3) "; ;
957 958
                             DWJ = new BLL.T_Wo_WorkOrder().GetModelList(sql).Count;//待完结
958 959
                             break;
@@ -1094,22 +1095,22 @@ namespace CallCenterApi.Interface.Controllers.workorder
1094 1095
                         case 17://超期
1095 1096
                             sql = "";
1096 1097
                             sql += $"  F_IsDelete=0";
1097
-                            //sql += $" and (F_IsOver=1 or F_IsOver=2)";
1098
-                            //sql += $" and F_State !=" + 11;
1099
-                            if (ro.F_RoleCode == "JDYPTZX" || ro.F_RoleCode == "JDYBZZX" || ro.F_RoleCode == "XTGLY")
1100
-                            {
1101
-                                sql += $" and((F_IsOver in(1,3) and F_State !=11) or ( F_IsOver in (2,3) and  F_State2!=11))";
1102
-                            }
1103
-                            else if (ua.F_Flag == 1)
1104
-                            {
1105
-                                sql += $" and F_IsOver in (1,3)";
1106
-                                sql += $" and F_State !=" + 11;
1107
-                            }
1108
-                            else if (ua.F_Flag == 2)
1109
-                            {
1110
-                                sql += $" and  F_IsOver in (2,3)";
1111
-                                sql += $" and F_State2 !=" + 11;
1112
-                            }
1098
+                            sql += $" and F_IsOver=" + 1;
1099
+                            sql += $" and F_State !=" + 11;
1100
+                            //if (ro.F_RoleCode == "JDYPTZX" || ro.F_RoleCode == "JDYBZZX" || ro.F_RoleCode == "XTGLY")
1101
+                            //{
1102
+                            //    sql += $" and((F_IsOver in(1,3) and F_State !=11) or ( F_IsOver in (2,3) and  F_State2!=11))";
1103
+                            //}
1104
+                            //else if (ua.F_Flag == 1)
1105
+                            //{
1106
+                            //    sql += $" and F_IsOver in (1,3)";
1107
+                            //    sql += $" and F_State !=" + 11;
1108
+                            //}
1109
+                            //else if (ua.F_Flag == 2)
1110
+                            //{
1111
+                            //    sql += $" and  F_IsOver in (2,3)";
1112
+                            //    sql += $" and F_State2 !=" + 11;
1113
+                            //}
1113 1114
                             #region 退换货的工单按未超期处理 20220302
1114 1115
                             sql += $" and  F_ID not in (select F_ID from T_Wo_WorkOrder where F_SC_PreliminaryOpinion='退换货')";
1115 1116
                             #endregion
@@ -1681,8 +1682,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
1681 1682
             if (CirculMarket(ua.F_DeptId, 11))
1682 1683
             {
1683 1684
                 isbl = 1;
1684
-                nextda = 37;
1685
-                opt = "流转市场管理科";
1685
+                nextda = 427;
1686
+                opt = "流转运营中心";
1686 1687
                 //nextda2 = 36;
1687 1688
                 //opt2 = "流转质量管理科";
1688 1689
                 //flag = 3;
@@ -2450,7 +2451,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
2450 2451
                     if (markdepts.Contains(ua.F_DeptId.ToString()))
2451 2452
                     {
2452 2453
                         var itemnext = itembll.GetModelList(" F_ItemType=" + (int)EnumItemType.deal + " and F_WoState =1 and  F_WoID='" + model.F_ID + "'and F_NextUser like '%" + ua.F_UserCode + "%' order by F_ID desc").FirstOrDefault();
2453
-                        if (itemlast.Count == 2 || itemnext.F_Flag == 9)
2454
+                        if (itemlast.Count == 2 || (itemnext!=null && itemnext.F_Flag == 9))
2454 2455
                         {
2455 2456
                             woflag = 9;
2456 2457
                         }
@@ -3791,7 +3792,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3791 3792
             int userId = CurrentUser.UserData.F_UserId;
3792 3793
             if (userId != 0)
3793 3794
             {
3794
-                if (!Refresh() || !Refresh2())
3795
+                if (!Refresh())
3795 3796
                 {
3796 3797
                     return Error("查询失败");
3797 3798
                 }
@@ -3838,27 +3839,28 @@ namespace CallCenterApi.Interface.Controllers.workorder
3838 3839
                 {
3839 3840
                     sql += $" and F_TS_Category='" + product.Trim() + "'";
3840 3841
                 }
3841
-                Model.T_Sys_UserAccount ua = sysUserAccountBll.GetModel(userId);
3842
-                Model.T_Sys_RoleInfo ro = rolebll.GetModel(ua.F_RoleId);
3843
-
3844 3842
                 if (state > 0)
3845 3843
                 {
3846 3844
                     sql += $" and F_State =" + state;
3847 3845
                 }
3848
-                if (ro.F_RoleCode == "JDYPTZX" || ro.F_RoleCode == "JDYBZZX" || ro.F_RoleCode == "XTGLY")
3849
-                {
3850
-                    sql += $" and((F_IsOver in(1,3) and F_State !=11) or ( F_IsOver in (2,3) and  F_State2!=11))";
3851
-                }
3852
-                else if (ua.F_Flag == 1)
3853
-                {
3854
-                    sql += $" and F_IsOver in (1,3)";
3855
-                    sql += $" and F_State !=" + 11;
3856
-                }
3857
-                else if (ua.F_Flag == 2)
3858
-                {
3859
-                    sql += $" and  F_IsOver in (2,3)";
3860
-                    sql += $" and F_State2 !=" + 11;
3861
-                }
3846
+                sql += $" and F_IsOver=" + 1;
3847
+                sql += $" and F_State !=" + 11;
3848
+                Model.T_Sys_UserAccount ua = sysUserAccountBll.GetModel(userId);
3849
+                Model.T_Sys_RoleInfo ro = rolebll.GetModel(ua.F_RoleId);
3850
+                //if (ro.F_RoleCode == "JDYPTZX" || ro.F_RoleCode == "JDYBZZX" || ro.F_RoleCode == "XTGLY")
3851
+                //{
3852
+                //    sql += $" and((F_IsOver in(1,3) and F_State !=11) or ( F_IsOver in (2,3) and  F_State2!=11))";
3853
+                //}
3854
+                //else if (ua.F_Flag == 1)
3855
+                //{
3856
+                //    sql += $" and F_IsOver in (1,3)";
3857
+                //    sql += $" and F_State !=" + 11;
3858
+                //}
3859
+                //else if (ua.F_Flag == 2)
3860
+                //{
3861
+                //    sql += $" and  F_IsOver in (2,3)";
3862
+                //    sql += $" and F_State2 !=" + 11;
3863
+                //}
3862 3864
                 if (ro.F_RoleCode == "YWY" || ro.F_RoleCode == "BLRY")
3863 3865
                 {
3864 3866
                     sql += $" and F_DealBy like '%" + ua.F_UserCode.Trim() + "%'";
@@ -5534,8 +5536,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
5534 5536
                             //{
5535 5537
                             if (CirculMarket(ua.F_DeptId, 11))
5536 5538
                             {
5537
-                                nextda = 37;
5538
-                                opt = "流转市场管理科";
5539
+                                nextda = 427;
5540
+                                opt = "流转运营中心";
5539 5541
                             }
5540 5542
                             else if (CirculMarket(ua.F_DeptId, 14))
5541 5543
                             {
@@ -5579,7 +5581,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
5579 5581
                             //}
5580 5582
                             if (nextda != 0)
5581 5583
                             {
5582
-                                var res = AssignWO(ua, modlelist, input, opt, "", nextda, 0, 0, 0, 0, 0, 0, "", 1);
5584
+                                modlelist.F_Flag = 9;
5585
+                                modlelist.F_State = 1;
5586
+                                modlelist.F_State2 = 0;
5587
+                                var res = AssignWO(ua, modlelist, input, opt, "", nextda, 0, 0, 0, 0, 0, 0, "", 1,3,9);
5583 5588
                                 if (res)
5584 5589
                                     return Success("添加成功");
5585 5590
                                 else
@@ -5933,8 +5938,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
5933 5938
                                 //{
5934 5939
                                 if (CirculMarket(ua.F_DeptId, 11))
5935 5940
                                 {
5936
-                                    nextda = 37;
5937
-                                    opt = "流转市场管理科";
5941
+                                    nextda = 427;
5942
+                                    opt = "流转运营中心";
5938 5943
                                 }
5939 5944
                                 else if (CirculMarket(ua.F_DeptId, 14))
5940 5945
                                 {
@@ -5977,7 +5982,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5977 5982
                                 //}
5978 5983
                                 if (nextda != 0)
5979 5984
                                 {
5980
-                                    var res = AssignWO(ua, model, input, opt, "", nextda, 0, model.F_limit, 0, 0, 0, 0, "", 1);
5985
+                                    var res = AssignWO(ua, model, input, opt, "", nextda, 0, model.F_limit, 0, 0, 0, 0, "",1,1,9);
5981 5986
                                     if (res)
5982 5987
                                         return Success("保存成功");
5983 5988
                                     else
@@ -6137,7 +6142,6 @@ namespace CallCenterApi.Interface.Controllers.workorder
6137 6142
                     #region 基本字段
6138 6143
                     model.F_ID = model1[i].F_ID;//
6139 6144
                     model.F_WorkOrderCode = model1[i].F_WorkOrderCode;//工单编号
6140
-                    #region
6141 6145
                     if (!string.IsNullOrEmpty(model1[i].F_Source))
6142 6146
                     {
6143 6147
                         model.F_Source = int.Parse(model1[i].F_Source);//工单来源
@@ -6147,7 +6151,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6147 6151
                         model1[i].F_Source = "1";
6148 6152
                         model.F_Source = int.Parse(model1[i].F_Source);//工单来源
6149 6153
                     }
6150
-                    if (model1[i].F_Source == "1")
6154
+                    if (model1[i].F_Source == "1" || model1[i].F_Source=="0")
6151 6155
                     {
6152 6156
                         model.F_SourceName = "电话";
6153 6157
                     }
@@ -6494,23 +6498,26 @@ namespace CallCenterApi.Interface.Controllers.workorder
6494 6498
                         model.RemainingTime = string.Format("剩余{0:f0}天{1:f0}时{2:f0}分", days, hours, minutes);
6495 6499
                     else
6496 6500
                         model.RemainingTime = string.Format("超时{0:f0}天{1:f0}时{2:f0}分", days, hours, minutes);
6497
-                    #endregion
6501
+                    //if (days<=1 && days>=0)
6502
+                    //{
6503
+                    //    SendTimeOverMes(model1[i].F_ID, hours);
6504
+                    //}
6498 6505
 
6499
-                    #region 内线超时时间计算
6500
-                    float c2 = TimeToOver(model1[i].F_ID, model1[i].F_limit, 2);
6501
-                    float a2 = Math.Abs(c2);
6502
-                    int days2 = (int)Math.Floor(Convert.ToDouble(a2 / 24));
6503
-                    int hours2 = days2 > 0
6504
-                                   ? (int)Math.Floor(Convert.ToDouble((a2 - days2 * 24)))
6505
-                                   : (int)Math.Floor(Convert.ToDouble(a2));
6506
-                    float minutes2 = hours2 > 0
6507
-                                   ? a2 * 60 - days2 * 1440 - hours2 * 60
6508
-                                   : 0;
6509
-                    if (c2 > 0)
6510
-                        model.RemainingTime2 = string.Format("剩余{0:f0}天{1:f0}时{2:f0}分", days2, hours2, minutes2);
6511
-                    else
6512
-                        model.RemainingTime2 = string.Format("超时{0:f0}天{1:f0}时{2:f0}分", days2, hours2, minutes2);
6513
-                    #endregion
6506
+                    //#region 内线超时时间计算
6507
+                    //float c2 = TimeToOver(model1[i].F_ID, model1[i].F_limit, 2);
6508
+                    //float a2 = Math.Abs(c2);
6509
+                    //int days2 = (int)Math.Floor(Convert.ToDouble(a2 / 24));
6510
+                    //int hours2 = days2 > 0
6511
+                    //               ? (int)Math.Floor(Convert.ToDouble((a2 - days2 * 24)))
6512
+                    //               : (int)Math.Floor(Convert.ToDouble(a2));
6513
+                    //float minutes2 = hours2 > 0
6514
+                    //               ? a2 * 60 - days2 * 1440 - hours2 * 60
6515
+                    //               : 0;
6516
+                    //if (c2 > 0)
6517
+                    //    model.RemainingTime2 = string.Format("剩余{0:f0}天{1:f0}时{2:f0}分", days2, hours2, minutes2);
6518
+                    //else
6519
+                    //    model.RemainingTime2 = string.Format("超时{0:f0}天{1:f0}时{2:f0}分", days2, hours2, minutes2);
6520
+                    //#endregion
6514 6521
 
6515 6522
                     model.F_VisitOn = model1[i].F_VisitOn;//回访时间
6516 6523
                     model.F_VisitBy = model1[i].F_VisitBy;//回访人
@@ -6646,6 +6653,69 @@ namespace CallCenterApi.Interface.Controllers.workorder
6646 6653
                 return null;
6647 6654
             }
6648 6655
         }
6656
+
6657
+
6658
+        /// <summary>
6659
+        /// 工单超期24小时提醒市场管理科
6660
+        /// </summary>
6661
+        /// <param name="woid"></param>
6662
+        /// <returns></returns>
6663
+        public ActionResult SmsOverTimeMs()
6664
+        {
6665
+            LogFactory.GetLogger("定时任务发短信").Error("开始了");
6666
+            var modlelist = workOrder.GetModelList("  F_IsDelete=0" + "and F_IsOver=0" + " and F_State in(" + (int)EnumWorkOrderState.dealing + "," + (int)EnumWorkOrderState.receive + "," +
6667
+               (int)EnumWorkOrderState.assign + "," + (int)EnumWorkOrderState.reback + "," + (int)EnumWorkOrderState.abreback + "," + (int)EnumWorkOrderState.finish + ")");
6668
+            if (modlelist.Count > 0)
6669
+            {
6670
+                foreach (var it in modlelist)
6671
+                {
6672
+                    float c = TimeToOver(it.F_ID, it.F_limit);
6673
+                    float a = Math.Abs(c);
6674
+                    int days = (int)Math.Floor(Convert.ToDouble(a / 24));
6675
+                    if (days >= 0 && days <= 1)
6676
+                    {
6677
+                        int hours = (int)Math.Floor(Convert.ToDouble((a - days * 24)));
6678
+                        SendTimeOverMes(it.F_ID, hours);
6679
+                    }
6680
+                }
6681
+
6682
+            }
6683
+            return Success("发送成功");
6684
+        }
6685
+        public bool SendTimeOverMes(int woid,int hours)
6686
+        {
6687
+            //你有工单{ 1}已超期{ 2},请及时处理
6688
+            var model = workOrder.GetModel(woid);
6689
+            if (model != null)
6690
+            {
6691
+                LogFactory.GetLogger("工单id:").Error(model.F_WorkOrderCode);
6692
+                string touser = "";
6693
+                string[] mag = { hours.ToString(),model.F_WorkOrderCode };
6694
+                string smsmsg = $"您有一个工单即将超期,剩余时间{hours}小时,请尽快办理,工单编号:{model.F_WorkOrderCode }";
6695
+                string strwhere = $" F_DeptId in (select top 1 F_NextDept  from T_Wo_WorkOrderItem_New where F_WoID={model.F_ID} and F_NextDept in(37,57,74,88,268,295,339,422,213,427) order by F_CreateTime desc)";
6696
+                var deptmodel = departmentBLL.GetModelList(strwhere).FirstOrDefault();
6697
+                if (deptmodel != null)
6698
+                {
6699
+                    var userlist = sysUserAccountBll.GetModelList("F_DeptId=" + deptmodel.F_DeptId);
6700
+                    if (userlist.Count > 0)
6701
+                    {
6702
+                        foreach (var item in userlist)  
6703
+                        {
6704
+                            touser = item.F_UserCode; ;
6705
+                            if (!string.IsNullOrEmpty(item.F_Mobile))
6706
+                            {
6707
+                                LogFactory.GetLogger("手机号码:").Error(item.F_Mobile);
6708
+                                //SmsSingleSenderResult result = new SMSController().SMSSingleshot(1458874, mag, item.F_Mobile.Trim());
6709
+                                //bool n = new SMSController().AddSmS(item.F_Mobile.Trim(), smsmsg, userId);
6710
+                            }
6711
+                        }
6712
+                        return true;
6713
+                    }
6714
+                }
6715
+                return false;
6716
+            }
6717
+            else return false;
6718
+        }
6649 6719
         private string AssCont(int id)
6650 6720
         {
6651 6721
             string cont = "";
@@ -7770,7 +7840,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
7770 7840
         {
7771 7841
             #region 工单处理
7772 7842
             int sms = 0;
7773
-            int woflag = model.F_Flag;
7843
+            int? woflag = model.F_Flag;
7774 7844
             string strsql = "";
7775 7845
             if (woflag == 1)
7776 7846
             {
@@ -9158,7 +9228,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
9158 9228
                 #region 处理工单
9159 9229
                 if (deptid == 2)
9160 9230
                 {
9161
-                    if (flag == 1)
9231
+                    if (flag == 1 ||((model.F_Flag==null || model.F_Flag == 0) && model.F_State2==10 && flag==3))
9162 9232
                     {
9163 9233
                         model.F_State = (int)EnumWorkOrderState.reassign;
9164 9234
                     }
@@ -9169,7 +9239,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
9169 9239
                 }
9170 9240
                 else
9171 9241
                 {
9172
-                    if (flag == 1)
9242
+                    if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
9173 9243
                     {
9174 9244
                         model.F_State = wostate;
9175 9245
                     }
@@ -9307,7 +9377,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
9307 9377
                 //}
9308 9378
                 #endregion
9309 9379
                 #region 处理工单
9310
-                if (flag == 1)
9380
+                if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
9311 9381
                 {
9312 9382
                     model.F_State = wostate;
9313 9383
                 }
@@ -9588,7 +9658,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
9588 9658
             if (itemid > 0)
9589 9659
             {
9590 9660
                 #region 处理工单
9591
-                if (flag == 1)
9661
+                if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
9592 9662
                 {
9593 9663
                     model.F_State = wostate;
9594 9664
                 }
@@ -9631,11 +9701,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
9631 9701
                         }
9632 9702
 
9633 9703
                     }
9634
-                    if (flag == 1 && model.F_Flag != 2)
9704
+                    if (flag == 1 || (model.F_Flag == null && flag == 3))
9635 9705
                     {
9636 9706
                         model.F_SuperiorOpinion = cont;
9637 9707
                     }
9638
-                    else if (flag == 2 && model.F_Flag != 1)
9708
+                    else if (flag == 2)
9639 9709
                     {
9640 9710
                         model.F_SuperiorOpinion2= cont;
9641 9711
                     }                 
@@ -9762,7 +9832,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
9762 9832
             if (itemid > 0)
9763 9833
             {
9764 9834
                 #region 处理工单
9765
-                if (flag == 1)
9835
+                if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
9766 9836
                 {
9767 9837
                     model.F_State = wostate;//已接单待处理
9768 9838
                 }
@@ -10083,7 +10153,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
10083 10153
                 #region 处理工单
10084 10154
                 //工单完结要更新工单的状态
10085 10155
                 //   model.F_DealBy = touser;
10086
-                if (flag == 1)
10156
+                if (flag == 1 || ((model.F_Flag == null || model.F_Flag == 0) && model.F_State2 == 10 && flag == 3))
10087 10157
                 {
10088 10158
                     model.F_State = wostate;
10089 10159
                 }

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Models/Input/WorkOrderNewInput.cs

@@ -1009,7 +1009,7 @@ namespace CallCenterApi.Interface.Models.Input
1009 1009
         /// </summary>
1010 1010
         public string SuperiorOpinion2 { get; set; }
1011 1011
 
1012
-        public int F_Flag { get; set; }
1012
+        public int? F_Flag { get; set; }
1013 1013
         
1014 1014
         public int? inout { get; set; }
1015 1015
         public int? woflag { get; set; }

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Model/T_Wo_WorkOrder.cs

@@ -1059,7 +1059,7 @@ namespace CallCenterApi.Model
1059 1059
         /// <summary>
1060 1060
         /// 1单线外2单线内3双线9市场科可以双线指派工单
1061 1061
         /// </summary>
1062
-        public int F_Flag { get; set; }
1062
+        public int? F_Flag { get; set; }
1063 1063
 
1064 1064
         #endregion Model
1065 1065
 

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Model/T_Wo_WorkOrderItem_New.cs

@@ -180,7 +180,7 @@ namespace CallCenterApi.Model
180 180
         /// <summary>
181 181
         /// 1单线外2单线内3双线9自动流转市场管理科可以双线指派的工单
182 182
         /// </summary>
183
-        public int F_Flag { get; set; }
183
+        public int? F_Flag { get; set; }
184 184
         #endregion Model
185 185
 
186 186
     }

+ 9 - 0
codegit/ConsoleApp1/App.config

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="utf-8" ?>
2
+<configuration>
3
+    <startup> 
4
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
5
+    </startup>
6
+  <appSettings>
7
+    <add key="smsurl" value="http://192.168.8.9:1005/"/>
8
+   </appSettings>
9
+</configuration>

+ 80 - 0
codegit/ConsoleApp1/Program.cs

@@ -0,0 +1,80 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Net;
5
+using System.Reflection;
6
+using System.Text;
7
+using System.Threading.Tasks;
8
+using System.Timers;
9
+using System.Configuration;
10
+
11
+namespace Task
12
+{
13
+    class Program
14
+    {
15
+        static void Main(string[] args)
16
+        {
17
+            System.Timers.Timer aTimer = new System.Timers.Timer();
18
+            aTimer.Elapsed += new ElapsedEventHandler(TimeEvent);
19
+            // 设置引发时间的时间间隔 此处设置为1秒(1000毫秒)
20
+            aTimer.Interval = 2000;
21
+            aTimer.Enabled = true;
22
+            Console.WriteLine("按回车键结束程序");
23
+            Console.WriteLine(" 等待程序的执行......");
24
+            Console.ReadKey();
25
+        }
26
+
27
+        private static void TimeEvent(object source, ElapsedEventArgs e)
28
+        {
29
+            Console.WriteLine("进入定时监控程序......");
30
+            // 得到 hour minute second   如果等于某个值就开始执行某个程序。
31
+            DateTime date1 = e.SignalTime;
32
+            int intHour = e.SignalTime.Hour;
33
+            int intMinute = e.SignalTime.Minute;
34
+            int intSecond = e.SignalTime.Second;
35
+            //Console.WriteLine(intHour);
36
+            //Console.WriteLine(intMinute);
37
+            //Console.WriteLine(intSecond);
38
+            // 定制时间; 比如 在10:30 :00 的时候执行某个函数
39
+            int iHour = 9;
40
+            int iMinute = 53;
41
+            int iSecond = 01;
42
+            // 设置 多少秒的时候开始执行
43
+            if (intSecond == iSecond)
44
+            {
45
+                Console.WriteLine("每秒钟的开始执行一次!");
46
+            }
47
+            // 设置 每个小时的30分钟开始执行
48
+            if (intMinute == iMinute && intSecond == iSecond)
49
+            {
50
+                Console.WriteLine("每个小时的30分钟开始执行一次!");
51
+            }
52
+
53
+            // 设置 每天的10:30:00开始执行程序
54
+            //if (intHour == iHour && intMinute == iMinute && intSecond == iSecond)
55
+            //{
56
+            //}
57
+
58
+            using (var client = new WebClient())
59
+            {
60
+
61
+                client.Encoding = Encoding.UTF8;
62
+                try
63
+                {
64
+                    // 读取配置文件进行所有的连接初始化操作
65
+                   //var Configs = AppDomain.CurrentDomain.SetupInformation.ApplicationBase + "\\FlightChangeAutomation.config"; ////(配置文件名字)
66
+                   // string url = ConfigurationManager.AppSettings[""];
67
+                    string serviceAddress = "http://192.168.8.9:1005/WorkOrderNew/SmsOverTimeMs";
68
+                    //var data = client.DownloadString(serviceAddress);
69
+                }
70
+                catch
71
+                {
72
+                }
73
+                          
74
+
75
+            }
76
+
77
+
78
+        }
79
+    }
80
+}

+ 36 - 0
codegit/ConsoleApp1/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
1
+using System.Reflection;
2
+using System.Runtime.CompilerServices;
3
+using System.Runtime.InteropServices;
4
+
5
+// 有关程序集的一般信息由以下
6
+// 控制。更改这些特性值可修改
7
+// 与程序集关联的信息。
8
+[assembly: AssemblyTitle("ConsoleApp1")]
9
+[assembly: AssemblyDescription("")]
10
+[assembly: AssemblyConfiguration("")]
11
+[assembly: AssemblyCompany("")]
12
+[assembly: AssemblyProduct("ConsoleApp1")]
13
+[assembly: AssemblyCopyright("Copyright ©  2022")]
14
+[assembly: AssemblyTrademark("")]
15
+[assembly: AssemblyCulture("")]
16
+
17
+// 将 ComVisible 设置为 false 会使此程序集中的类型
18
+//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
19
+//请将此类型的 ComVisible 特性设置为 true。
20
+[assembly: ComVisible(false)]
21
+
22
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23
+[assembly: Guid("305fe8dd-4b18-401a-b242-1793d562e451")]
24
+
25
+// 程序集的版本信息由下列四个值组成: 
26
+//
27
+//      主版本
28
+//      次版本
29
+//      生成号
30
+//      修订号
31
+//
32
+// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
33
+// 方法是按如下所示使用“*”: :
34
+// [assembly: AssemblyVersion("1.0.*")]
35
+[assembly: AssemblyVersion("1.0.0.0")]
36
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 53 - 0
codegit/ConsoleApp1/Task.csproj

@@ -0,0 +1,53 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
+  <PropertyGroup>
5
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
+    <ProjectGuid>{305FE8DD-4B18-401A-B242-1793D562E451}</ProjectGuid>
8
+    <OutputType>Exe</OutputType>
9
+    <RootNamespace>ConsoleApp1</RootNamespace>
10
+    <AssemblyName>ConsoleApp1</AssemblyName>
11
+    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12
+    <FileAlignment>512</FileAlignment>
13
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14
+    <Deterministic>true</Deterministic>
15
+  </PropertyGroup>
16
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
+    <PlatformTarget>AnyCPU</PlatformTarget>
18
+    <DebugSymbols>true</DebugSymbols>
19
+    <DebugType>full</DebugType>
20
+    <Optimize>false</Optimize>
21
+    <OutputPath>bin\Debug\</OutputPath>
22
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
23
+    <ErrorReport>prompt</ErrorReport>
24
+    <WarningLevel>4</WarningLevel>
25
+  </PropertyGroup>
26
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27
+    <PlatformTarget>AnyCPU</PlatformTarget>
28
+    <DebugType>pdbonly</DebugType>
29
+    <Optimize>true</Optimize>
30
+    <OutputPath>bin\Release\</OutputPath>
31
+    <DefineConstants>TRACE</DefineConstants>
32
+    <ErrorReport>prompt</ErrorReport>
33
+    <WarningLevel>4</WarningLevel>
34
+  </PropertyGroup>
35
+  <ItemGroup>
36
+    <Reference Include="System" />
37
+    <Reference Include="System.Core" />
38
+    <Reference Include="System.Xml.Linq" />
39
+    <Reference Include="System.Data.DataSetExtensions" />
40
+    <Reference Include="Microsoft.CSharp" />
41
+    <Reference Include="System.Data" />
42
+    <Reference Include="System.Net.Http" />
43
+    <Reference Include="System.Xml" />
44
+  </ItemGroup>
45
+  <ItemGroup>
46
+    <Compile Include="Program.cs" />
47
+    <Compile Include="Properties\AssemblyInfo.cs" />
48
+  </ItemGroup>
49
+  <ItemGroup>
50
+    <None Include="App.config" />
51
+  </ItemGroup>
52
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
53
+</Project>

+ 11 - 2
codegit/XinXiangXLXCallCenter.sln

@@ -1,7 +1,7 @@
1 1
 
2 2
 Microsoft Visual Studio Solution File, Format Version 12.00
3
-# Visual Studio 14
4
-VisualStudioVersion = 14.0.25420.1
3
+# Visual Studio 15
4
+VisualStudioVersion = 15.0.28307.1525
5 5
 MinimumVisualStudioVersion = 10.0.40219.1
6 6
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CallCenterApi", "CallCenterApi", "{2E2CE78D-00E7-45A0-AED8-2FB60B3E8F06}"
7 7
 EndProject
@@ -27,6 +27,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CallCenterAPI.WechatSDK", "
27 27
 EndProject
28 28
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CallCenter.QuartzService", "CallCenterCommon\CallCenter.QuartzService\CallCenter.QuartzService.csproj", "{8DE4B8BC-1E88-4530-B129-E79C5119D6FD}"
29 29
 EndProject
30
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task", "ConsoleApp1\Task.csproj", "{305FE8DD-4B18-401A-B242-1793D562E451}"
31
+EndProject
30 32
 Global
31 33
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
32 34
 		Debug|Any CPU = Debug|Any CPU
@@ -73,6 +75,10 @@ Global
73 75
 		{8DE4B8BC-1E88-4530-B129-E79C5119D6FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
74 76
 		{8DE4B8BC-1E88-4530-B129-E79C5119D6FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
75 77
 		{8DE4B8BC-1E88-4530-B129-E79C5119D6FD}.Release|Any CPU.Build.0 = Release|Any CPU
78
+		{305FE8DD-4B18-401A-B242-1793D562E451}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
79
+		{305FE8DD-4B18-401A-B242-1793D562E451}.Debug|Any CPU.Build.0 = Debug|Any CPU
80
+		{305FE8DD-4B18-401A-B242-1793D562E451}.Release|Any CPU.ActiveCfg = Release|Any CPU
81
+		{305FE8DD-4B18-401A-B242-1793D562E451}.Release|Any CPU.Build.0 = Release|Any CPU
76 82
 	EndGlobalSection
77 83
 	GlobalSection(SolutionProperties) = preSolution
78 84
 		HideSolutionNode = FALSE
@@ -89,4 +95,7 @@ Global
89 95
 		{C8841B5E-5072-4B5E-B656-6E06C95A6B47} = {2E2CE78D-00E7-45A0-AED8-2FB60B3E8F06}
90 96
 		{8DE4B8BC-1E88-4530-B129-E79C5119D6FD} = {0AA6CF16-D74D-4FD4-A921-F9A4D8E74E59}
91 97
 	EndGlobalSection
98
+	GlobalSection(ExtensibilityGlobals) = postSolution
99
+		SolutionGuid = {D8B8293E-B198-4124-82AE-BCB665BAA089}
100
+	EndGlobalSection
92 101
 EndGlobal