void reportDetail(String date, BufferedWriter bw) {
        List<Map<String, Object>> maps = getPersist().readMapList(Sql.get("report-detail.sql"), date);
        for (Map<String, Object> map : maps) {
            String supplierCode = map.get("suppliercode").toString();
            String supplierName = map.get("name").toString();
            String amount = map.get("amount").toString();

            try {
                bw.write(String.format("%s\t%s\t%s\t%s\r\n", date, supplierCode, supplierName, amount));
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    }