|
|
|
@ -71,6 +71,8 @@ public class ActivitiesServiceImpl implements ActivitiesService {
|
|
|
|
|
Terminals t = terminalExtService.getByCmdid(term.getCmdid());
|
|
|
|
|
if (t != null) {
|
|
|
|
|
record.setTermId(t.getId());
|
|
|
|
|
} else {
|
|
|
|
|
throw new Exception(term.getCmdid() + "装置不存在");
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
throw new Exception("装置列表信息异常");
|
|
|
|
@ -110,6 +112,8 @@ public class ActivitiesServiceImpl implements ActivitiesService {
|
|
|
|
|
Terminals t = terminalExtService.getByCmdid(term.getCmdid());
|
|
|
|
|
if (t != null) {
|
|
|
|
|
record.setTermId(t.getId());
|
|
|
|
|
} else {
|
|
|
|
|
throw new Exception(term.getCmdid() + "装置不存在");
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
throw new Exception("装置列表信息异常");
|
|
|
|
|