Map数据封装
1、Map封装数据库数据
@Service
public class ItemCatServiceImp implements ItemCatService{
@Autowired
private ItemCatMapper itemCatMapper;
public Map<Integer,List> getMap(){
Map<Integer,List>map=new HashMap<Integer,List>();
Listlist=itemCatMapper.s
原创
2021-06-16 11:18:02 ·
320 阅读 ·
0 评论