Parcourir la Source

省平台工单,公安局对接

duhongyu il y a 3 ans
Parent
commit
237c85f173

+ 434 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/ShangQiuWorkOrderController.cs

@@ -3,11 +3,15 @@ using CallCenter.Utility.log;
3 3
 using CallCenterApi.Common;
4 4
 using CallCenterApi.DB;
5 5
 using CallCenterApi.Interface.Controllers.Base;
6
+using CallCenterApi.Interface.Models.Common;
6 7
 using Newtonsoft.Json.Linq;
7 8
 using System;
8 9
 using System.Collections.Generic;
9 10
 using System.Data;
10 11
 using System.Linq;
12
+using System.Net;
13
+using System.Text;
14
+using System.Threading.Tasks;
11 15
 using System.Transactions;
12 16
 using System.Web;
13 17
 using System.Web.Mvc;
@@ -425,7 +429,437 @@ namespace CallCenterApi.Interface.Controllers.workorder
425 429
             }
426 430
             return fileurls.Trim('|');
427 431
         }
432
+        public ActionResult GetTimeS()
433
+        {
434
+            return Success("",DateTimeConvert.ToTimetag(DateTime.Now));
435
+        }
436
+        public ActionResult SecurityCode(long  startTime)
437
+        {
438
+            string SecurityCode = Configs.GetValue("GriddingCode"); 
439
+            string pwd = CommonHelper.MD5(SecurityCode + startTime);
440
+            return Success("", pwd);
441
+        }
442
+        public ActionResult GetList(long startTime,string port_password ,int type=0)
443
+        {
444
+            DataTable dt = new DataTable();
445
+            
446
+            string sql = " and F_IsDelete=0";
447
+            string where = "";
448
+            try
449
+            {
450
+                DateTime time = DateTimeConvert.FromTimetag(startTime);
451
+                where += " and F_CreateTime >= '" + time.ToString("yyyy-MM-dd HH:mm:ss") + "'";
452
+            }
453
+            catch
454
+            {
455
+                var err = new
456
+                {
457
+                    code = "1",
458
+                    message = "时间戳错误"
459
+                };
460
+                return Content(err.ToJson());
461
+            }
462
+            if (!Common.CodeValidate.ICodeValidateGridding(startTime.ToString (), port_password))
463
+            {
464
+                var err = new
465
+                {
466
+                    code = "1",
467
+                    message = "安全验证未通过"
468
+                };
469
+                return Content(err.ToJson());
470
+            }
471
+           
472
+            int[] sts = new int[] { (int)EnumWorkState.receive, (int)EnumWorkState.dealing, (int)EnumWorkState.reload };
473
+            sql += " and F_WorkState in (" + string.Join(",", sts.Select(p => p.ToString())) + ")";
474
+            if(type ==0)
475
+            {
476
+                sql += " and F_WorkOrderId in (select F_WorkOrderId from T_Bus_AssignedInfo WITH(NOLOCK) where F_State=1 and F_IsDelete=0 and "
477
+                       + " ISNULL(F_FeedbackTime, '')='' and F_MainDeptId =" + 29 + " and F_IsSure in (0,1)  " +
478
+                       "" + where + ")";
479
+            }
480
+            else
481
+            {
482
+                sql += " and F_WorkOrderId in (select F_WorkOrderId from T_Bus_AssignedItemInfo WITH(NOLOCK) where F_State=1 and F_IsDelete=0 and "
483
+                  + " ISNULL(F_FeedbackTime, '')='' "+ where;
484
+                sql += " and F_DeptId =" +29;
485
+                sql += ")";
486
+            }
487
+           
488
+            string cols = "F_WorkOrderId,F_CusName,F_IsProtect,F_File,F_CusSex,F_CusPhone,F_CusAddress,F_ConName,F_ConPhone,F_ComTitle,F_ComContent,F_InfoType";
489
+            int recordCount = 0;
490
+            dt = BLL.PagerBLL.GetListPager(
491
+                "T_Bus_WorkOrder WITH(NOLOCK)",
492
+                "F_WorkOrderId",
493
+                cols,
494
+                sql,
495
+                "ORDER BY F_CreateTime DESC",
496
+                1000,
497
+                1,
498
+                true,
499
+                out recordCount);
500
+            dt.Columns.Add("F_FileUrl", typeof(string));//
501
+            var configfj = configBll.GetModelList(" F_ParamCode='FileUrlPath' ").FirstOrDefault();
502
+            foreach (DataRow dr in dt.Rows)
503
+            {
504
+
505
+                if (configfj != null)
506
+                {
507
+                    if (dr["F_File"] != null && dr["F_File"].ToString() != "")
508
+                    {
509
+                        dr["F_FileUrl"] = GetFileData(dr["F_File"].ToString(), configfj.F_ParamValue);
510
+                    }
511
+                   
512
+                }
513
+                if (dr["F_IsProtect"] != null)
514
+                {
515
+                    string isp = dr["F_IsProtect"].ToString();
516
+                    if (isp == "1")
517
+                    {
518
+                        dr["F_CusName"] = "保密";
519
+                        dr["F_CusPhone"] = "保密";
520
+                        dr["F_ConName"] = "保密";
521
+                        dr["F_ConPhone"] = "保密";
522
+                    }
523
+                }
524
+            }
525
+            var obj = new
526
+            {
527
+                code = "0",
528
+                message = "成功",
529
+                rows = dt,
530
+                total = recordCount
531
+            };
532
+            return Content(obj.ToJson());
533
+        }
534
+       
535
+
536
+        public ActionResult Handle(long startTime, string port_password,string workOrderId,string result,int type=0)
537
+        {
538
+            try
539
+            {
540
+                DateTime time = DateTimeConvert.FromTimetag(startTime);
541
+            }
542
+            catch
543
+            {
544
+                var err = new
545
+                {
546
+                    code = "1",
547
+                    message = "时间戳错误"
548
+                };
549
+                return Content(err.ToJson());
550
+            }
551
+            if (!Common.CodeValidate.ICodeValidateGridding(startTime.ToString(), port_password))
552
+            {
553
+                var err = new
554
+                {
555
+                    code = "1",
556
+                    message = "安全验证未通过"
557
+                };
558
+                return Content(err.ToJson());
559
+            }
560
+            Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = new BLL.T_Bus_WorkOrder().GetModel(workOrderId);
561
+            Model.T_Bus_AssignedInfo modelT_Bus_AssignedInfo = new BLL.T_Bus_AssignedInfo().GetNewModelByWorkOrderID(workOrderId);
562
+            if (type ==0|| type == 1)
563
+            {
564
+            
565
+                Model.T_Bus_Feedback modelT_Bus_Feedback = new Model.T_Bus_Feedback();
566
+                
567
+                if (modelT_Bus_WorkOrder.F_WorkState != 2 && modelT_Bus_WorkOrder.F_WorkState != 4 && modelT_Bus_WorkOrder.F_WorkState != 8)
568
+                {
569
+                    var err = new
570
+                    {
571
+                        code = "1",
572
+                        message = "工单已处理,不可重复操作"
573
+                    };
574
+                    return Content(err.ToJson());
575
+                }
576
+                using (TransactionScope trans = new TransactionScope())
577
+                {
578
+                    
579
+                        #region 插入反馈记录
580
+                        modelT_Bus_Feedback.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;//
581
+                        modelT_Bus_Feedback.F_AssignedId = modelT_Bus_AssignedInfo.F_Id;//
582
+                        modelT_Bus_Feedback.F_DealUser = "8138";
583
+                        modelT_Bus_Feedback.F_Result = result;//反馈内容
584
+                        #region 20200114新增字段 zhengbingbing
585
+                        modelT_Bus_Feedback.F_IsProResult = 1;//是否有处理结果:0默认,1是,2否
586
+                        modelT_Bus_Feedback.F_ProSituation = "";//处理情况/方案/进程
587
+                        modelT_Bus_Feedback.F_IsProtect = modelT_Bus_WorkOrder.F_IsProtect;//是否保密(0:否1:是)
588
+                        modelT_Bus_Feedback.F_DealUserContact = "";//承办人联系方式
589
+                        DateTime contime = DateTime.Now;
590
+                      
591
+                        modelT_Bus_Feedback.F_ConnectMode = "";//沟通方式
592
+                        modelT_Bus_Feedback.F_ReplyContent = "";//答复内容
593
+                        modelT_Bus_Feedback.F_IsSatisfied = 0;//是否满意:0未评价,1满意,2基本满意,3不满意
594
+                        modelT_Bus_Feedback.F_Duties = "";//职务
595
+                        modelT_Bus_Feedback.F_Situation = result;
596
+                        #endregion
597
+                        modelT_Bus_Feedback.F_File = "";
598
+                        modelT_Bus_Feedback.F_IsAudit = 0;
599
+                        modelT_Bus_Feedback.F_IsDelete = 0;
600
+                        modelT_Bus_Feedback.F_CreateUser = "8138";//办理人
601
+                        modelT_Bus_Feedback.F_CreateTime = DateTime.Now;//办理时间
602
+                        modelT_Bus_Feedback.F_CreateDeptId = 29;//办理部门
603
+                        modelT_Bus_Feedback.F_IsFeedEnd = 1;
604
+                        modelT_Bus_Feedback.F_State = 1;
605
+                        modelT_Bus_Feedback.F_Type = 1;
428 606
 
607
+                        int id = new BLL.T_Bus_Feedback().Add(modelT_Bus_Feedback);
608
+
609
+                     
610
+                        #endregion
611
+                    
612
+
613
+                    if (modelT_Bus_Feedback != null )
614
+                    {
615
+
616
+                        string typemsg = "办理";
617
+                        if (type == 0)
618
+                        {
619
+                            int iscs = 0;
620
+                            if (modelT_Bus_AssignedInfo.F_LimitTime < DateTime.Now)
621
+                            {
622
+                                iscs = 1;
623
+                            }
624
+                            if (modelT_Bus_WorkOrder.F_MainDeptId != 29)
625
+                            {
626
+                                var err = new
627
+                                {
628
+                                    code = "1",
629
+                                    message = "非本单位工单,不可处理"
630
+                                };
631
+                                return Content(err.ToJson());
632
+                            }
633
+                            #region 保存工单信息
634
+                            //modelT_Bus_WorkOrder.F_WorkState = 6;//待回访
635
+                            modelT_Bus_WorkOrder.F_WorkState = (int)EnumWorkState.dealed;//待回访
636
+                            modelT_Bus_WorkOrder.F_Result = result;
637
+                            modelT_Bus_WorkOrder.F_DealDeptId = 29;
638
+                            modelT_Bus_WorkOrder.F_DealUser = "8138";
639
+                            modelT_Bus_WorkOrder.F_DealTime = DateTime.Now;
640
+                            modelT_Bus_WorkOrder.F_IsOverdue = iscs;
641
+                            new BLL .T_Bus_WorkOrder ().Update(modelT_Bus_WorkOrder);
642
+                            #endregion
643
+
644
+                            #region 保存交办信息
645
+                            modelT_Bus_AssignedInfo.F_FeedbackTime = DateTime.Now;
646
+                            if (modelT_Bus_AssignedInfo.F_LimitTime < DateTime.Now)
647
+                            {
648
+                                modelT_Bus_AssignedInfo.F_IsOverdue = 1;
649
+                            }
650
+
651
+                            new BLL .T_Bus_AssignedInfo ().Update(modelT_Bus_AssignedInfo);
652
+                            #endregion
653
+
654
+                            #region 删除草稿信息
655
+                            var cglist = new BLL.T_Bus_Feedback().GetModelList(" F_IsDelete=0 and F_State=0 and F_WorkOrderId='" + modelT_Bus_WorkOrder.F_WorkOrderId + "' and F_CreateDeptId='" + 29 + "'");
656
+
657
+                            foreach (var cg in cglist)
658
+                            {
659
+                                cg.F_IsDelete = 1;
660
+                                cg.F_DeleteUser = "8138";
661
+                                cg.F_DeleteTime = DateTime.Now;
662
+
663
+                                new BLL.T_Bus_Feedback().Update(cg);
664
+                            }
665
+                            #endregion
666
+
667
+                            #region 删除二级单位未办理信息
668
+                            var ejlist = new BLL.T_Bus_AssignedInfo_Next().GetModelList(" F_IsDelete=0 and isnull(F_FeedbackTime,'')='' and F_WorkOrderId='" + modelT_Bus_WorkOrder.F_WorkOrderId + "'");
669
+                            foreach (var ej in ejlist)
670
+                            {
671
+                                ej.F_IsDelete = 1;
672
+                                ej.F_DeleteUser = "8138";
673
+                                ej.F_DeleteTime = DateTime.Now;
674
+
675
+                                new BLL.T_Bus_AssignedInfo_Next().Update(ej);
676
+                            }
677
+                            #endregion
678
+
679
+                            #region 处理协办单位
680
+                            var xblist = new BLL.T_Bus_AssignedItemInfo().GetModelList(" F_IsDelete=0 and F_State=1 and  ISNULL(F_FeedbackTime, '')='' and F_WorkOrderId='" + modelT_Bus_WorkOrder.F_WorkOrderId + "'");
681
+                            foreach (var xb in xblist)
682
+                            {
683
+                                xb.F_State = 2;
684
+                                xb.F_SureUser = "8138";
685
+                                xb.F_SureTime = DateTime.Now;
686
+
687
+                                new BLL.T_Bus_AssignedItemInfo().Update(xb);
688
+                            }
689
+                            #endregion
690
+
691
+                            typemsg = "主办";
692
+                        }
693
+                        else if (type == 1)
694
+                        {
695
+                            if (!string.IsNullOrEmpty(modelT_Bus_AssignedInfo.F_OtherDeptIds) && modelT_Bus_AssignedInfo.F_OtherDeptIds.Split(',').Contains("29"))
696
+                            {
697
+                               
698
+                            }
699
+                            else
700
+                            {
701
+                                if (modelT_Bus_WorkOrder.F_MainDeptId != 29)
702
+                                {
703
+                                    var err = new
704
+                                    {
705
+                                        code = "1",
706
+                                        message = "非本单位工单,不可处理"
707
+                                    };
708
+                                    return Content(err.ToJson());
709
+                                }
710
+                            }
711
+                            #region 保存明细信息
712
+                            Model.T_Bus_AssignedItemInfo modelT_Bus_AssignedItemInfo = new BLL.T_Bus_AssignedItemInfo().GetModelList(" F_IsDelete=0 and F_State=1 and F_WorkOrderId='" + modelT_Bus_WorkOrder.F_WorkOrderId + "' and F_DeptId='" + 29 + "'").FirstOrDefault();
713
+                            modelT_Bus_AssignedItemInfo.F_FeedbackTime = DateTime.Now;
714
+                            if (modelT_Bus_AssignedItemInfo.F_LimitTime < DateTime.Now)
715
+                            {
716
+                                modelT_Bus_AssignedItemInfo.F_IsOverdue = 1;
717
+                            }
718
+
719
+                            new BLL.T_Bus_AssignedItemInfo().Update(modelT_Bus_AssignedItemInfo);
720
+                            #endregion
721
+
722
+                            #region 删除草稿信息
723
+                            var cglist = new BLL.T_Bus_Feedback().GetModelList(" F_IsDelete=0 and F_State=0 and F_WorkOrderId='" + modelT_Bus_WorkOrder.F_WorkOrderId + "' and F_CreateDeptId='" + 29 + "'");
724
+
725
+                            foreach (var cg in cglist)
726
+                            {
727
+                                cg.F_IsDelete = 1;
728
+                                cg.F_DeleteUser = "8183";
729
+                                cg.F_DeleteTime = DateTime.Now;
730
+
731
+                                new BLL.T_Bus_Feedback().Update(cg);
732
+                            }
733
+                            #endregion
734
+
735
+                            typemsg = "协办";
736
+                        }
737
+
738
+
739
+                        #region 插入操作记录
740
+                        Model.T_Bus_Operation oper = new Model.T_Bus_Operation();
741
+                        oper.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;
742
+                        oper.F_AssignedId = modelT_Bus_AssignedInfo.F_Id;
743
+                        oper.F_State = modelT_Bus_WorkOrder.F_WorkState;
744
+
745
+                        string userinfo ="公安局";
746
+                        oper.F_Message = userinfo + " " + typemsg + "了工单";
747
+                        oper.F_CreateUser = "8138";
748
+                        oper.F_CreateTime = DateTime.Now;
749
+                        oper.F_IsDelete = 0;
750
+
751
+                        new BLL .T_Bus_Operation ().Add(oper);
752
+
753
+                        //推送消息表
754
+                     
755
+                        Task.Run(() =>
756
+                        {
757
+                            case_info(modelT_Bus_WorkOrder.F_WorkOrderId, "handle_info_1");
758
+
759
+                        }).ContinueWith(p => {
760
+                            System.Diagnostics.Debug.WriteLine(DateTime.Now);
761
+                        });
762
+
763
+                        #endregion
764
+                    }
765
+
766
+                    trans.Complete();
767
+                }
768
+
769
+                return Success("操作成功", modelT_Bus_Feedback.F_Id);
770
+            }
771
+            else
772
+            {
773
+                if (modelT_Bus_AssignedInfo.F_IsSure == 0)
774
+                {
775
+                    using (TransactionScope trans = new TransactionScope())
776
+                    {
777
+                        #region 保存工单信息
778
+                        //modelT_Bus_WorkOrder.F_WorkState = 3;//退回审核中
779
+                        modelT_Bus_WorkOrder.F_WorkState = (int)EnumWorkState.auditreback;//退回审核中
780
+                        new BLL .T_Bus_WorkOrder ().Update(modelT_Bus_WorkOrder);
781
+                        #endregion
782
+
783
+                        #region 插入退回申请信息
784
+                        Model.T_Bus_Feedback model_T_Bus_Feedback = new Model.T_Bus_Feedback();
785
+                        model_T_Bus_Feedback.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;//工单编号
786
+                        model_T_Bus_Feedback.F_AssignedId = modelT_Bus_AssignedInfo.F_Id;//交办id
787
+                        model_T_Bus_Feedback.F_Result = result ;//退回原因
788
+                        model_T_Bus_Feedback.F_IsAudit = 0;
789
+                        model_T_Bus_Feedback.F_IsDelete = 0;
790
+                        model_T_Bus_Feedback.F_CreateUser = "8138";//退回人
791
+                        model_T_Bus_Feedback.F_CreateTime = DateTime.Now;//退回时间
792
+                        model_T_Bus_Feedback.F_CreateDeptId = 29;//退回部门
793
+                        model_T_Bus_Feedback.F_IsFeedEnd = 1;
794
+                        model_T_Bus_Feedback.F_State = 1;
795
+                        model_T_Bus_Feedback.F_Type = 3;
796
+
797
+                        new BLL.T_Bus_Feedback().Add(model_T_Bus_Feedback);
798
+                        #endregion
799
+
800
+                        #region 保存交办信息
801
+                       
802
+                        modelT_Bus_AssignedInfo.F_IsSure = 2;//申请退回
803
+                        modelT_Bus_AssignedInfo.F_SureUser = "8138";
804
+                        modelT_Bus_AssignedInfo.F_SureTime = DateTime.Now;
805
+                        new BLL .T_Bus_AssignedInfo ().Update(modelT_Bus_AssignedInfo);
806
+                        #endregion
807
+
808
+                        #region 插入操作记录
809
+                        Model.T_Bus_Operation oper = new Model.T_Bus_Operation();
810
+                        oper.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;
811
+                        oper.F_AssignedId = modelT_Bus_AssignedInfo.F_Id;
812
+                        oper.F_State = modelT_Bus_WorkOrder.F_WorkState;
813
+
814
+                        string userinfo =  "公安局";
815
+                        oper.F_Message = userinfo + " 申请退回了工单";
816
+                        oper.F_CreateUser = "8138";
817
+                        oper.F_CreateTime = DateTime.Now;
818
+                        oper.F_IsDelete = 0;
819
+
820
+                        new BLL .T_Bus_Operation ().Add(oper);
821
+
822
+                        //推送消息表
823
+                        #endregion
824
+
825
+                        trans.Complete();
826
+                    }
827
+                    return Success("操作成功");
828
+                }
829
+                else
830
+                {
831
+                    return Error("单位已查收,不能退回");
832
+                }
833
+            }
834
+    
835
+
836
+        }
837
+        string url = "http://172.20.0.203:8888/Affairs/";
838
+        //  string url = "http://localhost:63660/Affairs/";
839
+
840
+        public void case_info(string workorderid, string parameter)
841
+        {
842
+            WebClient web = new WebClient();
843
+            web.Encoding = Encoding.UTF8;
844
+            string Dataurl = web.DownloadString(url + parameter + "?workorderid=" + workorderid);
845
+        }
846
+        /// <summary>
847
+        /// 获取附件数据
848
+        /// </summary>
849
+        /// <param name="ids">附件id,多个用英文逗号,隔开</param>
850
+        /// <param name="prefix">前缀</param>
851
+        /// <returns></returns>
852
+        public DataTable GetFileData(string ids, string prefix)
853
+        {
854
+            DataTable dt = DbHelperSQL.Query("select * from T_Sys_Accessories WITH(NOLOCK) where F_FileId in (" + ids + ")").Tables[0];
855
+
856
+            foreach (DataRow dr in dt.Rows)
857
+            {
858
+                dr["F_FileUrl"] = prefix + dr["F_FileUrl"].ToString();
859
+            }
860
+
861
+            return dt;
862
+        }
429 863
         /// <summary>
