<div th:fragment="statTable(title, dataList)" th:class="${title}">
    <table style="width: 100%">
        <colgroup>
            <col width="18px">
            <col width="calc(100% / 14 - 18px)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
            <col width="calc(100% / 14)">
        </colgroup>
        <thead>
            <tr>
                <th></th>
                <th>시간대</th>
                <th th:each="i : ${#numbers.sequence(0, 55, 5)}"
                    th:text="${#numbers.formatInteger(i, 2)} + '분'"></th>
                <th>소계</th>
            </tr>
        </thead>
        <tbody>
            <tr th:each="item, stat : ${dataList}" th:onclick="rowClick(this, [[${title + ' table'}]])">
                <td><input th:id="'check_' + ${title} + '_' +${stat.count}" type="checkbox" style="display: none" th:onchange="checkEvent(this, [[${title + ' table'}]])"></td>
                <td th:text="${item.hh} + '시'"></td>
                <td th:text="${#numbers.formatInteger(item.m00, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m05, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m10, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m15, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m20, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m25, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m30, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m35, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m40, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m45, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m50, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.m55, 1, 'COMMA')}"></td>
                <td th:text="${#numbers.formatInteger(item.total, 1, 'COMMA')}"></td>
            </tr>
        </tbody>
    </table>
</div>
