단속자료 세외수입 전송 오류 수정

main
이범준 4 months ago
parent fee622a6fb
commit 0325ad91aa

@ -1,6 +1,5 @@
package cokr.xit.fims.nxrp; package cokr.xit.fims.nxrp;
import cokr.xit.fims.levy.LevyQuery;
import cokr.xit.foundation.component.QueryRequest; import cokr.xit.foundation.component.QueryRequest;
/** /**
@ -31,7 +30,7 @@ public class NisIndivQuery extends QueryRequest {
return ifEmpty(crdnIds, () -> null); return ifEmpty(crdnIds, () -> null);
} }
public <T extends LevyQuery> T setCrdnIds(String... crdnIds) { public <T extends NisIndivQuery> T setCrdnIds(String... crdnIds) {
this.crdnIds = crdnIds; this.crdnIds = crdnIds;
return self(); return self();
} }

@ -135,7 +135,7 @@ $(document).ready(function(){
} }
}); });
$P.crdnControl.defaultFetchSize = FETCH_XS; $P.crdnControl.defaultFetchSize = FETCH_XS;
$P.crdnControl.untilPageNum = 0;
$P.crdnControl.beforeCurrent = null; $P.crdnControl.beforeCurrent = null;
$P.crdnControl.urls.newInfoByFile = ""; $P.crdnControl.urls.newInfoByFile = "";
@ -147,7 +147,7 @@ $(document).ready(function(){
$P.crdnControl.dataset.onDatasetChange = (obj, option) => { $P.crdnControl.dataset.onDatasetChange = (obj, option) => {
var t = $P.getGridTemplate(); var t = $P.getGridTemplate();
var trs = Apply.fromDataset.getTbody($P.crdnControl.dataset, t.found, t.notFound, t.replacer); var trs = Apply.fromDataset.getTbody($P.crdnControl.dataset, t.found, t.notFound, t.replacer);
$P.renderCrdnList(obj["Total"], $P.crdnControl.dataset.length, trs); $P.renderCrdnList(obj["Total"], $P.crdnControl.dataset.length, trs, option);
Apply.fromDataset.paging($P.crdnControl.dataset, obj, "crdnPaging--${pageName}"); Apply.fromDataset.paging($P.crdnControl.dataset, obj, "crdnPaging--${pageName}");
@ -203,9 +203,7 @@ $(document).ready(function(){
} }
$P.refreshCrdnList = () => { $P.refreshCrdnList = () => {
$P.crdnControl.untilPageNum = $P.crdnControl.query.pageNum; $P.crdnControl.reload({all : true});
$P.crdnControl.query.fetchSize = $P.crdnControl.defaultFetchSize * $P.crdnControl.query.pageNum;
$P.crdnControl.load(1);
} }
@ -223,21 +221,19 @@ $(document).ready(function(){
}; };
} }
$P.renderCrdnList = (total, listLength, trs) => { $P.renderCrdnList = (total, listLength, trs, option) => {
let noMore = (listLength >= total); let noMore = (listLength >= total);
var initScroll = ($P.crdnControl.query.pageNum < 2) && ($P.crdnControl.untilPageNum == 0); var initScroll = ($P.crdnControl.query.pageNum < 2);
if(option != null && option.reloaded){
initScroll = false;
}
$("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore);
//보안모드 //보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked")); fn_securityModeToggle($("#securityMode--top").is(":checked"));
if($P.crdnControl.untilPageNum != 0){
$P.crdnControl.query.fetchSize = $P.crdnControl.defaultFetchSize;
$P.crdnControl.query.pageNum = $P.crdnControl.untilPageNum;
$P.crdnControl.untilPageNum = 0;
}
} }
$P.clickCrdnList = (dataKey) => { $P.clickCrdnList = (dataKey) => {

@ -315,7 +315,7 @@ $(document).ready(function(){
} }
}); });
$P.crdnControl.defaultFetchSize = FETCH_XS; $P.crdnControl.defaultFetchSize = FETCH_XS;
$P.crdnControl.untilPageNum = 0;
$P.crdnControl.beforeCurrent = null; $P.crdnControl.beforeCurrent = null;
/************************************************************************** /**************************************************************************
@ -324,7 +324,7 @@ $(document).ready(function(){
$P.crdnControl.dataset.onDatasetChange = (obj, option) => { $P.crdnControl.dataset.onDatasetChange = (obj, option) => {
var t = $P.getGridTemplate(); var t = $P.getGridTemplate();
var trs = Apply.fromDataset.getTbody($P.crdnControl.dataset, t.found, t.notFound, t.replacer); var trs = Apply.fromDataset.getTbody($P.crdnControl.dataset, t.found, t.notFound, t.replacer);
$P.renderCrdnList(obj["Total"], $P.crdnControl.dataset.length, trs); $P.renderCrdnList(obj["Total"], $P.crdnControl.dataset.length, trs, option);
Apply.fromDataset.paging($P.crdnControl.dataset, obj, "crdnPaging--${pageName}"); Apply.fromDataset.paging($P.crdnControl.dataset, obj, "crdnPaging--${pageName}");
}; };
@ -405,9 +405,7 @@ $(document).ready(function(){
} }
$P.refreshCrdnList = () => { $P.refreshCrdnList = () => {
$P.crdnControl.untilPageNum = $P.crdnControl.query.pageNum; $P.crdnControl.reload({all : true});
$P.crdnControl.query.fetchSize = $P.crdnControl.defaultFetchSize * $P.crdnControl.query.pageNum;
$P.crdnControl.load(1);
} }
$P.fnExcelDown = (forApproval) => { $P.fnExcelDown = (forApproval) => {
@ -462,20 +460,18 @@ $(document).ready(function(){
}; };
} }
$P.renderCrdnList = (total, listLength, trs) => { $P.renderCrdnList = (total, listLength, trs, option) => {
let noMore = (listLength >= total); let noMore = (listLength >= total);
var initScroll = ($P.crdnControl.query.pageNum < 2) && ($P.crdnControl.untilPageNum == 0); var initScroll = ($P.crdnControl.query.pageNum < 2);
if(option != null && option.reloaded){
initScroll = false;
}
$("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore);
fn_securityModeToggle($("#securityMode--top").is(":checked")); //보안모드 fn_securityModeToggle($("#securityMode--top").is(":checked")); //보안모드
if($P.crdnControl.untilPageNum != 0){
$P.crdnControl.query.fetchSize = $P.crdnControl.defaultFetchSize;
$P.crdnControl.query.pageNum = $P.crdnControl.untilPageNum;
$P.crdnControl.untilPageNum = 0;
}
} }
$P.clickCrdnList = (dataKey) => { $P.clickCrdnList = (dataKey) => {

Loading…
Cancel
Save