rentaiming
2024-05-21 dd7ad1ab0ead2aa3c9f7fc35cc9b0635309c642a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.ruoyi.order.service.impl;
 
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.order.domain.pojo.OrderAuctionBond;
import com.ruoyi.order.mapper.OrderAuctionBondMapper;
import com.ruoyi.order.service.IOrderAuctionBondService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.api.domain.dto.OrderAuctionBondDTO;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.awt.*;
import java.util.List;
 
/**
 * <p>
 * 拍卖保证金表 服务实现类
 * </p>
 *
 * @author mitao
 * @since 2024-05-16
 */
@Service
public class OrderAuctionBondServiceImpl extends ServiceImpl<OrderAuctionBondMapper, OrderAuctionBond> implements IOrderAuctionBondService {
 
    @Resource
    private IOrderAuctionBondService iOrderAuctionBondService;
    @Override
    public void getOrderAuctionBond( OrderAuctionBondDTO orderAuctionBondDTO) {
 
        LambdaQueryWrapper<OrderAuctionBond> wrapper= Wrappers.lambdaQuery();
        wrapper.notIn(OrderAuctionBond::getMemberId,orderAuctionBondDTO.getUserList());
        wrapper.eq(OrderAuctionBond::getDelFlag,0);
        wrapper.eq(OrderAuctionBond::getAuctionSalesroomId,orderAuctionBondDTO.getAuctionSalesroomId());
        List<OrderAuctionBond> orderAuctionBondList=iOrderAuctionBondService.list(wrapper);
        for (OrderAuctionBond orderAuctionBond:orderAuctionBondList){
 
        }
    }
}