|
@@ -40,7 +40,7 @@ public class CameraIncrementLogServiceImpl extends ServiceImpl<ICameraIncrementL
|
|
|
Set<Integer> typeIds = page.getRecords().stream().map(CameraIncrementVo::getIncrementTypeId).collect(Collectors.toSet());
|
|
|
HashMap<Integer, IncrementType> mapByIds = incrementTypeService.getMapByIds(typeIds);
|
|
|
for (CameraIncrementVo record : page.getRecords()) {
|
|
|
- IncrementType incrementType = mapByIds.get(record.getIncrementTypeId();
|
|
|
+ IncrementType incrementType = mapByIds.get(record.getIncrementTypeId());
|
|
|
if(record.getIncrementTypeId() != null && incrementType !=null){
|
|
|
IncrementUtil.getStrIncrementName(incrementType.getValidTimeType(),incrementType.getName());
|
|
|
}
|