|
@@ -88,6 +88,7 @@ public class RtkAccountServiceImpl extends ServiceImpl<IRtkAccountMapper, RtkAcc
|
|
|
|
|
|
LambdaQueryWrapper<RtkAccount> wrapper = new LambdaQueryWrapper<>();
|
|
|
wrapper.in(RtkAccount::getStatus,0,1);
|
|
|
+ wrapper.eq(RtkAccount::getUseStatus,0);
|
|
|
wrapper.orderByAsc(RtkAccount::getUpdateTime);
|
|
|
wrapper.orderByAsc(RtkAccount::getId);
|
|
|
List<RtkAccount> list = this.list(wrapper);
|
|
@@ -117,7 +118,7 @@ public class RtkAccountServiceImpl extends ServiceImpl<IRtkAccountMapper, RtkAcc
|
|
|
|
|
|
private Boolean checkAccountFailureTime(Integer accountId) {
|
|
|
RtkAccount dbRtkAccount = this.getById(accountId);
|
|
|
- if(dbRtkAccount == null || dbRtkAccount.getStatus() == 3){
|
|
|
+ if(dbRtkAccount == null || dbRtkAccount.getStatus() == 3 || dbRtkAccount.getUseStatus() == 1){
|
|
|
return false;
|
|
|
}
|
|
|
if(dbRtkAccount.getFailureTime() != null && dbRtkAccount.getFailureTime().getTime() <= new Date().getTime() ){
|