|
|
@ -103,8 +103,7 @@ public class AlarmConfigServiceImpl extends BaseServiceImpl<AlarmConfigMapper, A |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public AlarmHandleMarkVo mark(String code, Integer source,Integer type) { |
|
|
|
public AlarmHandleMarkVo mark(String code, Integer source,Integer type) { |
|
|
|
AlarmConfigEntity config = this.getOne(Wrappers.<AlarmConfigEntity>lambdaQuery() |
|
|
|
AlarmConfigEntity config = this.getOne(Wrappers.<AlarmConfigEntity>lambdaQuery() |
|
|
|
.eq(AlarmConfigEntity::getStationId,code) |
|
|
|
.eq(AlarmConfigEntity::getStationId,code)); |
|
|
|
.eq(AlarmConfigEntity::getIsEnable,"0")); |
|
|
|
|
|
|
|
if(ObjectUtil.isEmpty(config)){ |
|
|
|
if(ObjectUtil.isEmpty(config)){ |
|
|
|
return detailService.defaultMark(source,type); |
|
|
|
return detailService.defaultMark(source,type); |
|
|
|
} |
|
|
|
} |
|
|
|