Browse Source

eTEC E&C Standard 화면 및 쿼리 수정

DESKTOP-HMLPH8S\kim 2 years ago
parent
commit
b685b318c0

+ 2 - 2
src/main/resources/sqlmap/mappers/qc/qc0102/QC01020001UMapper.xml

@@ -55,7 +55,7 @@
 	</select>
 	</select>
 	
 	
 	<select id="selectQcStndGudlList30" parameterType="map" resultType="easyHashMap">
 	<select id="selectQcStndGudlList30" parameterType="map" resultType="easyHashMap">
-		SELECT DISTINCT A1.CMPN_CD, A1.DOC_ID, A1.UPPER_DOC_ID, A1.STND_DOC_NM_CLICK 
+		SELECT DISTINCT A1.CMPN_CD, A1.DOC_ID, A1.UPPER_DOC_ID, A1.STND_DOC_NM_CLICK || ' > ' || B1.GUDL_NM AS STND_DOC_NM_CLICK, B1.GUDL_SEQ 
   		  FROM (
   		  FROM (
 					WITH RECURSIVE_CODE
 					WITH RECURSIVE_CODE
 					    (
 					    (
@@ -164,7 +164,7 @@
 	</select>
 	</select>
 	
 	
 	<select id="selectQcStndGudlList" parameterType="map" resultType="easyHashMap">
 	<select id="selectQcStndGudlList" parameterType="map" resultType="easyHashMap">
-		SELECT DISTINCT A1.CMPN_CD, A1.DOC_ID, A1.UPPER_DOC_ID, A1.STND_DOC_NM_CLICK 
+		SELECT DISTINCT A1.CMPN_CD, A1.DOC_ID, A1.UPPER_DOC_ID, A1.STND_DOC_NM_CLICK || ' > ' || B1.GUDL_NM AS STND_DOC_NM_CLICK, B1.GUDL_SEQ 
   		  FROM (
   		  FROM (
 					WITH RECURSIVE_CODE
 					WITH RECURSIVE_CODE
 					    (
 					    (

+ 4 - 1
src/main/webapp/ux/qc/qc0102/QC01020001P.xml

@@ -44,6 +44,7 @@
 						<w2:column dataType="text" id="docId" name=""></w2:column>
 						<w2:column dataType="text" id="docId" name=""></w2:column>
 						<w2:column dataType="text" id="upperDocId" name=""></w2:column>
 						<w2:column dataType="text" id="upperDocId" name=""></w2:column>
 						<w2:column dataType="text" id="stndDocNmClick" name=""></w2:column>
 						<w2:column dataType="text" id="stndDocNmClick" name=""></w2:column>
+						<w2:column dataType="text" id="gudlSeq" name=""></w2:column>
 					</w2:columnInfo>
 					</w2:columnInfo>
 				</w2:dataList>
 				</w2:dataList>
 			</w2:dataCollection>
 			</w2:dataCollection>
@@ -230,6 +231,7 @@
     	var docId = dcList2.getCellData( idx , "docId" );
     	var docId = dcList2.getCellData( idx , "docId" );
     	var stndDocNmClick = dcList2.getCellData( idx , "stndDocNmClick" );
     	var stndDocNmClick = dcList2.getCellData( idx , "stndDocNmClick" );
     	var upperDocId = dcList2.getCellData( idx , "upperDocId" );
     	var upperDocId = dcList2.getCellData( idx , "upperDocId" );
+    	var gudlSeq = dcList2.getCellData( idx , "gudlSeq" );
         
         
         popupLib.closePopup();
         popupLib.closePopup();
         
         
@@ -244,7 +246,8 @@
 				guBun2 : "GUDL",
 				guBun2 : "GUDL",
 				docId : docId,
 				docId : docId,
 				upperDocId : upperDocId, 
 				upperDocId : upperDocId, 
-				name : stndDocNmClick
+				name : stndDocNmClick,
+				gudlSeq : gudlSeq
 			},
 			},
 		callback: ""
 		callback: ""
 		});
 		});

+ 4 - 1
src/main/webapp/ux/qc/qc0102/QC01020002P.xml

@@ -54,6 +54,7 @@
 						<w2:column dataType="text" id="docId" name=""></w2:column>
 						<w2:column dataType="text" id="docId" name=""></w2:column>
 						<w2:column dataType="text" id="upperDocId" name=""></w2:column>
 						<w2:column dataType="text" id="upperDocId" name=""></w2:column>
 						<w2:column dataType="text" id="stndDocNmClick" name=""></w2:column>
 						<w2:column dataType="text" id="stndDocNmClick" name=""></w2:column>
+						<w2:column dataType="text" id="gudlSeq" name=""></w2:column>
 					</w2:columnInfo>
 					</w2:columnInfo>
 				</w2:dataList>
 				</w2:dataList>
 				<w2:dataList baseNode="list" id="dcList4" repeatNode="map" saveRemovedData="false" userData1="첨부파일목록" style="">
 				<w2:dataList baseNode="list" id="dcList4" repeatNode="map" saveRemovedData="false" userData1="첨부파일목록" style="">
@@ -345,6 +346,7 @@
     	var docId = dcList3.getCellData( idx , "docId" );
     	var docId = dcList3.getCellData( idx , "docId" );
     	var stndDocNmClick = dcList3.getCellData( idx , "stndDocNmClick" );
     	var stndDocNmClick = dcList3.getCellData( idx , "stndDocNmClick" );
     	var upperDocId = dcList3.getCellData( idx , "upperDocId" );
     	var upperDocId = dcList3.getCellData( idx , "upperDocId" );
+    	var gudlSeq = dcList3.getCellData( idx , "gudlSeq" );
         
         
         popupLib.closePopup();
         popupLib.closePopup();
         
         
@@ -359,7 +361,8 @@
 				guBun2 : "GUDL",
 				guBun2 : "GUDL",
 				docId : docId,
 				docId : docId,
 				upperDocId : upperDocId, 
 				upperDocId : upperDocId, 
-				name : stndDocNmClick
+				name : stndDocNmClick,
+				gudlSeq : gudlSeq
 			},
 			},
 		callback: ""
 		callback: ""
 		});
 		});

