/**
   * 查询日启动次数
   *
   * @return
   */
  public String querystartcnt() {
    Date startDate = form.getStartDate();
    int systemID = form.getSystemIDValue();
    String appVersion = form.getAppVersion();
    String model = form.getModel();

    if (systemID == 0) {
      return Action.SUCCESS;
    }
    if (startDate == null) {
      return Action.SUCCESS;
    }

    BaseDTO dto = new BaseDTO();
    dto.setStartDate(startDate);
    dto.setSystemID(systemID);
    dto.setAppVersion(appVersion);
    dto.setModel(model);

    startcntEntity = new BaseEntity();
    List<ColumnValueEntity> list = service.getUseoftenStartcntList(dto);
    setStartcntColumn();
    startcntEntity.setValueList(list);
    ServletActionContext.getRequest()
        .getSession()
        .setAttribute(Constants.NEARME_SESSION_REPROT_DATA, startcntEntity);

    LogUtil.log(dto, "使用频率时长分析"); // log记录查询

    return "querystartcnt";
  }
  /** 初始化日使用时长 */
  private void initUsetime() {
    String startDate = DateUtil.getDateOfXdaysAgo(1);

    formusetime.setStartTime(startDate);
    formusetime.setSystemID(form.getSystemID());

    BaseDTO dto = new BaseDTO();
    dto.setStartDate(DateUtil.parseDate(startDate, "yyyy-MM-dd"));
    dto.setSystemID(formusetime.getSystemIDValue());

    List<ColumnValueEntity> list = service.getUseoftenUsetimeList(dto);
    setUsetimeColumn();
    usetimeEntity.setValueList(list);

    ServletActionContext.getRequest()
        .getSession()
        .setAttribute(Constants.NEARME_SESSION_REPROT_DATA_2, usetimeEntity);

    LogUtil.log(dto, "使用频率时长分析"); // log记录查询
  }