----------------------------------------------------------------------------------------------------------
mapper.xml-->dao接口-->service-->Controller
Entity实体类
增删改查,我们先说查select
select *(要查询的字段)from 表名 where id='',and ...
mapper.xml;
1
2
3
4
5
6