public void getRecords(String[] cmds, User user, TextMessage resp) {
		Date startDate = (cmds.length >= 2 ? mParseService.parseDate(cmds[1]) : null);
		Date endDate = (cmds.length >= 3 ? mParseService.parseDate(cmds[2]) : null);
		
		List<Record> records = null;
		
		if(startDate != null){
			if(endDate != null) {
				records = mRecordDAO.getRecordsByDate(startDate, endDate);
			} else { // endDate is null
				records = mRecordDAO.getRecordsByDate(startDate);
			}
		} else { // endDate is null
			records = mRecordDAO.getRecords();
		}
		
		String respStr = "";
		for(Record record : records) {
			if(record.getCustomer().equals(user))
				respStr += record.toString() + "\n";
		}
		if(StrUtil.isEmpty(respStr)) respStr = "你暂无消费记录";
		resp.setContent(respStr);
	}