Search in sources :

Example 1 with HistoryRecord

use of cn.cerc.jbean.other.HistoryRecord in project summer-mis by cn-cerc.

the class ExportHistoryWriter method finish.

@Override
public void finish(Object handle, Template template) {
    IHandle appHandle = (IHandle) handle;
    String log = String.format("系统已经为您导出: %s.xls", template.getFileName());
    new HistoryRecord(log).setLevel(HistoryLevel.General).save(appHandle);
}
Also used : HistoryRecord(cn.cerc.jbean.other.HistoryRecord) IHandle(cn.cerc.jdb.core.IHandle)

Aggregations

HistoryRecord (cn.cerc.jbean.other.HistoryRecord)1 IHandle (cn.cerc.jdb.core.IHandle)1