1.阿里推荐命名规范
2.个人喜好规范
dao层
insert | delete | update | select | |||
insertBatch | deleteBatch | updateBatch | selectList | |||
deleteById | updateById | selectById | ||||
selectOne | ||||||
selectPage |
controller/service层
save | remove | modify | find | |||
saveBatch | removeBatch | modifyBatch | findList | |||
removeById | modifyById | findById | ||||
findOne | ||||||
findPage |