Przeglądaj źródła

提交代码 - lihai

duhongyu 6 lat temu
rodzic
commit
1f74d72aa8

+ 2 - 0
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/CallCenterApi.Interface.csproj

@@ -289,6 +289,7 @@
289 289
     <Compile Include="Models\Input\UserAccountInput.cs" />
290 290
     <Compile Include="Models\Input\WoBillInput.cs" />
291 291
     <Compile Include="Models\Input\WoMaterialManageInput.cs" />
292
+    <Compile Include="Models\Input\WorkOrderNewInput.cs" />
292 293
     <Compile Include="Properties\AssemblyInfo.cs" />
293 294
   </ItemGroup>
294 295
   <ItemGroup>
@@ -358,6 +359,7 @@
358 359
     <Folder Include="Views\Knowledge\" />
359 360
     <Folder Include="Views\Login\" />
360 361
     <Folder Include="Views\Log\" />
362
+    <Folder Include="Views\Market\" />
361 363
     <Folder Include="Views\MaterialManage\" />
362 364
     <Folder Include="Views\Mobiledata\" />
363 365
     <Folder Include="Views\Module\" />

+ 13 - 8
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/customer/CustomerNewController.cs

@@ -290,17 +290,22 @@ namespace CallCenterApi.Interface.Controllers.customer
290 290
                         Input1.F_CompanyName = model[i].F_CompanyName;
291 291
                     Input1.F_AreaID = model[i].F_AreaID;//大区ID
292 292
                     Input1.F_BranchID = model[i].F_BranchID;//分公司ID
293
-                    Model.T_Sys_Department pdModel = departmentBLL.GetModel(int .Parse (model[i].F_AreaID));
294
-                    if (pdModel != null)
295
-                    {
296
-                        Input1.F_AreaName = pdModel.F_DeptName.ToString();
293
+                    if (!string .IsNullOrEmpty (model[i].F_AreaID))
294
+                   {
295
+                        Model.T_Sys_Department pdModel = departmentBLL.GetModel(int.Parse(model[i].F_AreaID));
296
+                        if (pdModel != null)
297
+                        {
298
+                            Input1.F_AreaName = pdModel.F_DeptName.ToString();
299
+                        }
297 300
                     }
298
-                    Model.T_Sys_Department pdModel1 = departmentBLL.GetModel(int.Parse(model[i].F_BranchID));
299
-                    if (pdModel1 != null)
301
+                    if (!string.IsNullOrEmpty(model[i].F_BranchID))
300 302
                     {
301
-                        Input1.F_BranchName = pdModel1.F_DeptName.ToString();
303
+                        Model.T_Sys_Department pdModel1 = departmentBLL.GetModel(int.Parse(model[i].F_BranchID));
304
+                        if (pdModel1 != null)
305
+                        {
306
+                            Input1.F_BranchName = pdModel1.F_DeptName.ToString();
307
+                        }
302 308
                     }
303
-                    
304 309
                     Input1.F_Salesman = model[i].F_Salesman;//业务员
305 310
                     Input1.F_SalesPhone = model[i].F_SalesPhone;//业务员电话
306 311
                     Input1.F_CustomerNature = model[i].F_CustomerNature;//客户性质

+ 117 - 45
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs

@@ -650,7 +650,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
650 650
                 }
651 651
                 #endregion
652 652
                 int recordCount = 0;
