参数类型 (@Service层) impl

@Override
    public List<Map<String, Object>> selectAdvListByPosition(String adStructure, Page<AdvAdInfo> page, String area) {
        return this.baseMapper.selectAdvListByPosition(adStructure, page, area);
    }
    public UserAddress selectDefaultAddress(Integer userId) {return page.getRecords().get(0);
    }

复杂参数,自定义实体类

    public void insert1(UserBill userBill) {

    }
原文地址:https://www.cnblogs.com/dianzan/p/11244160.html