+ 7 - 1
src/main/webapp/ux/qc/qc0102/QC01020002U.xml

@@ -214,6 +214,8 @@
 		   	 	scwin.tabControl1_ontabclick("", 1);
 		   	 	scwin.tabControl1_ontabclick("", 1);
     		}else if(param_data.guBun2 == "GUDL"){
     		}else if(param_data.guBun2 == "GUDL"){
     			
     			
+    			tabGudlSeq = param_data.gudlSeq;
+    			
     			tabControl1.setReadOnly( true );
     			tabControl1.setReadOnly( true );
     			tabControl1.setSelectedTabIndex( 2 );
     			tabControl1.setSelectedTabIndex( 2 );
 		    	scwin.v_lastLeftRowIndex = 0;
 		    	scwin.v_lastLeftRowIndex = 0;
@@ -236,6 +238,9 @@
 		   	 	
 		   	 	
 		   	 	scwin.tabControl1_ontabclick("", 1);
 		   	 	scwin.tabControl1_ontabclick("", 1);
     		}else if(param_data.guBun2 == "GUDL"){
     		}else if(param_data.guBun2 == "GUDL"){
+    		
+    			tabGudlSeq = param_data.gudlSeq;
+    		
     			tabControl1.setReadOnly( true );
     			tabControl1.setReadOnly( true );
     			tabControl1.setSelectedTabIndex( 2 );
     			tabControl1.setSelectedTabIndex( 2 );
 		    	scwin.v_lastLeftRowIndex = 0;
 		    	scwin.v_lastLeftRowIndex = 0;
@@ -268,6 +273,7 @@
 	var tabGubun = "";
 	var tabGubun = "";
 	var tabDocId = "";
 	var tabDocId = "";
 	var tabUpperDocId = "";
 	var tabUpperDocId = "";
+	var tabGudlSeq = "";
 
 
     /**************************************************************************
     /**************************************************************************
      * [3] Event 정의
      * [3] Event 정의
@@ -386,7 +392,7 @@
 			    	scwin.grdSearch2(tabDocId);
 			    	scwin.grdSearch2(tabDocId);
 
 
 			    }else if(tab == 2){
 			    }else if(tab == 2){
-			    	scwin.grdSearch3(tabDocId);
+			    	scwin.grdSearch3(tabDocId, tabGudlSeq);
 			    }
 			    }
 		    }
 		    }
         });     
         });