|
|
|
@ -43,14 +43,14 @@ public class DashboardBlockConfigDao { |
|
|
|
String categoryType = rs.getString("category_type"); |
|
|
|
if (categoryType != null && !categoryType.trim().isEmpty()) { |
|
|
|
if (categoryType.contains("f10")) { |
|
|
|
dto.getCategoryTypeId().add(1011L); |
|
|
|
dto.getBlockCategoryTypeId().add(1011L); |
|
|
|
} |
|
|
|
if (categoryType.contains("csdj")) { |
|
|
|
dto.getCategoryTypeId().add(1012L); |
|
|
|
dto.getBlockCategoryTypeId().add(1012L); |
|
|
|
} |
|
|
|
if (categoryType.contains("main")) { |
|
|
|
for (long i = 1001L; i <= 1010L; i++) { |
|
|
|
dto.getCategoryTypeId().add(i); |
|
|
|
dto.getBlockCategoryTypeId().add(i); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|