|
@@ -35,9 +35,19 @@ public class ListenServiceImpl implements ListenService {
|
|
|
}
|
|
}
|
|
|
exitListen.setDate(new Date());
|
|
exitListen.setDate(new Date());
|
|
|
exitListen.setDescription(listen.getDescription());
|
|
exitListen.setDescription(listen.getDescription());
|
|
|
|
|
+ if (StringUtils.isEmpty(listen.getDescription()) || "所有账套都未启用轮询".equals(listen.getDescription())) {
|
|
|
|
|
+ exitListen.setStatus("正常");
|
|
|
|
|
+ } else {
|
|
|
|
|
+ exitListen.setStatus("异常");
|
|
|
|
|
+ }
|
|
|
listenDao.save(exitListen);
|
|
listenDao.save(exitListen);
|
|
|
} else {
|
|
} else {
|
|
|
listen.setDate(new Date());
|
|
listen.setDate(new Date());
|
|
|
|
|
+ if (StringUtils.isEmpty(listen.getDescription()) || "所有账套都未启用轮询".equals(listen.getDescription())) {
|
|
|
|
|
+ listen.setStatus("正常");
|
|
|
|
|
+ } else {
|
|
|
|
|
+ listen.setStatus("异常");
|
|
|
|
|
+ }
|
|
|
listenDao.save(listen);
|
|
listenDao.save(listen);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|