|
|
@ -123,7 +123,11 @@ public class AppEnforcementRegistrationController extends BaseController { |
|
|
List<EnforcementRegistrationVo> listCount = enforcementRegistrationService.selectEnforcementRegistrationList(bo,pageQuery); |
|
|
List<EnforcementRegistrationVo> listCount = enforcementRegistrationService.selectEnforcementRegistrationList(bo,pageQuery); |
|
|
int count = 0; |
|
|
int count = 0; |
|
|
if (listCount.size() > 0) { |
|
|
if (listCount.size() > 0) { |
|
|
count = listCount.stream().map(item -> Integer.valueOf(item.getNum())).reduce(0, Integer::sum); |
|
|
count = listCount.stream() |
|
|
|
|
|
.map(item -> item.getNum()) |
|
|
|
|
|
.filter(num -> num != null) |
|
|
|
|
|
.mapToInt(Integer::intValue) |
|
|
|
|
|
.sum(); |
|
|
} |
|
|
} |
|
|
List<EnforcementRegistrationVo> list = enforcementRegistrationService.selectEnforcementRegistrationList(bo, pageQuery); |
|
|
List<EnforcementRegistrationVo> list = enforcementRegistrationService.selectEnforcementRegistrationList(bo, pageQuery); |
|
|
|
|
|
|
|
|
|