Browse Source

미수금미청구사유등록 사유미등록 조건 추가

SBK 1 year ago
parent
commit
30d4034b6b

+ 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 complCd;     /*준공여부코드*/
 	private String gubun;     /*금액구분*/
 	private String gubun;     /*금액구분*/
 	private String unit;     /*조회기준*/
 	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} 
 		   AND (D.NON_CTMN <![CDATA[>=]]> #{unit} 
 		     OR (NVL(A.SALE_AMT,0) - NVL(B.PYRQ_NAS_AMT,0)) <![CDATA[>=]]> #{unit} ) 
 		     OR (NVL(A.SALE_AMT,0) - NVL(B.PYRQ_NAS_AMT,0)) <![CDATA[>=]]> #{unit} ) 
 		</if>
 		</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
 		 ORDER BY A.CCGRP_CD, A.CC_CD
 	</select>
 	</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="gubun" name="금액구분" dataType="text"></w2:key>
 						<w2:key id="unit" 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="ccgrpCd1" name="본부" dataType="text"></w2:key>
+						<w2:key id="resnYn" name="사유미등록건" dataType="text"></w2:key>
 					</w2:keyInfo>
 					</w2:keyInfo>
 				</w2:dataMap>
 				</w2:dataMap>
 			</w2:dataCollection>
 			</w2:dataCollection>
@@ -106,6 +107,7 @@
 		rdoComplCd.setValue( "01" ); //진행구분
 		rdoComplCd.setValue( "01" ); //진행구분
 		selCo002.setValue( 2 );	//조회기준
 		selCo002.setValue( 2 );	//조회기준
 		scwin.getComboCcgrp();	//본부조회
 		scwin.getComboCcgrp();	//본부조회
+		chkResn.setValue( '' );
 		ccPop.hideComp(false,false,false,true,true,true);	//현장udc
 		ccPop.hideComp(false,false,false,true,true,true);	//현장udc
         scwin.grdSearch();	//조회
         scwin.grdSearch();	//조회
         dcdataList1.setRowPosition( 0 );
         dcdataList1.setRowPosition( 0 );
@@ -509,7 +511,8 @@
 									<w2:rowspan>1</w2:rowspan>
 									<w2:rowspan>1</w2:rowspan>
 								</w2:attributes>
 								</w2:attributes>
 								<xf:select1 id="rdoOrder" selectedIndex="0" appearance="full" style="height: 21px;clear:both;" rows="1"
 								<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:choices>
 										<xf:item>
 										<xf:item>
 											<xf:label><![CDATA[전체]]></xf:label>
 											<xf:label><![CDATA[전체]]></xf:label>
@@ -525,6 +528,15 @@
 										</xf:item>
 										</xf:item>
 									</xf:choices>
 									</xf:choices>
 								</xf:select1>
 								</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>
 						</xf:group>
 						<xf:group tagname="tr" style="">
 						<xf:group tagname="tr" style="">
@@ -559,6 +571,7 @@
 							</xf:group>
 							</xf:group>
 							<xf:group class="w2tb_td" style="text-align:right;" tagname="td">
 							<xf:group class="w2tb_td" style="text-align:right;" tagname="td">
 								(단위:원)
 								(단위:원)
+
 							</xf:group>
 							</xf:group>
 						</xf:group>
 						</xf:group>
 					</xf:group>
 					</xf:group>