参数类型 (@Service层) interface 常用参数类型举例

 

public AdvMessage getMessage(String message, String type);
public List<Map<String,Object>> selectCityByShopId(Integer shopId);
public List<Map<String, Object>> queryBrandPicList1(Page<PicInfo> page,
            String orderByField,String albumId, boolean asc);

 

复杂参数,自定义实体类参数

Integer selectMaxCount(AdvAdInfo advInfo);
public List<Map<String, Object>> queryBrandPicList1(Page<PicInfo> page,
            String orderByField,String albumId, boolean asc);

 

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