代理商提现记录
This commit is contained in:
@@ -122,18 +122,16 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
|
||||
queryWrapper.eq(CashOut::getUserId, cashOut.getUserId())
|
||||
.eq(CashOut::getUserType, 1);
|
||||
} else {
|
||||
if (cashOut.getSysUserId() != null) {
|
||||
if (cashOut.getSysUserId() == null) {
|
||||
return PageUtils.page(new PageInfo<>());
|
||||
}else {
|
||||
queryWrapper.eq(CashOut::getUserId, cashOut.getSysUserId())
|
||||
.eq(CashOut::getUserType, 2);
|
||||
}
|
||||
}
|
||||
|
||||
if (!isApp && cashOut.getUserId() != null) {
|
||||
queryWrapper.eq(CashOut::getUserId, cashOut.getUserId());
|
||||
}
|
||||
|
||||
PageHelper.startPage(page, limit);
|
||||
List<CashOut> cashOutList = list(queryWrapper.eq(CashOut::getUserType, 1).orderByDesc(CashOut::getCreateAt));
|
||||
List<CashOut> cashOutList = list(queryWrapper.orderByDesc(CashOut::getCreateAt));
|
||||
|
||||
if (!isApp) {
|
||||
ArrayList<Long> userIdList = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user