430 864
         /// 查收接口
431 865
         /// 新城办事处网格化对接

+ 13 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -146,6 +146,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
146 146
             if (source != 0)
147 147
             {
148 148
                 sql += " and F_InfoSource = '" + source + "' ";
149
+                
150
+            }
151
+            else
152
+            {
153
+                sql += " and F_InfoSource != '" + 109 + "' ";
149 154
             }
150 155
             if (keyid != 0)
151 156
             {
@@ -595,6 +600,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
595 600
             {
596 601
                 sql += " and F_InfoSource = '" + source + "' ";
597 602
             }
603
+            else
604
+            {
605
+                sql += " and F_InfoSource 1= '" + 109 + "' ";
606
+            }
598 607
             if (keyid != 0)
599 608
             {
600 609
                 sql += " and ','+F_Key+',' like '%," + keyid + ",%' ";
@@ -1193,6 +1202,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
1193 1202
             {
1194 1203
                 sql += " and F_InfoSource = '" + source + "' ";
1195 1204
             }
1205
+            else
1206
+            {
1207
+                sql += " and F_InfoSource != '" + 109 + "' ";
1208
+            }
1196 1209
             if (keyid != 0)
1197 1210
             {
1198 1211
                 sql += " and ','+F_Key+',' like '%," + keyid + ",%' ";

+ 0 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Models/Common/ButtonGroup.cs

@@ -238,7 +238,6 @@ namespace CallCenterApi.Interface.Models.Common
238 238
                     {
239 239
                         if ( type == "109")
240 240
                         {
241
-                            buttons.Add(query());
242 241
                             buttons.Add(Signfor());
243 242
                             buttons.Add(Sendback());
244 243
                             buttons.Add(delayback());

+ 4 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/packages.config

@@ -1,5 +1,6 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <packages>
3
+  <package id="Flurl" version="2.8.2" targetFramework="net45" />
3 4
   <package id="log4net" version="2.0.8" targetFramework="net45" />
4 5
   <package id="Microsoft.ApplicationInsights" version="2.2.0" targetFramework="net45" />
5 6
   <package id="Microsoft.ApplicationInsights.Agent.Intercept" version="2.0.6" targetFramework="net45" />
@@ -17,4 +18,7 @@
17 18
   <package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="1.0.0" targetFramework="net45" />
18 19
   <package id="Microsoft.Net.Compilers" version="1.0.0" targetFramework="net45" developmentDependency="true" />
19 20
   <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
21
+  <package id="Newtonsoft.Json" version="10.0.2" targetFramework="net45" />
22
+  <package id="NPOI" version="2.3.0" targetFramework="net45" />
23
+  <package id="SharpZipLib" version="0.86.0" targetFramework="net45" />
20 24
 </packages>

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

@@ -71,7 +71,7 @@
71 71
     <Compile Include="T_Cus_AddressBook.cs" />
72 72
     <Compile Include="T_Data_Assessment.cs" />
73 73
     <Compile Include="T_Email_EmailMessage_Map.cs" />
74
-    <Compile Include="T_KnowledgeReporting.cs" />
74
+    <Compile Include="T_Sys_kinfoQuestions.cs" />
75 75
     <Compile Include="T_Repository_List.cs" />
76 76
     <Compile Include="T_Repository_List_Audit.cs" />
77 77
     <Compile Include="T_Repository_List_Demands.cs" />

CallCenterApi/CallCenterApi.Model/T_KnowledgeReporting.cs → CallCenterApi/CallCenterApi.Model/T_Sys_kinfoQuestions.cs


+ 1 - 0
CallCenterCommon/CallCenter.QuartzService/packages.config

@@ -2,5 +2,6 @@
2 2
 <packages>
3 3
   <package id="Common.Logging" version="3.3.1" targetFramework="net45" />
4 4
   <package id="Common.Logging.Core" version="3.3.1" targetFramework="net45" />
5
+  <package id="Newtonsoft.Json" version="10.0.2" targetFramework="net45" />
5 6
   <package id="Quartz" version="2.6.1" targetFramework="net45" />
6 7
 </packages>