|
@@ -92,6 +92,9 @@ public class LongYanRepairStrategy extends AbstractRepairBaseStrategy {
|
|
|
|
|
|
private String getReportLeaderId(String sbId){
|
|
|
String positionId = sbInfoService.getById(sbId).getPositionId();
|
|
|
+ if(StringUtils.isBlank(positionId)){
|
|
|
+ throw new DeniedException("该设备的设备位置尚未设置,请设置");
|
|
|
+ }
|
|
|
return sbPositionMapper.getById(positionId).getUserId();
|
|
|
}
|
|
|
|