liyuanyuan %!s(int64=2) %!d(string=hace) años
padre
commit
3ed5c951dc

+ 3 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Configs/system.config

@@ -142,4 +142,7 @@
142 142
   <add key="PushAyResultUrl" value="http://192.168.8.20:5566/api/BusWorkorder/update"/>
143 143
   <add key="PushAyOrderUrl" value="http://192.168.8.20:5566/api/BusWorkorder/add"/>
144 144
   <add key="SendToPhone" value="15605815106"/>
145
+
146
+  <add key="maindeptid" value="1600"/>
147
+  
145 148
 </appSettings>

+ 3 - 3
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/AffairsController.cs

@@ -5017,7 +5017,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5017 5017
         ///12345的工单 推送到110那
5018 5018
         public ActionResult PushWorkOrder(string workorderid, string content, int limittime = 7)
5019 5019
         {
5020
-
5020
+            int maindeptid = Convert.ToInt32( Configs.GetValue("maindeptid"));
5021 5021
 
5022 5022
             string url = Configs.GetValue("PushAyOrderUrl");
5023 5023
             //  string url = "http://localhost:51927/api/BusWorkorder/update";
@@ -5067,7 +5067,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5067 5067
                 Model.T_Bus_AssignedInfo modelT_Bus_AssignedInfo = new Model.T_Bus_AssignedInfo();
5068 5068
                 modelT_Bus_AssignedInfo.F_WorkOrderId = oldmodel.F_WorkOrderId;
5069 5069
                 modelT_Bus_AssignedInfo.F_LimitTime = Convert.ToDateTime(resdatetime);
5070
-                modelT_Bus_AssignedInfo.F_MainDeptId = 1600;
5070
+                modelT_Bus_AssignedInfo.F_MainDeptId = maindeptid;
5071 5071
                 modelT_Bus_AssignedInfo.F_OtherDeptIds = "";//协办单位id
5072 5072
                 modelT_Bus_AssignedInfo.F_AssignedOpinion = "";//交办意见
5073 5073
                 modelT_Bus_AssignedInfo.F_State = 1;//0草稿  1正式
@@ -5087,7 +5087,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5087 5087
   
5088 5088
                 keyValuePairs.Add("F_AssignTime", DateTime.Now);
5089 5089
             
5090
-                keyValuePairs.Add("F_MainDeptId", 1600);
5090
+                keyValuePairs.Add("F_MainDeptId", maindeptid);
5091 5091
                 oldmodel.F_MainDeptId = 1600;
5092 5092
                 keyValuePairs.Add("F_WorkState", 4);
5093 5093
 

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 3 - 2
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs