|
@@ -49,7 +49,7 @@ public class BinSectionController {
|
|
|
@RequestParam(value = "sectionCode", required = false) String sectionCode,
|
|
|
@RequestParam(value = "type", required = false) String type) {
|
|
|
List<BinSection> list =CacheContext.bsnList;
|
|
|
- if(StringUtils.isNotEmpty(list)){
|
|
|
+ if(StringUtils.isNotEmpty(type)){
|
|
|
list = list.stream().filter(s -> s.getType().equals(type)).collect(Collectors.toList());
|
|
|
}
|
|
|
|