|
@@ -28,17 +28,17 @@ public interface BrokerageWithdrawMapper extends BaseMapperX<BrokerageWithdrawDO
|
|
|
.eqIfPresent(BrokerageWithdrawDO::getUserId, reqVO.getUserId())
|
|
.eqIfPresent(BrokerageWithdrawDO::getUserId, reqVO.getUserId())
|
|
|
.eqIfPresent(BrokerageWithdrawDO::getType, reqVO.getType())
|
|
.eqIfPresent(BrokerageWithdrawDO::getType, reqVO.getType())
|
|
|
.likeIfPresent(BrokerageWithdrawDO::getUserName, reqVO.getUserName())
|
|
.likeIfPresent(BrokerageWithdrawDO::getUserName, reqVO.getUserName())
|
|
|
- .eqIfPresent(BrokerageWithdrawDO::getUserAccount, reqVO.getUserAccount())
|
|
|
|
|
|
|
+ .likeIfPresent(BrokerageWithdrawDO::getUserAccount, reqVO.getUserAccount())
|
|
|
.likeIfPresent(BrokerageWithdrawDO::getBankName, reqVO.getBankName())
|
|
.likeIfPresent(BrokerageWithdrawDO::getBankName, reqVO.getBankName())
|
|
|
.eqIfPresent(BrokerageWithdrawDO::getStatus, reqVO.getStatus())
|
|
.eqIfPresent(BrokerageWithdrawDO::getStatus, reqVO.getStatus())
|
|
|
.betweenIfPresent(BrokerageWithdrawDO::getCreateTime, reqVO.getCreateTime())
|
|
.betweenIfPresent(BrokerageWithdrawDO::getCreateTime, reqVO.getCreateTime())
|
|
|
- .orderByAsc(BrokerageWithdrawDO::getStatus).orderByDesc(BrokerageWithdrawDO::getId));
|
|
|
|
|
|
|
+ .orderByDesc(BrokerageWithdrawDO::getId));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- default int updateByIdAndStatus(Long id, Integer status, BrokerageWithdrawDO updateObj) {
|
|
|
|
|
|
|
+ default int updateByIdAndStatus(Long id, Integer whereStatus, BrokerageWithdrawDO updateObj) {
|
|
|
return update(updateObj, new LambdaUpdateWrapper<BrokerageWithdrawDO>()
|
|
return update(updateObj, new LambdaUpdateWrapper<BrokerageWithdrawDO>()
|
|
|
.eq(BrokerageWithdrawDO::getId, id)
|
|
.eq(BrokerageWithdrawDO::getId, id)
|
|
|
- .eq(BrokerageWithdrawDO::getStatus, status));
|
|
|
|
|
|
|
+ .eq(BrokerageWithdrawDO::getStatus, whereStatus));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
default List<BrokerageWithdrawSummaryRespBO> selectCountAndSumPriceByUserIdAndStatus(Collection<Long> userIds,
|
|
default List<BrokerageWithdrawSummaryRespBO> selectCountAndSumPriceByUserIdAndStatus(Collection<Long> userIds,
|