| | |
| | | if(BigDecimal.ZERO.compareTo(totalProfit)>=0){ |
| | | return BigDecimal.ZERO; |
| | | } |
| | | BigDecimal multiply = totalProfit.multiply(new BigDecimal(0.05)); |
| | | DappAccountMoneyChangeEntity dappAccountMoneyChangeEntity = new DappAccountMoneyChangeEntity(65L, |
| | | multiply.negate(), "系统", 9,id); |
| | | totalProfit, "系统", 9,id); |
| | | dappAccountMoneyChangeDao.insert(dappAccountMoneyChangeEntity); |
| | | return multiply; |
| | | return totalProfit; |
| | | } |
| | | |
| | | @Override |
| | |
| | | |
| | | public static void main(String[] args) { |
| | | |
| | | String num = StrUtil.subSuf("01234",1); |
| | | System.out.print(num); |
| | | DateTime date = DateUtil.date(); |
| | | DateTime endTime = DateUtil.parseTimeToday("09:08:03"); |
| | | if(DateUtil.compare(date,endTime)>=0){ |
| | | // |
| | | System.out.print(endTime); |
| | | } |
| | | } |
| | | |
| | | private String isIdentity(List<String> refererIds,String levelCode){ |