mengjie 6 anni fa
parent
commit
7f85f96c4d

+ 8 - 0
codegit/CallCenterApi/CallCenterApi.BLL/T_Sys_WorkCalendar.cs

@@ -174,6 +174,14 @@ namespace CallCenterApi.BLL
174 174
 
175 175
             return dal.GetSRModel(F_DateId);
176 176
         }
177
+
178
+        /// <summary>
179
+        /// 更新一条数据
180
+        /// </summary>
181
+        public bool UpdateFlag(Model.T_Sys_WorkCalendar model)
182
+        {
183
+            return dal.UpdateFlag(model );
184
+        }
177 185
         #endregion  BasicMethod
178 186
         #region  ExtensionMethod
179 187
 

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/tel/WorkcalendarController.cs

@@ -541,7 +541,7 @@ namespace CallCenterApi.Interface.Controllers.tel
541 541
                             dModel.F_IsRead = true;
542 542
                         }
543 543
 
544
-                        bool b = dBLL.Update(dModel);
544
+                        bool b = dBLL.UpdateFlag(dModel);
545 545
                         if (b)
546 546
                         {
547 547
                             res = Success("更新成功");