Browse Source

Merge branch 'master' of http://211.38.140.247:3000/sgc/sgc-portal

SBK 1 year ago
parent
commit
3a3a097e39

+ 12 - 12
src/main/resources/sqlmap/mappers/co/co0104/CO01040001UMapper.xml

@@ -49,9 +49,9 @@
 								     , A.PYRQ_CNDT
 								     , A.PYRQ_CNDT
      								 , A.CTMN_CNDT
      								 , A.CTMN_CNDT
 								  FROM CON_PJT_MST A
 								  FROM CON_PJT_MST A
-								  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = A.STD_YM
+								  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = B.STD_YM
 								 WHERE A.CMPN_CD = #{cmpnCd}
 								 WHERE A.CMPN_CD = #{cmpnCd}
-								   AND A.STD_YM <![CDATA[<]]>= #{stdYm}
+								   AND A.STD_YM <![CDATA[<=]]> #{stdYm}
 								   AND A.CC_CD LIKE #{ccCd}
 								   AND A.CC_CD LIKE #{ccCd}
 								 GROUP BY A.CMPN_CD , A.STD_YM , A.CCGRP_CD, A.CC_CD, A.SALE_AMT, A.PYRQ_CNDT, A.CTMN_CNDT
 								 GROUP BY A.CMPN_CD , A.STD_YM , A.CCGRP_CD, A.CC_CD, A.SALE_AMT, A.PYRQ_CNDT, A.CTMN_CNDT
 					  		)
 					  		)
@@ -70,10 +70,10 @@
 						 , NVL(C.CTMN_AMT,0) CTMN_AMT
 						 , NVL(C.CTMN_AMT,0) CTMN_AMT
 						 , TO_CHAR(TO_DATE(B.CTMN_EXP_DT,'YYYY-MM-DD'),'YYYY-MM-DD') CTMN_EXP_DT
 						 , TO_CHAR(TO_DATE(B.CTMN_EXP_DT,'YYYY-MM-DD'),'YYYY-MM-DD') CTMN_EXP_DT
 					  FROM CON_PJT_MST A
 					  FROM CON_PJT_MST A
-					  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = A.STD_YM
-					  LEFT JOIN CON_PJT_CTMN C ON C.CMPN_CD = B.CMPN_CD AND C.CC_CD = B.CC_CD AND C.DOCU_NO = B.DOCU_NO 
+					  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = B.STD_YM
+					  LEFT JOIN CON_PJT_CTMN C ON C.CMPN_CD = B.CMPN_CD AND C.STD_YM = #{stdYm} AND C.CC_CD = B.CC_CD AND C.DOCU_NO = B.DOCU_NO 
 					 WHERE A.CMPN_CD = #{cmpnCd}
 					 WHERE A.CMPN_CD = #{cmpnCd}
-					   AND A.STD_YM <![CDATA[<]]>= #{stdYm}
+					   AND A.STD_YM <![CDATA[<=]]> #{stdYm}
 					   AND A.CC_CD LIKE #{ccCd}
 					   AND A.CC_CD LIKE #{ccCd}
 		  		) B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CCGRP_CD = A.CCGRP_CD AND B.CC_CD = A.CC_CD
 		  		) B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CCGRP_CD = A.CCGRP_CD AND B.CC_CD = A.CC_CD
 		  LEFT JOIN  
 		  LEFT JOIN  
@@ -90,10 +90,10 @@
 												 , NVL(B.PYRQ_AMT,0) PYRQ_AMT
 												 , NVL(B.PYRQ_AMT,0) PYRQ_AMT
 												 , NVL(C.CTMN_AMT,0) CTMN_AMT
 												 , NVL(C.CTMN_AMT,0) CTMN_AMT
 											  FROM CON_PJT_MST A
 											  FROM CON_PJT_MST A
-											  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = A.STD_YM
-											  LEFT JOIN CON_PJT_CTMN C ON C.CMPN_CD = B.CMPN_CD AND C.CC_CD = B.CC_CD AND C.DOCU_NO = B.DOCU_NO 
+											  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = B.STD_YM
+											  LEFT JOIN CON_PJT_CTMN C ON C.CMPN_CD = B.CMPN_CD AND C.STD_YM = #{stdYm} AND C.CC_CD = B.CC_CD AND C.DOCU_NO = B.DOCU_NO 
 											 WHERE A.CMPN_CD = #{cmpnCd}
 											 WHERE A.CMPN_CD = #{cmpnCd}
