分层模型
约定不同的层接口操作不同的数据模型
- PO 数据库实体映射,跟数据库对应,不允许随意修改
- DAO 接口操作为 PO 类型
- BO 业务对象,继承PO,根据业务增删字段
- Service、Controller 接口操作为 BO 类型数据
- QCO 查询对象,将字段映射SQL,降低业务SQL开发量。前端也更易理解
From here you can search these documents. Enter your search terms below.
| Keys | Action |
|---|---|
| ? | Open this help |
| n | Next page |
| p | Previous page |
| s | Search |