[BO] 관리자만 엑셀다운로드/업로드, 지방실사 로그인시 해당 실사지역의 대시보드 현황 노출되어야 함함

This commit is contained in:
김현주
2025-07-18 16:31:11 +09:00
parent b08c0295f4
commit 9b62045905
4 changed files with 8 additions and 4 deletions

View File

@@ -76,6 +76,9 @@
<if test="'prod'.equals(activeProfiles)">
and u.in_use = true
</if>
<if test="reqVO.regionMainCode != null and reqVO.regionMainCode != ''">
and h.region_main_code = #{reqVO.regionMainCode}
</if>
GROUP BY ROLLUP(u.code_text)
ORDER BY CASE WHEN COALESCE(u.code_text, '전체') = '전체' THEN 1 ELSE 0 END,
MIN(u.order_no) NULLS LAST,