|
|
@ -101,14 +101,20 @@ public class CmdServiceImpl implements CmdService {
|
|
|
|
map.put(item.getTermId(), terminal);
|
|
|
|
map.put(item.getTermId(), terminal);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
item.setTerminal(terminal);
|
|
|
|
item.setTerminal(terminal);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(item.getCmd())) {
|
|
|
|
|
|
|
|
HashMap<String, Object> cmdMap = JSONUtil.json2Object(item.getCmd(), HashMap.class);
|
|
|
|
|
|
|
|
item.setCmdMap(cmdMap);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} catch (Exception ignore) {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public PageInfo<MntnCmdHistory> listHistory(String cmdid, String action,
|
|
|
|
public PageInfo<MntnCmdHistory> listHistory(String cmdid, String action,
|
|
|
|
Integer pageNum, Integer pageSize) {
|
|
|
|
Integer pageNum, Integer pageSize) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MntnCmdHistoryExample example = new MntnCmdHistoryExample();
|
|
|
|
MntnCmdHistoryExample example = new MntnCmdHistoryExample();
|
|
|
|
MntnCmdHistoryExample.Criteria criteria = example.createCriteria();
|
|
|
|
MntnCmdHistoryExample.Criteria criteria = example.createCriteria();
|
|
|
|
if (StringUtils.isNotBlank(cmdid)) {
|
|
|
|
if (StringUtils.isNotBlank(cmdid)) {
|
|
|
@ -142,6 +148,14 @@ public class CmdServiceImpl implements CmdService {
|
|
|
|
map.put(item.getTermId(), terminal);
|
|
|
|
map.put(item.getTermId(), terminal);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
item.setTerminal(terminal);
|
|
|
|
item.setTerminal(terminal);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(item.getCmd())) {
|
|
|
|
|
|
|
|
HashMap<String, Object> cmdMap = JSONUtil.json2Object(item.getCmd(), HashMap.class);
|
|
|
|
|
|
|
|
item.setCmdMap(cmdMap);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} catch (Exception ignore) {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|