| | |
| | | * Created by vincent on 2020/7/7 |
| | | */ |
| | | @Component |
| | | //@RestController |
| | | public class ErrorStockScheduler { |
| | | |
| | | private static final Logger log = LoggerFactory.getLogger(ErrorStockScheduler.class); |
| | |
| | | } |
| | | } |
| | | |
| | | // @Autowired |
| | | // private BasErrLogService basErrLogService; |
| | | // @Autowired |
| | | // private BasCrnErrorMapper basCrnErrorMapper; |
| | | // |
| | | // @GetMapping("/adsadwqwqewq") |
| | | // private void ErrorCovert(){ |
| | | // List<BasErrLog> basErrLogs = basErrLogService.selectList(new EntityWrapper<BasErrLog>()); |
| | | // for (BasErrLog basErrLog : basErrLogs) { |
| | | // if (!Cools.isEmpty(basErrLog.getErrCode())) { |
| | | // BasCrnError error = basCrnErrorMapper.selectById(basErrLog.getErrCode()); |
| | | // basErrLog.setError(error==null?"未知异常":error.getErrName()); |
| | | // basErrLogService.updateById(basErrLog); |
| | | // } |
| | | // } |
| | | // } |
| | | |
| | | } |