| | |
| | | wrapper.in(AppUserWithdraw::getAppUserId,collect); |
| | | } |
| | | if (courseDTO.getPaymentStatus()!=null && courseDTO.getPaymentStatus()==1){ |
| | | wrapper.eq(AppUserWithdraw::getId,0); |
| | | wrapper.eq(AppUserWithdraw::getWithdrawStatus,0); |
| | | }else if (courseDTO.getPaymentStatus()!=null &&(courseDTO.getPaymentStatus()==2 || courseDTO.getPaymentStatus()==3)){ |
| | | List<Integer> integers = new ArrayList<>(); |
| | | integers.add(1); |
| | |
| | | String startTime =null; |
| | | String endTime =null; |
| | | String[] split = courseDTO.getTime().split(" - "); |
| | | startTime = split[0]+"00:00:00"; |
| | | endTime = split[1]+"23:59:59"; |
| | | startTime = split[0]+" 00:00:00"; |
| | | endTime = split[1]+" 23:59:59"; |
| | | wrapper.between(AppUserWithdraw::getWithdrawTime,startTime,endTime); |
| | | } |
| | | List<AppUserWithdraw> list = withdrawService.list(wrapper); |
| | |
| | | String startTime =null; |
| | | String endTime =null; |
| | | String[] split = courseDTO.getTime().split(" - "); |
| | | startTime = split[0]+"00:00:00"; |
| | | endTime = split[1]+"23:59:59"; |
| | | startTime = split[0]+" 00:00:00"; |
| | | endTime = split[1]+" 23:59:59"; |
| | | wrapper.between(AppUserWithdraw::getWithdrawTime,startTime,endTime); |
| | | } |
| | | List<AppUserWithdraw> list = withdrawService.list(wrapper); |