@SuppressWarnings("unchecked")
 @Override
 public List<DcSearchLogDO> querySearchLogsPage(
     DcSearchLogCondition condition, int start, int size) {
   Map<String, Object> params = condition.toMap();
   params.put("start", start);
   params.put("size", size);
   return (List<DcSearchLogDO>)
       getSqlMapClientTemplate().queryForList("DcSearchLog.querySearchLogsPage", params);
 }
 @Override
 public Integer updateSearchLogStatus(DcSearchLogCondition condition, String status) {
   Map<String, Object> params = condition.toMap();
   params.put("status", status);
   return (Integer) getSqlMapClientTemplate().update("DcSearchLog.updateSearchLogStatus", params);
 }
 @Override
 public Integer countSearchLogs(DcSearchLogCondition condition) {
   return (Integer)
       getSqlMapClientTemplate().queryForObject("DcSearchLog.countSearchLogs", condition.toMap());
 }