|
|
@@ -18,11 +18,17 @@ namespace CallCenterApi.Interface.Controllers.SystemManage
|
|
18
|
18
|
List<Model.T_Sys_WorkOFFDays> wodlist = dBLL.GetModelList(" F_OffState=0 order by F_OffDate desc");
|
|
19
|
19
|
var obj = wodlist.Select(wol => new
|
|
20
|
20
|
{
|
|
21
|
|
- offdate = wol.F_OffDate,
|
|
|
21
|
+ start = wol.F_OffDate,
|
|
22
|
22
|
});
|
|
23
|
23
|
return Success("", obj);
|
|
24
|
24
|
}
|
|
25
|
25
|
|
|
|
26
|
+ /// <summary>
|
|
|
27
|
+ /// 设置或取消休息日
|
|
|
28
|
+ /// </summary>
|
|
|
29
|
+ /// <param name="offdate">日期</param>
|
|
|
30
|
+ /// <param name="type">0,设为休息日;1,取消休息日</param>
|
|
|
31
|
+ /// <returns></returns>
|
|
26
|
32
|
public ActionResult setOfforOn(string offdate, int type)
|
|
27
|
33
|
{
|
|
28
|
34
|
if (!string.IsNullOrWhiteSpace(offdate))
|