参数类型 (@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) {

    }

 

posted @ 2019-07-25 14:45  ThisCall  阅读(574)  评论(0编辑  收藏  举报