code: public int queryObjCountByCondition(String tableName, String condition){
  		/*		JdbcTemplate jdbcTemplate = (JdbcTemplate) MicroDbHolder
  		.getDbSource(dbName);*/
  		//String tableName=changeTableNameCase(otableName);
  		JdbcTemplate jdbcTemplate = getMicroJdbcTemplate();
  		String sql="";
  		sql="select count(1) from " + tableName + " where "+condition;
  		logger.debug(sql);
  		Integer total=jdbcTemplate.queryForObject(sql,Integer.class);
  		return total;
  	}
docs: /*
  锟斤拷荼锟斤拷锟斤拷询锟斤拷录锟斤拷