-											   AND A.STD_YM <![CDATA[<]]>= #{stdYm}
+											   AND A.STD_YM <![CDATA[<=]]> #{stdYm}
 											   AND A.CC_CD LIKE #{ccCd}
 											   AND A.CC_CD LIKE #{ccCd}
 								  		)
 								  		)
 								 GROUP BY CMPN_CD, STD_YM, CCGRP_CD, CC_CD, PYRQ_DGR_CN, PYRQ_AMT, CTMN_EXP_DT
 								 GROUP BY CMPN_CD, STD_YM, CCGRP_CD, CC_CD, PYRQ_DGR_CN, PYRQ_AMT, CTMN_EXP_DT
@@ -110,7 +110,7 @@
 					  FROM CON_PJT_MST A
 					  FROM CON_PJT_MST A
 					  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = A.STD_YM
 					  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = A.STD_YM
 					 WHERE A.CMPN_CD = #{cmpnCd}
 					 WHERE A.CMPN_CD = #{cmpnCd}
-					   AND A.STD_YM <![CDATA[<]]>= #{stdYm}
+					   AND A.STD_YM <![CDATA[<=]]> #{stdYm}
 					   AND A.CC_CD LIKE #{ccCd}
 					   AND A.CC_CD LIKE #{ccCd}
 		  		) D ON D.CMPN_CD = A.CMPN_CD AND D.STD_YM = A.STD_YM AND D.CCGRP_CD = A.CCGRP_CD AND D.CC_CD = A.CC_CD
 		  		) D ON D.CMPN_CD = A.CMPN_CD AND D.STD_YM = A.STD_YM AND D.CCGRP_CD = A.CCGRP_CD AND D.CC_CD = A.CC_CD
 		  LEFT JOIN  
 		  LEFT JOIN  
@@ -127,10 +127,10 @@
 												 , NVL(B.PYRQ_AMT,0) PYRQ_AMT
 												 , NVL(B.PYRQ_AMT,0) PYRQ_AMT
 												 , NVL(C.CTMN_AMT,0) CTMN_AMT
 												 , NVL(C.CTMN_AMT,0) CTMN_AMT
 											  FROM CON_PJT_MST A
 											  FROM CON_PJT_MST A
-											  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = A.STD_YM
-											  LEFT JOIN CON_PJT_CTMN C ON C.CMPN_CD = B.CMPN_CD AND C.CC_CD = B.CC_CD AND C.DOCU_NO = B.DOCU_NO 
+											  LEFT JOIN CON_PJT_PYRQ B ON B.CMPN_CD = A.CMPN_CD AND B.STD_YM = A.STD_YM AND B.CC_CD = A.CC_CD AND SUBSTR(B.PYRQ_DT,0,6) = B.STD_YM
+											  LEFT JOIN CON_PJT_CTMN C ON C.CMPN_CD = B.CMPN_CD AND C.STD_YM = #{stdYm} AND C.CC_CD = B.CC_CD AND C.DOCU_NO = B.DOCU_NO 
 											 WHERE A.CMPN_CD = #{cmpnCd}
 											 WHERE A.CMPN_CD = #{cmpnCd}
-											   AND A.STD_YM <![CDATA[<]]>= #{stdYm}
+											   AND A.STD_YM <![CDATA[<=]]> #{stdYm}
 											   AND A.CC_CD LIKE #{ccCd}
 											   AND A.CC_CD LIKE #{ccCd}
 								  		)
 								  		)
 								 GROUP BY CMPN_CD, STD_YM, CCGRP_CD, CC_CD, PYRQ_DGR_CN, PYRQ_AMT, CTMN_EXP_DT
 								 GROUP BY CMPN_CD, STD_YM, CCGRP_CD, CC_CD, PYRQ_DGR_CN, PYRQ_AMT, CTMN_EXP_DT

+ 2 - 2
src/main/webapp/ux/co/co0103/CO01030001P.xml

@@ -306,7 +306,7 @@
 		    	
 		    	
 		    	grdData1.setFocusedCell( rows - 1 );
 		    	grdData1.setFocusedCell( rows - 1 );
 		    	
 		    	
