feat: 国内外标准库
This commit is contained in:
+1
@@ -145,6 +145,7 @@ public class TsResourceServiceImpl extends ServiceImpl<TsResourceDao, TsResource
|
|||||||
tsResourceQueryWrapper.eq("sor_divide",tsResource.getSorDivide());
|
tsResourceQueryWrapper.eq("sor_divide",tsResource.getSorDivide());
|
||||||
}
|
}
|
||||||
tsResourceQueryWrapper.isNull("PARENT_ID");
|
tsResourceQueryWrapper.isNull("PARENT_ID");
|
||||||
|
tsResourceQueryWrapper.orderByAsc("DISPLAY_SEQ");
|
||||||
List<TsResource> TsResources=dao.selectList(tsResourceQueryWrapper);
|
List<TsResource> TsResources=dao.selectList(tsResourceQueryWrapper);
|
||||||
for(TsResource TsResource:TsResources){
|
for(TsResource TsResource:TsResources){
|
||||||
TsResource.setChildren(recursionGetChildren((TsResource)));
|
TsResource.setChildren(recursionGetChildren((TsResource)));
|
||||||
|
|||||||
+3
-1
@@ -151,7 +151,9 @@ public class SarStandardsInfoController extends BaseController<SarStandardsInfo>
|
|||||||
page.setAdvanceSearchStr(null);
|
page.setAdvanceSearchStr(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
page.setUserId(LoginUserUtil.getUserId());
|
if(page.getUserId() == null || page.getUserId().equals("")){
|
||||||
|
page.setUserId(LoginUserUtil.getUserId());
|
||||||
|
}
|
||||||
List<SarStandardsInfo> rows = sarStandardsInfoEOService.getSarStandardsInfoPage(page);
|
List<SarStandardsInfo> rows = sarStandardsInfoEOService.getSarStandardsInfoPage(page);
|
||||||
return Result.success(getPageInfo(page.getPager(), rows));
|
return Result.success(getPageInfo(page.getPager(), rows));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user