653
-                if (!string.IsNullOrWhiteSpace(sql))
653
+                if (!string.IsNullOrWhiteSpace(sql)) 
654 654
                 {
655 655
 
656 656
                     dt = BLL.PagerBLL.GetListPager(
@@ -1246,7 +1246,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
1246 1246
         /// </summary>
1247 1247
         private List<WorkOrderNewInput> modeltooip(List<Model.T_Wo_WorkOrder> model1)
1248 1248
         {
1249
-            if (model1 != null && model1.Count > 0)
1249
+            int userId = CurrentUser.UserData.F_UserId;
1250
+            
1251
+          
1252
+           
1253
+                if (model1 != null && model1.Count > 0)
1250 1254
             {
1251 1255
                 List<WorkOrderNewInput> Input = new List<WorkOrderNewInput>(model1.Count);
1252 1256
                 for (int i = 0; i < model1.Count; i++)
@@ -1435,6 +1439,17 @@ namespace CallCenterApi.Interface.Controllers.workorder
1435 1439
                     model.F_IsVisit  = model1[i].F_IsVisit;//质量管理科-抽检-未备案、已备案
1436 1440
                     model.RemainingTime = TimeToOver(model1[i].F_ID);
1437 1441
                     model.F_IsOver = model1[i].F_IsOver;
1442
+                 
1443
+                    if (userId >0)
1444
+                    {
1445
+                        Model.T_Sys_UserAccount ua = sysUserAccountBll.GetModel(userId);
1446
+                        var deptmodel = departmentBLL.GetModel(ua.F_DeptId);
1447
+                        if (deptmodel!=null )
1448
+                        {
1449
+                            model.F_Deptid = deptmodel.F_DeptId;
1450
+                            model.F_DeptName = deptmodel.F_DeptName;
1451
+                        }
1452
+                    }
1438 1453
                     #endregion
1439 1454
                     Input.Add(model);
1440 1455
                 }
@@ -1642,6 +1657,18 @@ namespace CallCenterApi.Interface.Controllers.workorder
1642 1657
             model.F_CJ_Tonnage = input.F_CJ_Tonnage;//抽检-抽检吨数
1643 1658
             model.F_CJ_BagNo = input.F_CJ_BagNo;//抽检-抽检袋数
1644 1659
             model.F_CJ_Outlay = input.F_CJ_Outlay;//抽检-公关费用金额:单位元】
1660
+            if (!string .IsNullOrEmpty (input.F_BatchNumber))
1661
+            {
1662
+                if (type == 1)
1663
+                {
1664
+                    model.F_SC_QualityMonth = GetProTime(input.F_BatchNumber,DateTime .Parse (input.F_CreateOn.ToString ())).ToString ();
1665
+                 }
1666
+                else
1667
+                {
1668
+                    model.F_SC_QualityMonth = GetProTime(input.F_BatchNumber, DateTime.Now).ToString();
1669
+                }
1670
+            }
1671
+          
1645 1672
             if (type ==1)
1646 1673
             {
1647 1674
                 model.F_State =input.F_State;//工单状态
@@ -1717,6 +1744,24 @@ namespace CallCenterApi.Interface.Controllers.workorder
1717 1744
             blllogs.Add(model);
1718 1745
         }
1719 1746
         /// <summary>
1747
+        /// 根据生产批次号获取超出质保期限
1748
+        /// 质保期限以月为单位
1749
+        /// </summary>
1750
+        /// <param name="BatchNumber">生产批次号</param>
1751
+        /// <param name="createtime">工单创建时间</param>
1752
+        public int GetProTime(string BatchNumber, DateTime createtime)
1753
+        {
1754
+            //生产批次号截取前六位日期
1755
+            var prono = BatchNumber.Substring(0, 6);
1756
+            //转为生产日期格式
1757
+            var pronos = DateTime.ParseExact(prono, "yyMMdd", null).ToString("yyyy-MM-dd");
1758
+            var protime = Convert.ToDateTime(pronos);
1759
+            TimeSpan ts = createtime - protime;
1760
+            var days = ts.TotalDays;
1761
+            var month = (int)Math.Ceiling((days / 30));//以30天为一月计算几个月并且有余数取整
1762
+            return month;
1763
+        }
1764
+        /// <summary>
1720 1765
         /// 指派/转派工单
1721 1766
         ///  <param name="orderid">工单id</param>
1722 1767
         /// <param name="cont">指派说明</param>
@@ -1724,15 +1769,17 @@ namespace CallCenterApi.Interface.Controllers.workorder
1724 1769
         ///  <param name="clid">指派人</param>
1725 1770
         /// </summary>
1726 1771
         /// <returns></returns>
1727
-        
1772
+
1728 1773
         [Authority]
1729
-        public ActionResult AssignWorkOrder(long orderid, string cont, float overtime =0,int sms=0,int clbm = 0, int clid = 0)
1774
+        public ActionResult AssignWorkOrder(long orderid, string cont, string PreliminaryOpinion, string QualityEventLevel, string ClaimAmount, string ResponsibleUnit, string ApprovalOpinions,
1775
+            string ApprovalDisagree, string CompensationMethod, string CompensationMoney, string CResponsibleUnits, string Fquantity, string ImprovementRequirements, string CApprovalNo, 
1776
+            string SpotResult, string SelfResult, string ApprovalNo, string ReturnAccount, string IsRecord,int isvisit=1,
1777
+            float overtime =0,int sms=0,int clbm = 0, int clid = 0)
1730 1778
         {
1731 1779
             int userId = CurrentUser.UserData.F_UserId;
1732 1780
             string usercode = CurrentUser.UserData.F_UserCode;
1733 1781
             if (userId != 0)
1734 1782
             {
1735
-               
1736 1783
                 Model.T_Sys_UserAccount ua = sysUserAccountBll.GetModel(userId);
1737 1784
                 Model.T_Wo_WorkOrder order = workOrder .GetModel(orderid);
1738 1785
                 Model.T_Wo_WorkOrder model = workOrder.GetModel(orderid);
@@ -1755,23 +1802,24 @@ namespace CallCenterApi.Interface.Controllers.workorder
1755 1802
                                 {
1756 1803
                                     if (deptmodel.F_DeptId  == 37)
1757 1804
                                     {
1758
-                                        input. F_SC_QualityMonth = RequestString.GetQueryString("QualityMonth");//市场管理科-超出质保期限
1759
-                                        input.F_SC_PreliminaryOpinion = RequestString.GetQueryString("PreliminaryOpinion");//市场管理科-初审意见:退货、换货、补偿、自行处理
1805
+                                       // input. F_SC_QualityMonth = QualityMonth;//市场管理科-超出质保期限
1806
+                                        input.F_SC_PreliminaryOpinion = PreliminaryOpinion;//市场管理科-初审意见:退货、换货、补偿、自行处理
1760 1807
                                     }
1761 1808
                                     else if (deptmodel.F_DeptId  == 12)
1762 1809
                                     {
1763
-                                        input.F_IsVisit = RequestString.GetQueryInt("isvisit");
1764
-                                        input.F_ZL_QualityEventLevel = RequestString.GetQueryString("QualityEventLevel");//质量管理科-质量事件等级(未遂、一般、较大、重大)
1765
-                                        input.F_ZL_ClaimAmount = RequestString.GetQueryString("ClaimAmount");// 质量管理科-索赔金额(单位元,对应责任单位)
1766
-                                        input.F_ZL_ResponsibleUnit = RequestString.GetQueryString("ResponsibleUnit");// 质量管理科-责任单位(需列出,可选多个)
1767
-                                        input.F_ZL_ApprovalOpinions = RequestString.GetQueryString("ApprovalOpinions");// 质量管理科-审批意见(同意、不同意,若选择不同意,增加输入框输入补充内容)
1768
-                                        input.F_ZL_ApprovalDisagree = RequestString.GetQueryString("ApprovalDisagree");// 质量管理科-审批不同意意见
1769
-                                        input.F_ZL_CompensationMethod = RequestString.GetQueryString("CompensationMethod");// 质量管理科-补偿方式(实物、钱款【单位元】,若选择钱款,增加输入框输入补充内容)
1770
-                                        input.F_ZL_CompensationMoney = RequestString.GetQueryString("CompensationMoney");// 质量管理科-补偿钱款
1771
-                                        input.F_ZL_CResponsibleUnits = RequestString.GetQueryString("CResponsibleUnits");//质量管理科-对应责任单位(生产、研发、农化、物流、质量管理科,销售内勤)
1772
-                                        input.F_ZL_Fquantity = RequestString.GetQueryString("Fquantity");//质量管理科-确认实收数量(吨)
1773
-                                        input.F_ZL_ImprovementRequirements = RequestString.GetQueryString("ImprovementRequirements");//  质量管理科-改进要求
1774
-                                        input.F_ZL_CApprovalNo = RequestString.GetQueryString("CApprovalNo");// 质量管理科-对应审批工作流单号
1810
+                                        input.F_IsVisit = isvisit;
1811
+                                        input.F_ZL_QualityEventLevel = QualityEventLevel;//质量管理科-质量事件等级(未遂、一般、较大、重大)
1812
+                                        input.F_ZL_ClaimAmount = ClaimAmount;// 质量管理科-索赔金额(单位元,对应责任单位)
1813
+                                        input.F_ZL_ResponsibleUnit = ResponsibleUnit;// 质量管理科-责任单位(需列出,可选多个)
1814
+                                        input.F_ZL_ApprovalOpinions = ApprovalOpinions;// 质量管理科-审批意见(同意、不同意,若选择不同意,增加输入框输入补充内容)
1815
+                                        input.F_ZL_ApprovalDisagree = ApprovalDisagree;// 质量管理科-审批不同意意见
1816
+                                        input.F_ZL_CompensationMethod = CompensationMethod;// 质量管理科-补偿方式(实物、钱款【单位元】,若选择钱款,增加输入框输入补充内容)
1817
+                                        input.F_ZL_CompensationMoney = CompensationMoney;// 质量管理科-补偿钱款
1818
+                                        input.F_ZL_CResponsibleUnits = CResponsibleUnits;//质量管理科-对应责任单位(生产、研发、农化、物流、质量管理科,销售内勤)
1819
+                                        input.F_ZL_Fquantity = Fquantity;//质量管理科-确认实收数量(吨)
1820
+                                        input.F_ZL_ImprovementRequirements = ImprovementRequirements;//  质量管理科-改进要求
1821
+                                        input.F_ZL_CApprovalNo = CApprovalNo;// 质量管理科-对应审批工作流单号
1822
+
1775 1823
                                     }
1776 1824
 
1777 1825
                                 }
@@ -1779,15 +1827,16 @@ namespace CallCenterApi.Interface.Controllers.workorder
1779 1827
                                 {
1780 1828
                                     if (deptmodel.F_DeptId == 37)
1781 1829
                                     {
1782
-                                        input.F_SC_CJ_SpotResult = RequestString.GetQueryString("SpotResult");//市场管理科-抽检-抽检结果(视同合格、合格、不合格、复检后合格、未送检)
1783
-                                        input.F_SC_CJ_SelfResult = RequestString.GetQueryString("SelfResult");//市场管理科-抽检-自检结果
1784
-                                        input.F_SC_CJ_ApprovalNo = RequestString.GetQueryString("ApprovalNo");//市场管理科-抽检-对应审批工作流单号
1785
-                                        input.F_SC_CJ_ReturnAccount = RequestString.GetQueryString("ReturnAccount");//市场管理科-抽检-对应审批工作流单号
1830
+                                     
1831
+                                        input.F_SC_CJ_SpotResult = SpotResult;//市场管理科-抽检-抽检结果(视同合格、合格、不合格、复检后合格、未送检)
1832
+                                        input.F_SC_CJ_SelfResult = SelfResult;//市场管理科-抽检-自检结果
1833
+                                        input.F_SC_CJ_ApprovalNo = ApprovalNo;//市场管理科-抽检-对应审批工作流单号
1834
+                                        input.F_SC_CJ_ReturnAccount = ReturnAccount;//市场管理科-抽检-对应审批工作流单号
1786 1835
                                     }
1787 1836
                                     else if (deptmodel.F_DeptId == 12)
1788 1837
                                     {
1789
-                                        input.F_ZL_CJ_IsRecord = RequestString.GetQueryString("IsRecord");//质量管理科-抽检-未备案、已备案
1790
-                                        input.F_ZL_ClaimAmount = RequestString.GetQueryString("ClaimAmount");// 质量管理科-索赔金额(单位元,对应责任单位)
1838
+                                        input.F_ZL_CJ_IsRecord = IsRecord;//质量管理科-抽检-未备案、已备案
1839
+                                        input.F_ZL_ClaimAmount = ClaimAmount;// 质量管理科-索赔金额(单位元,对应责任单位)
1791 1840
                                     }
1792 1841
                                 }
1793 1842
                             }
@@ -1843,12 +1892,38 @@ namespace CallCenterApi.Interface.Controllers.workorder
1843 1892
             }
1844 1893
             return Error("无操作权限");
1845 1894
         }
1895
+        public ActionResult GetDeptment( )
1896
+        {
1897
+            int userId = CurrentUser.UserData.F_UserId;
1898
+            Model.T_Sys_UserAccount ua = sysUserAccountBll.GetModel(userId);
1899
+            var deptmodel = departmentBLL.GetModel(ua.F_DeptId);
1900
+            if (deptmodel != null)
1901
+                return Success("获取部门信息成功", new
1902
+                {
1903
+                    deptid = deptmodel.F_DeptId,
1904
+                    depname = deptmodel.F_DeptName,
1905
+                    sort = deptmodel.F_Sort,
1906
+                    parentid = deptmodel.F_ParentId,
1907
+                    parentname = deptmodel.F_ParentName,
1908
+                    remark = deptmodel.F_Remark,
1909
+                    layerType = deptmodel.F_Layer,
1910
+                    //部门类型0不区分1大区2分公司
1911
+                    //    headerid = dModel.F_Header,    //部门权限范围:9全部,1区域,2项目,3期
1912
+                    //   TypeId = dModel.F_Type,    //部门操作权限:1接待部,2办理人员,3区域客服,4监管
1913
+                });
1914
+            return Error("获取部门信息失败");
1915
+        }
1846 1916
         /// <summary>
1847 1917
         /// 处理工单信息
1848 1918
         /// </summary>
1849 1919
         /// <returns></returns>
1850 1920
         [Authority]
1851
-        public ActionResult DealWorkOrder(long orderid, string cont,string uncont="", int isover = 0)
1921
+        public ActionResult DealWorkOrder(long orderid, string cont, string ProductBase, string CResponsibleUnits,
1922
+            string QualityEventLevel, string ClaimAmount, string ResponsibleUnit, string ApprovalOpinions, string ApprovalDisagree, string CompensationMethod,
1923
+            string CompensationMoney, string SpotResult, string Fquantity, string ImprovementRequirements, string CApprovalNo, string SelfResult,
1924
+            string ApprovalNo, string ReturnAccount, string IsRecord,
1925
+            string uncont="",
1926
+          int isvisit=0,  int isover = 0)
1852 1927
         {
1853 1928
             int userId = CurrentUser.UserData.F_UserId;
1854 1929
             if (userId != 0)
@@ -1869,23 +1944,23 @@ namespace CallCenterApi.Interface.Controllers.workorder
1869 1944
                             {
1870 1945
                                 if (deptmodel.F_DeptId == 37)
1871 1946
                                 {
1872
-                                    input.F_SC_ProductBase = RequestString.GetQueryString("ProductBase");//市场管理科-超出质保期限
1873
-                                    
1947
+                                    input.F_SC_ProductBase = ProductBase;//
1948
+
1874 1949
                                 }
1875 1950
                                 else if (deptmodel.F_DeptId ==12)
1876 1951
                                 {
1877
-                                    input.F_IsVisit  = RequestString.GetQueryInt ("isvisit");
1878
-                                    input.F_ZL_QualityEventLevel = RequestString.GetQueryString("QualityEventLevel");//质量管理科-质量事件等级(未遂、一般、较大、重大)
1879
-                                    input.F_ZL_ClaimAmount = RequestString.GetQueryString("ClaimAmount");// 质量管理科-索赔金额(单位元,对应责任单位)
1880
-                                    input.F_ZL_ResponsibleUnit = RequestString.GetQueryString("ResponsibleUnit");// 质量管理科-责任单位(需列出,可选多个)
1881
-                                    input.F_ZL_ApprovalOpinions = RequestString.GetQueryString("ApprovalOpinions");// 质量管理科-审批意见(同意、不同意,若选择不同意,增加输入框输入补充内容)
1882
-                                    input.F_ZL_ApprovalDisagree = RequestString.GetQueryString("ApprovalDisagree");// 质量管理科-审批不同意意见
1883
-                                    input.F_ZL_CompensationMethod = RequestString.GetQueryString("CompensationMethod");// 质量管理科-补偿方式(实物、钱款【单位元】,若选择钱款,增加输入框输入补充内容)
1884
-                                    input.F_ZL_CompensationMoney = RequestString.GetQueryString("CompensationMoney");// 质量管理科-补偿钱款
1885
-                                    input.F_ZL_CResponsibleUnits = RequestString.GetQueryString("CResponsibleUnits");//质量管理科-对应责任单位(生产、研发、农化、物流、质量管理科,销售内勤)
1886
-                                    input.F_ZL_Fquantity = RequestString.GetQueryString("Fquantity");//质量管理科-确认实收数量(吨)
1887
-                                    input.F_ZL_ImprovementRequirements = RequestString.GetQueryString("ImprovementRequirements");//  质量管理科-改进要求
1888
-                                    input.F_ZL_CApprovalNo = RequestString.GetQueryString("CApprovalNo");// 质量管理科-对应审批工作流单号
1952
+                                    input.F_IsVisit = isvisit;
1953
+                                    input.F_ZL_QualityEventLevel = QualityEventLevel;//质量管理科-质量事件等级(未遂、一般、较大、重大)
1954
+                                    input.F_ZL_ClaimAmount = ClaimAmount;// 质量管理科-索赔金额(单位元,对应责任单位)
1955
+                                    input.F_ZL_ResponsibleUnit = ResponsibleUnit;// 质量管理科-责任单位(需列出,可选多个)
1956
+                                    input.F_ZL_ApprovalOpinions = ApprovalOpinions;// 质量管理科-审批意见(同意、不同意,若选择不同意,增加输入框输入补充内容)
1957
+                                    input.F_ZL_ApprovalDisagree = ApprovalDisagree;// 质量管理科-审批不同意意见
1958
+                                    input.F_ZL_CompensationMethod = CompensationMethod;// 质量管理科-补偿方式(实物、钱款【单位元】,若选择钱款,增加输入框输入补充内容)
1959
+                                    input.F_ZL_CompensationMoney = CompensationMoney;// 质量管理科-补偿钱款
1960
+                                    input.F_ZL_CResponsibleUnits = CResponsibleUnits;//质量管理科-对应责任单位(生产、研发、农化、物流、质量管理科,销售内勤)
1961
+                                    input.F_ZL_Fquantity = Fquantity;//质量管理科-确认实收数量(吨)
1962
+                                    input.F_ZL_ImprovementRequirements = ImprovementRequirements;//  质量管理科-改进要求
1963
+                                    input.F_ZL_CApprovalNo = CApprovalNo;// 质量管理科-对应审批工作流单号
1889 1964
                                 }
1890 1965
 
1891 1966
                             }
@@ -1893,14 +1968,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
1893 1968
                             {
1894 1969
                                 if (deptmodel.F_DeptId ==37)
1895 1970
                                 {
1896
-                                    input.F_SC_CJ_SpotResult = RequestString.GetQueryString("SpotResult");//市场管理科-抽检-抽检结果(视同合格、合格、不合格、复检后合格、未送检)
1897
-                                    input.F_SC_CJ_SelfResult = RequestString.GetQueryString("SelfResult");//市场管理科-抽检-自检结果
1898
-                                    input.F_SC_CJ_ApprovalNo = RequestString.GetQueryString("ApprovalNo");//市场管理科-抽检-对应审批工作流单号
1899
-                                    input.F_SC_CJ_ReturnAccount = RequestString.GetQueryString("ReturnAccount");//市场管理科-抽检-确认返账金额(元)
1971
+                                    input.F_SC_ProductBase = ProductBase;//
1900 1972
                                 }
1901 1973
                                 else if (deptmodel.F_DeptId == 12)
1902 1974
                                 {
1903
-                                    input.F_ZL_CJ_IsRecord = RequestString.GetQueryString("IsRecord");//质量管理科-抽检-未备案、已备案
1975
+                                    input.F_ZL_CJ_IsRecord = IsRecord;//质量管理科-抽检-未备案、已备案
1904 1976
                                 }
1905 1977
                             }
1906 1978
                         }

+ 22 - 9
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Models/Input/WorkOrderNewInput.cs

@@ -6,15 +6,28 @@ using System.Web;
6 6
 namespace CallCenterApi.Interface.Models.Input
7 7
 {
8 8
     public class WorkOrderNewInput
9
-    {/// <summary>
10
-            /// 工单ID
11
-            /// </summary>
12
-            public int F_ID { get; set; }
13 9
 
14
-            /// <summary>
15
-            /// 工单编号
16
-            /// </summary>
17
-            public string F_WorkOrderCode
10
+    {
11
+        /// <summary>
12
+        /// 部门id
13
+        /// </summary>
14
+        public int F_Deptid { get; set; }
15
+        /// <summary>
16
+        /// 部门名称
17
+        /// </summary>
18
+        public string  F_DeptName { get; set; }
19
+        /// <summary>
20
+        /// 工单ID
21
+        /// </summary>
22
+        public int F_ID { get; set; }
23
+        /// <summary>
24
+        /// 微信OpenId
25
+        /// </summary>
26
+        public string F_WxOpenId { get; set; }
27
+        /// <summary>
28
+        /// 工单编号
29
+        /// </summary>
30
+        public string F_WorkOrderCode
18 31
             {
19 32
                 get; set;
20 33
             }
@@ -135,7 +148,7 @@ namespace CallCenterApi.Interface.Models.Input
135 148
         /// <summary>
136 149
         /// 剩余时间
137 150
         /// </summary>
138
-        public int   RemainingTime
151
+        public float RemainingTime
139 152
         {
140 153
             get; set;
141 154
         }

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

@@ -92,6 +92,15 @@ namespace CallCenterApi.Model
92 92
         private string _f_cusphone;
93 93
         private string _f_cusname;
94 94
         private string _f_companyname;
95
+        public string _f_wxopenid;
96
+        /// <summary>
97
+        /// 微信OpenId
98
+        /// </summary>
99
+        public string  F_WxOpenId
100
+        {
101
+            set { _f_wxopenid = value; }
102
+            get { return _f_wxopenid; }
103
+        }
95 104
         /// <summary>
96 105
         /// 工单ID
97 106
         /// </summary>