| | |
| | | @Autowired |
| | | private IContractService contractService; |
| | | |
| | | @Scheduled(initialDelay = 60000, fixedRate = 1800000) |
| | | // @Scheduled(initialDelay = 6000, fixedRate = 1800000) |
| | | public void sendTimedEmail() { |
| | | |
| | | QueryWrapper<SemanticWord> semanticWordQueryWrapper = new QueryWrapper<>(); |
| | |
| | | semanticWord.getWord() |
| | | |
| | | ); |
| | | // String[] es_receiver = new String[]{"2156125618@qq.com"}; |
| | | String[] es_receiver = new String[]{"182004222@qq.com","lospace@163.com","2156125618@qq.com","coldspring@163.com"}; |
| | | String[] es_receiver = new String[]{"2156125618@qq.com"}; |
| | | // String[] es_receiver = new String[]{"182004222@qq.com","lospace@163.com","2156125618@qq.com","coldspring@163.com"}; |
| | | BigDecimal acceptindicator = new BigDecimal(semMap.get("ratio").toString()); |
| | | if (semanticWord.getCount() == null || semanticWord.getCount().equals("")){ |
| | | if (semanticWord.getAcceptindicator()/100 <= acceptindicator.doubleValue()){//上词 |