wushunjie
吴顺杰 10 months ago
parent 9b9dad6963
commit 7e8f292a48

@ -49,6 +49,7 @@ public class AccidentQuartz {
log.info("=================120定时任务获取token失败==============="); log.info("=================120定时任务获取token失败===============");
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
quartzLog.setStatus(2); quartzLog.setStatus(2);
} finally { } finally {
quartzLogService.save(quartzLog); quartzLogService.save(quartzLog);

@ -25,7 +25,7 @@ public class EventClassServiceImpl extends ServiceImpl<EventClassMapper, EventCl
@Override @Override
public EventClass findByAccidentType(String accidentType) { public EventClass findByAccidentType(String accidentType) {
QueryWrapper<EventClass> wrapper = new QueryWrapper<>(); QueryWrapper<EventClass> wrapper = new QueryWrapper<>();
wrapper.eq("accident_type", accidentType); wrapper.eq("accept_type", accidentType);
return baseMapper.selectOne(wrapper); return baseMapper.selectOne(wrapper);
} }
} }

Loading…
Cancel
Save