liyuanyuan 3 年之前
父節點
當前提交
5ec7ba7352

+ 4 - 2
RMYY_CallCenter_Api.Dal/T_Call_LeaveRecord.cs

@@ -105,8 +105,10 @@ namespace RMYY_CallCenter_Api.Dal
105 105
             strSql.Append("F_Remark=@F_Remark,");
106 106
             strSql.Append("F_CallAppId=@F_CallAppId,");
107 107
             strSql.Append("F_RecFileUrl=@F_RecFileUrl,");
108
- 
109
-            strSql.Append("F_WorkOrderId=@F_WorkOrderId");
108
+            strSql.Append("F_WorkOrderId=@F_WorkOrderId,");
109
+            
110
+            strSql.Append("F_Type=@F_Type ");
111
+      
110 112
             strSql.Append(" where F_Id=@F_Id");
111 113
             SqlParameter[] parameters = {
112 114
                     new SqlParameter("@F_CallId", SqlDbType.VarChar,50),

+ 1 - 1
RMYY_CallCenter_Api/Controllers/System/DepartmentController.cs

@@ -164,7 +164,7 @@ namespace RMYY_CallCenter_Api.Controllers.System
164 164
         /// <param name="sort"></param>
165 165
         /// <returns></returns>
166 166
         [HttpPost]
167
-        public ActionResult Insert(int pid, string code, string name, int sort,int hosid, string location, string floorDistribution, string officeTelephone)
167
+        public ActionResult Insert(int pid, string code, string name,int hosid, string location, string floorDistribution, string officeTelephone, int sort=0)
168 168
         {
169 169
             if (departmentBLL.Exists(code))
170 170
             {