| | |
| | | dappFundFlowDao.updateById(dappFundFlowEntity); |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | String address = AppContants.ADDRESS_A_POOL_PEOJECT; |
| | | /** |
| | | * 发起USDT转账 |
| | | */ |
| | | String hash = ChainService.getInstance(ChainEnum.BSC_USDT_A_POOL.name()).transfer(address, new BigDecimal("0.01")); |
| | | } |
| | | |
| | | @Override |
| | | public void AntACoinBPollInMsg(Long id) { |
| | | log.info("{}",id); |
| | |
| | | DappAKlineEntity oldOne = dappAKlineMapper.selectOneByType(); |
| | | if(ObjectUtil.isNotEmpty(oldOne)){ |
| | | dappAKlineEntity.setOpenPrice(oldOne.getClosePrice()); |
| | | }else{ |
| | | dappAKlineEntity.setOpenPrice(coinAPrice); |
| | | } |
| | | dappAKlineEntity.setOpenPrice(coinAPrice); |
| | | dappAKlineEntity.setLowestPrice(coinAPrice); |
| | | dappAKlineEntity.setHighestPrice(coinAPrice); |
| | | dappAKlineEntity.setClosePrice(coinAPrice); |
| | |
| | | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | |
| | | int month = DateUtil.dayOfMonth(DateUtil.date()); |
| | | String s = DateUtil.dayOfWeekEnum(DateUtil.date()).toChinese(); |
| | | System.out.println(s); |
| | | System.out.println(month); |
| | | } |
| | | // public static void main(String[] args) { |
| | | // |
| | | // int month = DateUtil.dayOfMonth(DateUtil.date()); |
| | | // String s = DateUtil.dayOfWeekEnum(DateUtil.date()).toChinese(); |
| | | // System.out.println(s); |
| | | // System.out.println(month); |
| | | // } |
| | | |
| | | /** |
| | | * 判断直推人数是否达标 |