|
|
@ -16,6 +16,7 @@ import cokr.xit.fims.cmmn.CrdnSttsHstryQuery;
|
|
|
|
import cokr.xit.fims.cmmn.service.CrdnSttsHstryService;
|
|
|
|
import cokr.xit.fims.cmmn.service.CrdnSttsHstryService;
|
|
|
|
import cokr.xit.fims.crdn.CrdnQuery;
|
|
|
|
import cokr.xit.fims.crdn.CrdnQuery;
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnService;
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnService;
|
|
|
|
|
|
|
|
import cokr.xit.fims.crdn.service.bean.CrdnStngBean;
|
|
|
|
import cokr.xit.fims.excl.LevyExclQuery;
|
|
|
|
import cokr.xit.fims.excl.LevyExclQuery;
|
|
|
|
import cokr.xit.fims.excl.service.OpnnSbmsnService;
|
|
|
|
import cokr.xit.fims.excl.service.OpnnSbmsnService;
|
|
|
|
import cokr.xit.fims.sndb.SndbQuery;
|
|
|
|
import cokr.xit.fims.sndb.SndbQuery;
|
|
|
@ -45,6 +46,8 @@ public class StatServiceBean extends AbstractServiceBean implements StatService
|
|
|
|
@Resource(name = "statBean")
|
|
|
|
@Resource(name = "statBean")
|
|
|
|
private StatBean statBean;
|
|
|
|
private StatBean statBean;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name = "crdnStngBean")
|
|
|
|
|
|
|
|
private CrdnStngBean crdnStngBean;
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public Stat getStatistics(StatQuery statQuery, Map<String, List<CommonCode>> commonCodes) {
|
|
|
|
public Stat getStatistics(StatQuery statQuery, Map<String, List<CommonCode>> commonCodes) {
|
|
|
@ -198,6 +201,10 @@ public class StatServiceBean extends AbstractServiceBean implements StatService
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!ifEmpty(statQuery.getCarGb(), ()->"").equals("")) {
|
|
|
|
|
|
|
|
queryResult.removeIf(item -> !(crdnStngBean.getCarGb(item.string("VHRNO")).equals(statQuery.getCarGb())));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//통계 생성
|
|
|
|
//통계 생성
|
|
|
|
stat = statBean.groupByCartegory(queryResult, statQuery);
|
|
|
|
stat = statBean.groupByCartegory(queryResult, statQuery);
|
|
|
|
|
|
|
|
|
|
|
|