|
@@ -102,10 +102,10 @@ public class BaseAlarmServiceImpl extends AbstractCrudService<BaseAlarmMapper, B
|
|
|
queryWrapper1.eq(BaseAlarmType::getDeleteFlag,0)
|
|
|
.eq(BaseAlarmType::getProductCode,list1.get(i).getProductCode());
|
|
|
List<BaseAlarmType> list2 = baseAlarmTypeService.list(queryWrapper1);
|
|
|
- List<Integer> alarmTypeList = new ArrayList<>();
|
|
|
+ List<String> alarmTypeList = new ArrayList<>();
|
|
|
if(CollectionUtils.isNotEmpty(list2)){
|
|
|
for(int j=0;j<list2.size();j++){
|
|
|
- alarmTypeList.add(list2.get(j).getId());
|
|
|
+ alarmTypeList.add(list2.get(j).getTypeCode());
|
|
|
}
|
|
|
}
|
|
|
//未处理
|
|
@@ -151,10 +151,10 @@ public class BaseAlarmServiceImpl extends AbstractCrudService<BaseAlarmMapper, B
|
|
|
queryWrapper2.eq(BaseAlarmType::getDeleteFlag,0)
|
|
|
.eq(BaseAlarmType::getProductCode,baseAlarmListVO.getProductCode());
|
|
|
List<BaseAlarmType> list2 = baseAlarmTypeService.list(queryWrapper2);
|
|
|
- List<Integer> alarmTypeList = new ArrayList<>();
|
|
|
+ List<String> alarmTypeList = new ArrayList<>();
|
|
|
if(CollectionUtils.isNotEmpty(list2)){
|
|
|
for(int j=0;j<list2.size();j++){
|
|
|
- alarmTypeList.add(list2.get(j).getId());
|
|
|
+ alarmTypeList.add(list2.get(j).getTypeCode());
|
|
|
}
|
|
|
}
|
|
|
|