ExcelDao.java 343 Bytes
Newer Older
yanzg's avatar
yanzg committed
1 2 3 4 5 6
package com.yanzuoguang.cloud.excel;

import com.yanzuoguang.db.impl.DbRow;

/**
 * Excel导出接口
yanzg's avatar
yanzg committed
7
 *
yanzg's avatar
yanzg committed
8
 * @author 颜佐光
yanzg's avatar
yanzg committed
9
 */
yanzg's avatar
yanzg committed
10
public interface ExcelDao<T, M extends Object> {
yanzg's avatar
yanzg committed
11 12 13 14 15 16 17

    /**
     * 循环处理每行数据
     *
     * @param excel excel对象
     * @param cond  条件参数
     */
yanzg's avatar
yanzg committed
18
    void export(DbRow<M> excel, T cond);
yanzg's avatar
yanzg committed
19
}