2 Commits fdc1c1453d ... b2273741c9

Author SHA1 Message Date
  SBK b2273741c9 Merge branch 'master' of http://211.38.140.247:3000/sgc/sgc-portal 1 year ago
  SBK 30d4034b6b 미수금미청구사유등록 사유미등록 조건 추가 1 year ago

+ 1 - 0
src/main/java/sgc/portal/co/co0102/dto/CO01020001USearch.java

@@ -23,4 +23,5 @@ public class CO01020001USearch extends BaseSearchDto {
 	private String complCd;     /*준공여부코드*/
 	private String gubun;     /*금액구분*/
 	private String unit;     /*조회기준*/
+	private String resnYn;   /*사유 미 등록 건*/
 }

+ 4 - 0
src/main/resources/sqlmap/mappers/co/co0102/CO01020001UMapper.xml

@@ -89,6 +89,10 @@
 		   AND (D.NON_CTMN <![CDATA[>=]]> #{unit} 
 		     OR (NVL(A.SALE_AMT,0) - NVL(B.PYRQ_NAS_AMT,0)) <![CDATA[>=]]> #{unit} ) 
 		</if>
+		<if test="resnYn != '' and resnYn != null">
+		   AND (E.NPYRQ_RSN = '' OR E.NPYRQ_RSN IS NULL)
+		   AND (E.RCAMT_RSN = '' OR E.RCAMT_RSN IS NULL)
+		</if>		
 		 ORDER BY A.CCGRP_CD, A.CC_CD
 	</select>
     

+ 14 - 1
src/main/webapp/ux/co/co0102/CO01020001U.xml

@@ -68,6 +68,7 @@
 						<w2:key id="gubun" name="금액구분" dataType="text"></w2:key>
 						<w2:key id="unit" name="조회기준" dataType="text"></w2:key>
 						<w2:key id="ccgrpCd1" name="본부" dataType="text"></w2:key>
+						<w2:key id="resnYn" name="사유미등록건" dataType="text"></w2:key>
 					</w2:keyInfo>
 				</w2:dataMap>
 			</w2:dataCollection>
@@ -106,6 +107,7 @@
 		rdoComplCd.setValue( "01" ); //진행구분
 		selCo002.setValue( 2 );	//조회기준
 		scwin.getComboCcgrp();	//본부조회
+		chkResn.setValue( '' );
 		ccPop.hideComp(false,false,false,true,true,true);	//현장udc
         scwin.grdSearch();	//조회
         dcdataList1.setRowPosition( 0 );
@@ -509,7 +511,8 @@
 									<w2:rowspan>1</w2:rowspan>
 								</w2:attributes>
 								<xf:select1 id="rdoOrder" selectedIndex="0" appearance="full" style="height: 21px;clear:both;" rows="1"
-									ref="data:dcsearchMap1.gubun" renderType="table" ev:onchange="scwin.rdoOrder_onchange" ev:onviewchange="scwin.search_onviewchange">
+									ref="data:dcsearchMap1.gubun" renderType="table" ev:onchange="scwin.rdoOrder_onchange"
+									ev:onviewchange="scwin.search_onviewchange">
 									<xf:choices>
 										<xf:item>
 											<xf:label><![CDATA[전체]]></xf:label>
@@ -525,6 +528,15 @@
 										</xf:item>
 									</xf:choices>
 								</xf:select1>
+								<xf:select ref="data:dcsearchMap1.resnYn" appearance="full" ev:onchange=""
+									ev:onviewchange="scwin.search_onviewchange" style="float:right;" id="chkResn" selectedindex="0" rows="1" cols="">
+									<xf:choices>
+										<xf:item>
+											<xf:label><![CDATA[사유미등록 건]]></xf:label>
+											<xf:value>N</xf:value>
+										</xf:item>
+									</xf:choices>
+								</xf:select>
 							</xf:group>
 						</xf:group>
 						<xf:group tagname="tr" style="">
@@ -559,6 +571,7 @@
 							</xf:group>
 							<xf:group class="w2tb_td" style="text-align:right;" tagname="td">
 								(단위:원)
+
 							</xf:group>
 						</xf:group>
 					</xf:group>