fix : 외사장비 중특단,서특단 안나오게

master
TaehunPark 2023-01-26 18:30:54 +09:00
parent 3464ce0e24
commit 6fc5e1f053
4 changed files with 7 additions and 19 deletions

View File

@ -17,7 +17,6 @@
cnt_pyeongtaek+ cnt_pyeongtaek+
cnt_taean+ cnt_taean+
cnt_boryeong+ cnt_boryeong+
cnt_seotd+
cnt_west+ cnt_west+
cnt_mokpo+ cnt_mokpo+
cnt_buan+ cnt_buan+
@ -30,7 +29,6 @@
cnt_changwon+ cnt_changwon+
cnt_tongyong+ cnt_tongyong+
cnt_sacheon+ cnt_sacheon+
cnt_jungtd+
cnt_east+ cnt_east+
cnt_sokcho+ cnt_sokcho+
cnt_donghe+ cnt_donghe+
@ -45,7 +43,6 @@
sum(cnt_pyeongtaek) as cnt_pyeongtaek, sum(cnt_pyeongtaek) as cnt_pyeongtaek,
sum(cnt_taean) as cnt_taean, sum(cnt_taean) as cnt_taean,
sum(cnt_boryeong) as cnt_boryeong, sum(cnt_boryeong) as cnt_boryeong,
sum(cnt_seotd) as cnt_seotd,
sum(cnt_west) as cnt_west, sum(cnt_west) as cnt_west,
sum(cnt_mokpo) as cnt_mokpo, sum(cnt_mokpo) as cnt_mokpo,
sum(cnt_buan) as cnt_buan, sum(cnt_buan) as cnt_buan,
@ -58,7 +55,6 @@
sum(cnt_changwon) as cnt_changwon, sum(cnt_changwon) as cnt_changwon,
sum(cnt_tongyong) as cnt_tongyong, sum(cnt_tongyong) as cnt_tongyong,
sum(cnt_sacheon) as cnt_sacheon, sum(cnt_sacheon) as cnt_sacheon,
sum(cnt_jungtd) as cnt_jungtd,
sum(cnt_east) as cnt_east, sum(cnt_east) as cnt_east,
sum(cnt_sokcho) as cnt_sokcho, sum(cnt_sokcho) as cnt_sokcho,
sum(cnt_donghe) as cnt_donghe, sum(cnt_donghe) as cnt_donghe,
@ -175,15 +171,7 @@
case case
when b.mgt_organ = 'OG026' then b.item_qty when b.mgt_organ = 'OG026' then b.item_qty
else 0 else 0
end as cnt_seoguipo, end as cnt_seoguipo
case
when b.mgt_organ = 'OG027' then b.item_qty
else 0
end as cnt_seotd,
case
when b.mgt_organ = 'OG028' then b.item_qty
else 0
end as cnt_jungtd
from (select category_cd, from (select category_cd,
item_cd, item_cd,
item_value item_value

View File

@ -14,10 +14,12 @@
<select class="form-select form-select-sm" id="mgtOrgan" name="mgtOrgan" th:disabled="${accessAuth ne 'ACC003'}"> <select class="form-select form-select-sm" id="mgtOrgan" name="mgtOrgan" th:disabled="${accessAuth ne 'ACC003'}">
<option value="">선택</option> <option value="">선택</option>
<th:block th:each="commonCode:${session.commonCode.get('OG')}"> <th:block th:each="commonCode:${session.commonCode.get('OG')}">
<th:block th:if="${!(commonCode.itemCd eq 'OG027' or commonCode.itemCd eq 'OG028')}">
<th:block th:if="${#lists.contains(mgtOrganList, commonCode.itemCd)}"> <th:block th:if="${#lists.contains(mgtOrganList, commonCode.itemCd)}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd eq userOrgan}"></option> <option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd eq userOrgan}"></option>
</th:block> </th:block>
</th:block> </th:block>
</th:block>
</select> </select>
</div> </div>
</div> </div>

View File

@ -16,8 +16,10 @@
<select class="form-select form-select-sm" id="mMgtOrgan" name="mgtOrgan" th:disabled="${accessAuth ne 'ACC003'}"> <select class="form-select form-select-sm" id="mMgtOrgan" name="mgtOrgan" th:disabled="${accessAuth ne 'ACC003'}">
<option value="">선택</option> <option value="">선택</option>
<th:block th:each="commonCode:${session.commonCode.get('OG')}"> <th:block th:each="commonCode:${session.commonCode.get('OG')}">
<th:block th:if="${!(commonCode.itemCd eq 'OG027' or commonCode.itemCd eq 'OG028')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd} == ${equInfo.mgtOrgan}"></option> <option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd} == ${equInfo.mgtOrgan}"></option>
</th:block> </th:block>
</th:block>
</select> </select>
</div> </div>
</div> </div>

View File

@ -48,9 +48,9 @@
<th rowspan="2">세부분류</th> <th rowspan="2">세부분류</th>
<th rowspan="2">총계</th> <th rowspan="2">총계</th>
<th rowspan="2">본청</th> <th rowspan="2">본청</th>
<th colspan="6">중부</th> <th colspan="5">중부</th>
<th colspan="6">서해</th> <th colspan="6">서해</th>
<th colspan="7">남해</th> <th colspan="6">남해</th>
<th colspan="5">동해</th> <th colspan="5">동해</th>
<th colspan="3">제주</th> <th colspan="3">제주</th>
</tr> </tr>
@ -60,7 +60,6 @@
<th>평택서</th> <th>평택서</th>
<th>태안서</th> <th>태안서</th>
<th>보령서</th> <th>보령서</th>
<th>서특단</th>
<th></th> <th></th>
<th>목포서</th> <th>목포서</th>
<th>부안서</th> <th>부안서</th>
@ -73,7 +72,6 @@
<th>창원서</th> <th>창원서</th>
<th>통영서</th> <th>통영서</th>
<th>사천서</th> <th>사천서</th>
<th>중특단</th>
<th></th> <th></th>
<th>속초서</th> <th>속초서</th>
<th>동해서</th> <th>동해서</th>
@ -95,7 +93,6 @@
<td th:text="${equip.cnt_pyeongtaek}"></td> <td th:text="${equip.cnt_pyeongtaek}"></td>
<td th:text="${equip.cnt_taean}"></td> <td th:text="${equip.cnt_taean}"></td>
<td th:text="${equip.cnt_boryeong}"></td> <td th:text="${equip.cnt_boryeong}"></td>
<td th:text="${equip.cnt_seotd}"></td>
<td th:text="${equip.cnt_west}"></td> <td th:text="${equip.cnt_west}"></td>
<td th:text="${equip.cnt_mokpo}"></td> <td th:text="${equip.cnt_mokpo}"></td>
<td th:text="${equip.cnt_buan}"></td> <td th:text="${equip.cnt_buan}"></td>
@ -108,7 +105,6 @@
<td th:text="${equip.cnt_changwon}"></td> <td th:text="${equip.cnt_changwon}"></td>
<td th:text="${equip.cnt_tongyong}"></td> <td th:text="${equip.cnt_tongyong}"></td>
<td th:text="${equip.cnt_sacheon}"></td> <td th:text="${equip.cnt_sacheon}"></td>
<td th:text="${equip.cnt_jungtd}"></td>
<td th:text="${equip.cnt_east}"></td> <td th:text="${equip.cnt_east}"></td>
<td th:text="${equip.cnt_sokcho}"></td> <td th:text="${equip.cnt_sokcho}"></td>
<td th:text="${equip.cnt_donghe}"></td> <td th:text="${equip.cnt_donghe}"></td>