itn 2023-08-04
기업회원 첨부파일 뷰어에 기업유형 등 항목 추가
@15fdce717f3fed703e32c542da1064badd05657c
src/main/java/itn/let/mjo/msg/web/MjonMsgController.java
--- src/main/java/itn/let/mjo/msg/web/MjonMsgController.java
+++ src/main/java/itn/let/mjo/msg/web/MjonMsgController.java
@@ -5062,6 +5062,7 @@
 		String hstSttus = mberCmpHstVO.getHstSttus();
 		String hstType = mberCmpHstVO.getHstType();
 		String mberNm = mberCmpHstVO.getMberNm();
+		String bizType = mberCmpHstVO.getBizType();
 		String bizNo = mberCmpHstVO.getBizNo();
 		String ceoNm = mberCmpHstVO.getCeoNm();
 		String mberId = mberCmpHstVO.getMberId();
@@ -5093,12 +5094,22 @@
 			}
 		}
 		
+		//기업유형
+		ComDefaultCodeVO voComCode = new ComDefaultCodeVO();
+		voComCode.setCodeId("ITN033");
+		model.addAttribute("bizTypeList", cmmUseService.selectCmmCodeDetail(voComCode));		
+		
+		// 유형 코드조회
+		voComCode.setCodeId("ITN048");
+		model.addAttribute("hstTypeList", cmmUseService.selectCmmCodeDetail(voComCode));		
+
 		model.addAttribute("pdfPath", path);
 		model.addAttribute("fileType", fileType);
 		model.addAttribute("docuDiv", docuDiv);
 		model.addAttribute("atchFileId", atchFileId);
 		model.addAttribute("workAtchFileId", workAtchFileId);
 		model.addAttribute("mberNm", mberNm);
+		model.addAttribute("bizType", bizType);
 		model.addAttribute("bizNo", bizNo);
 		model.addAttribute("ceoNm", ceoNm);
 		model.addAttribute("hstManagerNm", hstManagerNm);
src/main/webapp/WEB-INF/jsp/uss/ion/msg/pdfView.jsp
--- src/main/webapp/WEB-INF/jsp/uss/ion/msg/pdfView.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/msg/pdfView.jsp
@@ -331,20 +331,24 @@
 		<table class="tbType1">
 			<colgroup>
 				<col style="width: *%">
-				<col style="width: 12%">
-				<col style="width: 15%">
-				<col style="width: 15%">
-				<col style="width: 12%">
 				<col style="width: 6%">
+				<col style="width: 10%">
+				<col style="width: 13%">
+				<col style="width: 10%">
+				<col style="width: 12%">
+				<col style="width: 8%">
+				<col style="width: 5%">
 				<col style="width: 5%">
 			</colgroup>
 			<thead>
 				<tr>
 					<th>기업명</th>
+					<th>구분</th>
 					<th>사업자번호</th>
 					<th>대표자</th>
 					<th>담당자</th>
 					<th>휴대폰</th>
+					<th>유형</th>
 					<th>사업자</th>
 					<th>재직</th>
 				</tr>
@@ -352,11 +356,21 @@
 			<tbody>
 				<tr>
 					<td title="${mberNm}">${mberNm}</td>
+					<td>
+                        <c:forEach var="item" items="${bizTypeList}" varStatus="status">
+                            <c:if test="${bizType == item.code}"><c:out value="${fn:substring(item.codeNm,0,2)}"/></c:if>
+                        </c:forEach>
+					</td>
 					<td title="${bizNo}">${bizNo}</td>
 					<td title="${ceoNm}">${ceoNm}</td>
 					<td title="${hstManagerNm}">${hstManagerNm}</td>
 					<td title="${hstMbtlNum}">${hstMbtlNum}</td>
 					<td>
+                        <c:forEach var="item" items="${hstTypeList}" varStatus="status">
+                            <c:if test="${hstType == item.code}"><c:out value="${item.codeNm}"/></c:if>
+                        </c:forEach>					
+					</td>
+					<td>
 						<c:if test="${not empty atchFileId}">
 							<c:import url="/cmm/fms/selectMberFileInfs.do" charEncoding="utf-8">
 								<c:param name="param_atchFileId" value="${atchFileId}" />
Add a comment
List