feat: There is no way the Buss advanced query
This commit is contained in:
+22
-27
@@ -207,36 +207,31 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
page.setAdvanceSearchStr(null);
|
page.setAdvanceSearchStr(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
List<String> getMenuIdList = new ArrayList<>();
|
||||||
page.setOrderBy("SAR_BUSSIONESS_STAND.issue_time is null,SAR_BUSSIONESS_STAND.issue_time desc,SAR_BUSSIONESS_STAND.id");
|
if(userId != null){
|
||||||
List<String> getMenuIdList = new ArrayList<>();
|
getMenuIdList= tsUserService.getResourceUserId(userId);
|
||||||
if(userId != null){
|
}
|
||||||
getMenuIdList= tsUserService.getResourceUserId(userId);
|
// List<String> getMenuIdList = sarMenuEOService.queryRoleMenuIdList(page.getStandType() + "_STAND", null);
|
||||||
}
|
if (getMenuIdList != null && !getMenuIdList.isEmpty()) {
|
||||||
// List<String> getMenuIdList = sarMenuEOService.queryRoleMenuIdList(page.getStandType() + "_STAND", null);
|
page.setMenuRoleList(getMenuIdList);
|
||||||
if (getMenuIdList != null && !getMenuIdList.isEmpty()) {
|
|
||||||
page.setMenuRoleList(getMenuIdList);
|
|
||||||
} else {
|
|
||||||
page.setMenuRoleList(null);
|
|
||||||
}
|
|
||||||
// List<String> getMenuIdList = sarMenuEOService.queryRoleMenuIdList("BUSINESS_STAND",page.getMenuId());
|
|
||||||
if(getMenuIdList != null && !getMenuIdList.isEmpty()) {
|
|
||||||
page.setMenuRoleList(getMenuIdList);
|
|
||||||
}
|
|
||||||
List<String> ids = sarMenuEOService.getChildMenuList(page.getMenuId());
|
|
||||||
if (ids != null && !ids.isEmpty()) {
|
|
||||||
page.setMenuAllChildrenIdList(ids);
|
|
||||||
}
|
|
||||||
if (StringUtils.isNotBlank(page.getAdvanceSearchVOStr())) {
|
|
||||||
List<SarAdvanceSearchVO> searchList = com.alibaba.fastjson.JSONObject.parseArray(page.getAdvanceSearchVOStr(), SarAdvanceSearchVO.class);
|
|
||||||
String advanceStr = SarAdvanceSearchUtil.createSql(searchList);
|
|
||||||
if (StringUtils.isNotBlank(advanceStr)) {
|
|
||||||
page.setAdvanceSearchStr(advanceStr);
|
|
||||||
} else {
|
} else {
|
||||||
page.setAdvanceSearchStr(null);
|
page.setMenuRoleList(null);
|
||||||
|
}
|
||||||
|
// List<String> getMenuIdList = sarMenuEOService.queryRoleMenuIdList("BUSINESS_STAND",page.getMenuId());
|
||||||
|
if(getMenuIdList != null && !getMenuIdList.isEmpty()) {
|
||||||
|
page.setMenuRoleList(getMenuIdList);
|
||||||
|
}
|
||||||
|
List<String> ids = sarMenuEOService.getChildMenuList(page.getMenuId());
|
||||||
|
if (ids != null && !ids.isEmpty()) {
|
||||||
|
page.setMenuAllChildrenIdList(ids);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
page.setUserId(userId);
|
page.setOrderBy("SAR_BUSSIONESS_STAND.issue_time is null,SAR_BUSSIONESS_STAND.issue_time desc,SAR_BUSSIONESS_STAND.id");
|
||||||
|
if(userId != null){
|
||||||
|
page.setUserId(userId);
|
||||||
|
}else {
|
||||||
|
page.setUserId(LoginUserUtil.getUserId());
|
||||||
|
}
|
||||||
List<SarBussionessStand> getList = sarBussionessStandEODao.getSarBussionessStand(page);
|
List<SarBussionessStand> getList = sarBussionessStandEODao.getSarBussionessStand(page);
|
||||||
attrInfoShow(getList);
|
attrInfoShow(getList);
|
||||||
return getList;
|
return getList;
|
||||||
|
|||||||
Reference in New Issue
Block a user