|
|
@@ -13137,7 +13137,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13137
|
13137
|
//if (userModel.F_RoleCode == "ZJZY" || userModel.F_RoleCode == "GLY")
|
|
13138
|
13138
|
{
|
|
13139
|
13139
|
string workorderid = RequestString.GetFormString("workorderid");
|
|
13140
|
|
- int maindeptid = RequestString.GetInt("maindeptid", 0);
|
|
|
13140
|
+ string maindeptid = RequestString.GetFormString("maindeptid");
|
|
13141
|
13141
|
string otherdeptids = RequestString.GetFormString("otherdeptids");
|
|
13142
|
13142
|
DateTime limittime = DateTime.Parse(RequestString.GetFormString("limittime"));
|
|
13143
|
13143
|
string assignedopinion = RequestString.GetFormString("assignedopinion");
|
|
|
@@ -13175,7 +13175,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13175
|
13175
|
Model.T_Bus_AssignedInfo newmodelT_Bus_AssignedInfo = new Model.T_Bus_AssignedInfo();
|
|
13176
|
13176
|
newmodelT_Bus_AssignedInfo.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;
|
|
13177
|
13177
|
newmodelT_Bus_AssignedInfo.F_LimitTime = limittime;//办理时限
|
|
13178
|
|
- newmodelT_Bus_AssignedInfo.F_MainDeptId = maindeptid;//主办单位id
|
|
|
13178
|
+ newmodelT_Bus_AssignedInfo.F_MainDeptId = deptlist[0].F_DeptId ;//主办单位id
|
|
13179
|
13179
|
newmodelT_Bus_AssignedInfo.F_OtherDeptIds = otherdeptids;//协办单位id
|
|
13180
|
13180
|
newmodelT_Bus_AssignedInfo.F_AssignedOpinion = assignedopinion;//交办意见
|
|
13181
|
13181
|
|
|
|
@@ -13193,7 +13193,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13193
|
13193
|
|
|
13194
|
13194
|
#region 保存工单信息
|
|
13195
|
13195
|
|
|
13196
|
|
- modelT_Bus_WorkOrder.F_MainDeptId = maindeptid;
|
|
|
13196
|
+ modelT_Bus_WorkOrder.F_MainDeptId = deptlist[0].F_DeptId;
|
|
13197
|
13197
|
modelT_Bus_WorkOrder.F_OtherDeptIds = otherdeptids;
|
|
13198
|
13198
|
// modelT_Bus_WorkOrder.F_AssignUser = userModel.F_UserCode;
|
|
13199
|
13199
|
// modelT_Bus_WorkOrder.F_AssignTime = DateTime.Now;
|
|
|
@@ -13221,7 +13221,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13221
|
13221
|
string deptname = "";
|
|
13222
|
13222
|
#region 20191021调整为多个主办单位时调整
|
|
13223
|
13223
|
//var deptinfo = new BLL.T_Sys_Department().GetModel(modelT_Bus_AssignedInfo.F_MainDeptId.Value);
|
|
13224
|
|
- var deptinfo = new BLL.T_Sys_Department().GetModel(maindeptid);
|
|
|
13224
|
+ var deptinfo = new BLL.T_Sys_Department().GetModel(deptlist[0].F_DeptId);
|
|
13225
|
13225
|
if (deptinfo != null) { deptname = deptinfo.F_DeptName; }
|
|
13226
|
13226
|
#endregion
|
|
13227
|
13227
|
|