三层架构命名规范
| 操作 | Controller层 | Service层 | Mapper层 |
|---|---|---|---|
| 新增 | addXxx | saveXxx | insertXxx |
| 查询单个 | getXxxByXxx | getXxxByXxx | selectXxxByXxx |
| 查询列表 | listXxxs | listXxxs | selectXxxs |
| 更新 | updateXxx | updateXxx | updateXxx |
| 删除 | deleteXxxByXxx | deleteXxxByXxx | deleteXxxByXxx |
| 分页查询 | getXxxPage | getXxxPage | findXxxByPage |
浙公网安备 33010602011771号