diff --git a/src/main/resources/sqlmapper/mappers/report/report.xml b/src/main/resources/sqlmapper/mappers/report/report.xml index d32f2c4..5f1a757 100644 --- a/src/main/resources/sqlmapper/mappers/report/report.xml +++ b/src/main/resources/sqlmapper/mappers/report/report.xml @@ -120,10 +120,17 @@ (SELECT USE_YN FROM Rpt_Category WHERE TYPE = 4 AND CODE = T.IN_CATEGORY4) AS inUseCategory4, (IN_PLACE_NAME || '외사-' || IN_PLACE_NUM) AS docNo, - (CASE WHEN IN_REPORT = 0 AND IN_REPORT1 = 0 AND IN_REPORT2 = 0 THEN '-' - WHEN IN_REPORT2 > 0 THEN '상보(' || (SELECT CODENM FROM TCODE WHERE CODE1 = 'DC05' AND CODE2 = IN_JUDGE3) || ')' - ELSE '상보' END) AS fullReportStr, - T.* + (CASE WHEN IN_REPORT = 0 + AND IN_REPORT1 = 0 + AND IN_REPORT2 = 0 + THEN '-' + WHEN IN_REPORT2 > 0 + THEN '상보(' || + (SELECT CODENM + FROM TCODE + WHERE CODE1 = 'DC05' + AND cast(CODE2 as integer) = in_judge3)|| ')' + ELSE '상보' END) AS fullReportStr,T.* FROM RPT_INFO T WHERE diff --git a/src/main/webapp/WEB-INF/jsp/report/myList.jsp b/src/main/webapp/WEB-INF/jsp/report/myList.jsp index e19fb07..cacd405 100644 --- a/src/main/webapp/WEB-INF/jsp/report/myList.jsp +++ b/src/main/webapp/WEB-INF/jsp/report/myList.jsp @@ -161,7 +161,6 @@