인터페이스 세부설정관리 - 그리드/검색조건 재구성
This commit is contained in:
@@ -115,6 +115,7 @@ public class EAIMessageService extends AbstractDataService<EAIMessageEntity, Str
|
||||
return getJPAQueryFactory()
|
||||
.select(qeaiMessageEntity
|
||||
, qServiceMessageEntity.psvintfacdsticname
|
||||
, qServiceMessageEntity.psvsysadptrbzwkgroupname
|
||||
, qRouting.nonmotivrouturiname
|
||||
, qStdInfo.apifullpath
|
||||
, qStdInfo.bzwksvckeyname
|
||||
@@ -136,7 +137,6 @@ public class EAIMessageService extends AbstractDataService<EAIMessageEntity, Str
|
||||
|
||||
QEAIMessageEntity qeaiMessageEntity = QEAIMessageEntity.eAIMessageEntity;
|
||||
QServiceMessageEntity qServiceMessageEntity = QServiceMessageEntity.serviceMessageEntity;
|
||||
QRouting qRouting = QRouting.routing;
|
||||
QStandardMessageInfo qStdInfo = QStandardMessageInfo.standardMessageInfo;
|
||||
|
||||
BooleanBuilder predicate = new BooleanBuilder();
|
||||
@@ -154,11 +154,10 @@ public class EAIMessageService extends AbstractDataService<EAIMessageEntity, Str
|
||||
if (StringUtils.isNotBlank(eaiMessageUISearch.getSearchEaiSvcDesc())) {
|
||||
predicate.and(qeaiMessageEntity.eaisvcdesc.containsIgnoreCase(eaiMessageUISearch.getSearchEaiSvcDesc()));
|
||||
}
|
||||
if (StringUtils.isNotBlank(eaiMessageUISearch.getSearchSvcMotivUsedStcd())) {
|
||||
predicate.and(qeaiMessageEntity.svcmotivusedstcd.eq(eaiMessageUISearch.getSearchSvcMotivUsedStcd()));
|
||||
}
|
||||
if (StringUtils.isNotBlank(eaiMessageUISearch.getSearchFlowControl())) {
|
||||
predicate.and(qeaiMessageEntity.flowctrlroutname.eq(eaiMessageUISearch.getSearchFlowControl()));
|
||||
if (StringUtils.isNotBlank(eaiMessageUISearch.getSearchGstatSysAdptrBzwkGroupName())) {
|
||||
predicate
|
||||
.and(qeaiMessageEntity.gstatsysadptrbzwkgroupname
|
||||
.containsIgnoreCase(eaiMessageUISearch.getSearchGstatSysAdptrBzwkGroupName()));
|
||||
}
|
||||
if (StringUtils.isNotBlank(eaiMessageUISearch.getSearchTranType())) {
|
||||
predicate.and(qeaiMessageEntity.trantype.eq(eaiMessageUISearch.getSearchTranType()));
|
||||
@@ -178,18 +177,11 @@ public class EAIMessageService extends AbstractDataService<EAIMessageEntity, Str
|
||||
predicate.and(qeaiMessageEntity.refkey.containsIgnoreCase(eaiMessageUISearch.getSearchRefKey()));
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(eaiMessageUISearch.getSearchQueueName())) {
|
||||
predicate
|
||||
.and(qeaiMessageEntity.flowctrlroutname.eq(qRouting.routname))
|
||||
.and(qRouting.nonmotivrouturiname.containsIgnoreCase(eaiMessageUISearch.getSearchQueueName()));
|
||||
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(eaiMessageUISearch.getSearchPsvintfacdsticName())) {
|
||||
if (StringUtils.isNotBlank(eaiMessageUISearch.getSearchPsvSysAdptrBzwkGroupName())) {
|
||||
predicate
|
||||
.and(qServiceMessageEntity.id.svcprcssno.eq(1))
|
||||
.and(qServiceMessageEntity.psvintfacdsticname
|
||||
.containsIgnoreCase(eaiMessageUISearch.getSearchPsvintfacdsticName()));
|
||||
.and(qServiceMessageEntity.psvsysadptrbzwkgroupname
|
||||
.containsIgnoreCase(eaiMessageUISearch.getSearchPsvSysAdptrBzwkGroupName()));
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(eaiMessageUISearch.getSearchApiFullPath())) {
|
||||
|
||||
@@ -8,13 +8,11 @@ public class EAIMessageUISearch {
|
||||
private String searchEaiSvcName;
|
||||
private String searchEaiBzwkDstcd;
|
||||
private String searchEaiSvcDesc;
|
||||
private String searchSvcMotivUsedStcd;
|
||||
private String searchFlowControl;
|
||||
private String searchGstatSysAdptrBzwkGroupName;
|
||||
private String searchTranType;
|
||||
private String searchQueueName;
|
||||
|
||||
private String rmsMenuAuth;
|
||||
private String searchPsvintfacdsticName;
|
||||
private String searchPsvSysAdptrBzwkGroupName;
|
||||
private String searchExtBizCd;
|
||||
|
||||
private String tranChangeSim;
|
||||
|
||||
+7
-6
@@ -97,10 +97,13 @@ public class EaiMsgManService extends OnlBaseService {
|
||||
EAIMessageEntity eaiMessageEntity = tuple.get(QEAIMessageEntity.eAIMessageEntity);
|
||||
String nonMotivRoutUriName = tuple.get(QRouting.routing.nonmotivrouturiname);
|
||||
String psvIntfaCdSticName = tuple.get(QServiceMessageEntity.serviceMessageEntity.psvintfacdsticname);
|
||||
String psvSysAdptrBzwkGroupName = tuple
|
||||
.get(QServiceMessageEntity.serviceMessageEntity.psvsysadptrbzwkgroupname);
|
||||
|
||||
EAIMessageUI eaiMessageUI = eaiMessageUIMapper.toVoWithoutChildren(eaiMessageEntity);
|
||||
eaiMessageUI.setNonMotivRoutUriName(nonMotivRoutUriName);
|
||||
eaiMessageUI.setPsvIntfaCdSticName(psvIntfaCdSticName);
|
||||
eaiMessageUI.setPsvSysAdptrBzwkGroupName(psvSysAdptrBzwkGroupName);
|
||||
return eaiMessageUI;
|
||||
});
|
||||
}
|
||||
@@ -114,16 +117,14 @@ public class EaiMsgManService extends OnlBaseService {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
|
||||
EAIMessageEntity eaiMessageEntity = tuple.get(QEAIMessageEntity.eAIMessageEntity);
|
||||
String nonMotivRoutUriName = tuple.get(QRouting.routing.nonmotivrouturiname);
|
||||
String psvIntfaCdSticName = tuple.get(QServiceMessageEntity.serviceMessageEntity.psvintfacdsticname);
|
||||
String psvSysAdptrBzwkGroupName = tuple
|
||||
.get(QServiceMessageEntity.serviceMessageEntity.psvsysadptrbzwkgroupname);
|
||||
|
||||
map.put("EAIBZWKDSTCD", eaiMessageEntity.getEaibzwkdstcd());
|
||||
map.put("EAISVCNAME", eaiMessageEntity.getEaisvcname());
|
||||
map.put("EAISVCDESC", eaiMessageEntity.getEaisvcdesc());
|
||||
map.put("SVCMOTIVUSEDSTCD", eaiMessageEntity.getSvcmotivusedstcd());
|
||||
map.put("PSVINTFACDSTICNAME", psvIntfaCdSticName);
|
||||
map.put("NONMOTIVROUTURINAME", nonMotivRoutUriName);
|
||||
map.put("FLOWCTRLROUTNAME", eaiMessageEntity.getFlowctrlroutname());
|
||||
map.put("GSTATSYSADPTRBZWKGROUPNAME", eaiMessageEntity.getGstatsysadptrbzwkgroupname());
|
||||
map.put("PSVSYSADPTRBZWKGROUPNAME", psvSysAdptrBzwkGroupName);
|
||||
|
||||
String eaisevrdstcd = codeService
|
||||
.findCodeName("INOUT_TYPE", eaiMessageEntity.getEaisevrdstcd())
|
||||
|
||||
@@ -109,6 +109,9 @@ public class EAIMessageUI {
|
||||
@JsonProperty("PSVINTFACDSTICNAME")
|
||||
private String psvIntfaCdSticName;
|
||||
|
||||
@JsonProperty("PSVSYSADPTRBZWKGROUPNAME")
|
||||
private String psvSysAdptrBzwkGroupName;
|
||||
|
||||
@JsonProperty("svcAll")
|
||||
private List<ServiceMessageUI> serviceMessages;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user