-		    	//scwin.scrollY_grdData1();
+		    	scwin.scrollY_grdData1();
             }
             }
         });
         });
     };
     };
@@ -389,7 +389,7 @@
 						keyMoveEditMode="true" moveKeyEditMode="true" rowNumHeaderValue="No" rowNumStatusResize="true" rowNumVisible="true" rowNumWidth="20"
 						keyMoveEditMode="true" moveKeyEditMode="true" rowNumHeaderValue="No" rowNumStatusResize="true" rowNumVisible="true" rowNumWidth="20"
 						rowStatusHeaderValue="상태" rowStatusVisible="false" rowStatusWidth="20" scrollByColumn="false" scrollByColumnAdaptive="false"
 						rowStatusHeaderValue="상태" rowStatusVisible="false" rowStatusWidth="20" scrollByColumn="false" scrollByColumnAdaptive="false"
 						style="height: 200px;" summaryAuto="false" useShiftKey="true" visibleRowNum="" enterKeyMove="none" readOnly="true" fixedColumn=""
 						style="height: 200px;" summaryAuto="false" useShiftKey="true" visibleRowNum="" enterKeyMove="none" readOnly="true" fixedColumn=""
-						mergeCells="" mergeCellsFixedRows="" mergeCol='' ev:onscrolly="scwin.scrollY_grdData1">
+						mergeCells="" mergeCellsFixedRows="" mergeCol='' ev:onscrolly="scwin.scrollY_grdData1" defaultCellHeight="28">
 						<w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption>
 						<w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption>
 						<w2:header style="" id="header1">
 						<w2:header style="" id="header1">
 							<w2:row style="" id="row1">
 							<w2:row style="" id="row1">

+ 1 - 1
src/main/webapp/ux/co/co0104/CO01040001U.xml

@@ -488,7 +488,7 @@
 						keyMoveEditMode="true" moveKeyEditMode="true" rowNumHeaderValue="No" rowNumStatusResize="true" rowNumVisible="true" rowNumWidth="20"
 						keyMoveEditMode="true" moveKeyEditMode="true" rowNumHeaderValue="No" rowNumStatusResize="true" rowNumVisible="true" rowNumWidth="20"
 						rowStatusHeaderValue="상태" rowStatusVisible="false" rowStatusWidth="20" scrollByColumn="false" scrollByColumnAdaptive="false"
 						rowStatusHeaderValue="상태" rowStatusVisible="false" rowStatusWidth="20" scrollByColumn="false" scrollByColumnAdaptive="false"
 						style="height: 200px;" summaryAuto="false" useShiftKey="true" visibleRowNum="" enterKeyMove="none" readOnly="true" fixedColumn=""
 						style="height: 200px;" summaryAuto="false" useShiftKey="true" visibleRowNum="" enterKeyMove="none" readOnly="true" fixedColumn=""
-						mergeCells="" mergeCellsFixedRows="" mergeCol='' ev:onscrolly="scwin.scrollY_grdData1">
+						mergeCells="" mergeCellsFixedRows="" mergeCol='' ev:onscrolly="scwin.scrollY_grdData1" defaultCellHeight="28">
 						<w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption>
 						<w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption>
 						<w2:header style="" id="header1">
 						<w2:header style="" id="header1">
 							<w2:row style="" id="row1">
 							<w2:row style="" id="row1">

+ 3 - 3
src/main/webapp/ux/co/co0107/CO01070001P.xml

@@ -284,9 +284,9 @@
 						//grdData1.setRowStyle( i , "color", "#8000FF");
 						//grdData1.setRowStyle( i , "color", "#8000FF");
 		    		}
 		    		}
 		    	}
 		    	}
-		    	//grdData1.mergeClear();
-				//grdData1.spanAll(false);
-				//grdData1.toggle(dcdataList1.getCellData( dcdataList1.getMatchedIndex( "cstrUcdNm" , scwin.cstrUcdNm , true) , "rowNum" )-1);
+		    	grdData1.mergeClear();
+				grdData1.spanAll(false);
+				grdData1.toggle(dcdataList1.getCellData( dcdataList1.getMatchedIndex( "cstrUcdNm" , scwin.cstrUcdNm , true) , "rowNum" )-1);
 		    	scwin.gridMergeCol();
 		    	scwin.gridMergeCol();
             }
             }
         });
         });