|
|
@@ -1605,16 +1605,16 @@ namespace CallCenterApi.Interface.Controllers
|
|
1605
|
1605
|
}
|
|
1606
|
1606
|
string strstart = start.Value.ToString("yyyy-MM-dd");
|
|
1607
|
1607
|
string strend = end.Value.ToString("yyyy-MM-dd");
|
|
1608
|
|
- if (RedisHelper.StringGet("GetDeptCountByDateNew" + start + strend + deptid.ToString ()) != null)
|
|
|
1608
|
+ if (RedisHelper.StringGet("GetDeptCountByDateNew" + strstart + strend + deptid.ToString ()) != null)
|
|
1609
|
1609
|
{
|
|
1610
|
|
- return Success("加载成功", JsonConvert.DeserializeObject(RedisHelper.StringGet("GetDeptCountByDateNew" + start + strend + deptid.ToString()).ToString() ));
|
|
|
1610
|
+ return Success("加载成功", JsonConvert.DeserializeObject(RedisHelper.StringGet("GetDeptCountByDateNew" + strstart + strend + deptid.ToString()).ToString() ));
|
|
1611
|
1611
|
}
|
|
1612
|
1612
|
Dictionary<string, string> paras = new Dictionary<string, string>();
|
|
1613
|
1613
|
paras.Add("@sdate", start.Value.ToString("yyyy-MM-dd"));
|
|
1614
|
1614
|
paras.Add("@edate", end.Value.ToString("yyyy-MM-dd"));
|
|
1615
|
1615
|
paras.Add("@deptid", deptid.ToString());
|
|
1616
|
1616
|
var obj = DbHelperSQL.RunProcedure("P_Info_DeptAcceptCount", paras, "P_Info_DeptAcceptCount");
|
|
1617
|
|
- RedisHelper.StringSet("GetDeptCountByDateNew" + start + strend + deptid.ToString(), obj.Tables[0].ToJson(), new TimeSpan(0, 10, 0));
|
|
|
1617
|
+ RedisHelper.StringSet("GetDeptCountByDateNew" + strstart + strend + deptid.ToString(), obj.Tables[0].ToJson(), new TimeSpan(0, 10, 0));
|
|
1618
|
1618
|
return Success("成功", obj.Tables[0]);
|
|
1619
|
1619
|
}
|
|
1620
|
1620
|
|