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

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

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

Loading…
Cancel
Save