|
|
@@ -411,14 +411,14 @@ public class WebpageController extends BaseController {
|
|
|
JtBusinessCategory qiyerenzheng = jtBusinessService.getBusinessCategoryByLayerAndName(1, "企业资质认定");
|
|
|
if (qiyerenzheng != null) {
|
|
|
//获得所有下级id
|
|
|
- List<JtBusinessCategory> xaiji = jtBusinessService.getBusinessCategoryBySuperId(qiyerenzheng.getId(), 1);
|
|
|
+ List<JtBusinessCategory> xaiji = jtBusinessService.getBusinessCategoryBySuperId(qiyerenzheng.getId(), 10);
|
|
|
List<JtBusinessProject> qyrzCategories = new ArrayList<JtBusinessProject>();
|
|
|
for (int i = 0; i < xaiji.size(); i++) {
|
|
|
- List<JtBusinessProject> list = jtBusinessService.getBusinessProjectByCategoryId(xaiji.get(i).getId(), 8, null);
|
|
|
+ List<JtBusinessProject> list = jtBusinessService.getBusinessProjectByCategoryId(xaiji.get(i).getId(), 10, null);
|
|
|
qyrzCategories.addAll(list);
|
|
|
}
|
|
|
- if(qyrzCategories.size()>16){
|
|
|
- qyrzCategories.subList(0, 16);
|
|
|
+ if(qyrzCategories.size()>10){
|
|
|
+ qyrzCategories.subList(0, 10);
|
|
|
}
|
|
|
modelview.addObject("qyrzCategories", qyrzCategories);
|
|
|
modelview.addObject("qyrzc1", qiyerenzheng);
|
|
|
@@ -427,14 +427,14 @@ public class WebpageController extends BaseController {
|
|
|
JtBusinessCategory manageSys2 = jtBusinessService.getBusinessCategoryByLayerAndName(1, "管理体系认证");
|
|
|
if (manageSys2 != null) {
|
|
|
//获得所有下级id
|
|
|
- List<JtBusinessCategory> xaiji = jtBusinessService.getBusinessCategoryBySuperId(manageSys2.getId(), 1);
|
|
|
+ List<JtBusinessCategory> xaiji = jtBusinessService.getBusinessCategoryBySuperId(manageSys2.getId(), 10);
|
|
|
List<JtBusinessProject> qyrzCategories = new ArrayList<JtBusinessProject>();
|
|
|
for (int i = 0; i < xaiji.size(); i++) {
|
|
|
- List<JtBusinessProject> list = jtBusinessService.getBusinessProjectByCategoryId(xaiji.get(i).getId(), 8, null);
|
|
|
+ List<JtBusinessProject> list = jtBusinessService.getBusinessProjectByCategoryId(xaiji.get(i).getId(), 18, null);
|
|
|
qyrzCategories.addAll(list);
|
|
|
}
|
|
|
- if(qyrzCategories.size()>8){
|
|
|
- qyrzCategories.subList(0, 8);
|
|
|
+ if(qyrzCategories.size()>18){
|
|
|
+ qyrzCategories.subList(0, 18);
|
|
|
}
|
|
|
//List<JtBusinessProject> manageSysPro = jtBusinessService.getBusinessProjectByCategoryId(manageSys2.getId(),18, null);
|
|
|
modelview.addObject("manageSystemList", qyrzCategories);
|