报表页面获取业务类型日志总量功能提交

This commit is contained in:
wangxin
2018-07-10 15:26:18 +08:00
parent 992cec2a17
commit ad2e448e41
3 changed files with 89 additions and 19 deletions

View File

@@ -43,7 +43,7 @@ public class NtcPzReportController extends BaseController{
@ResponseBody
public Map<String, Object> ajaxGetLogTotal(Model model,long endTime,int action,Integer functionId,Integer compileId){
Map<String, Object> data=new HashMap<String, Object>();
SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
SimpleDateFormat sdf=new SimpleDateFormat(Constants.SEARCH_DATEFORMAT);
int interval=Constants.LOG_TIME_RANGE;
Date endDate=new Date(endTime);
Date startDate=new Date(endTime-interval);