|
|
@ -40,7 +40,7 @@ public class MntnServiceImpl implements MntnService {
|
|
|
|
public HashMap<String, Object> sync(String cmdid, String ip, String multi, String data) throws Exception {
|
|
|
|
public HashMap<String, Object> sync(String cmdid, String ip, String multi, String data) throws Exception {
|
|
|
|
Terminals term = terminalExtService.getByCmdid(cmdid);
|
|
|
|
Terminals term = terminalExtService.getByCmdid(cmdid);
|
|
|
|
if (term == null) {
|
|
|
|
if (term == null) {
|
|
|
|
throw new ApiException("该装置不存在");
|
|
|
|
throw new ApiException(cmdid + "该装置不存在");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
cmdService.addRawReport(term.getId(), ip, data);
|
|
|
|
cmdService.addRawReport(term.getId(), ip, data);
|
|
|
|