# credits **Repository Path**: hcshow/credits ## Basic Information - **Project Name**: credits - **Description**: 积分系统 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-05 - **Last Updated**: 2022-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 约定 > 配置 > 编码 - 表名:以tb_开始,后面各单词之间以_分隔 - 表主键:每个表都有一个简单类型(比如:int long string)的主键 - 表字段名:各单词之间以_分隔,单词全部小写 - 实体类名:表名去除tb_前缀,去掉各单词之间的_,每个单词首字母大写,实体类必须是JavaBean - Dao接口名:实体类类名加上Dao后缀 - Dao实现类类名:实体类类名加上DaoImpl后缀 - Service接口名:实体类类名加上Service后缀 - Service实现类类名:实体类类名加上ServiceImpl后缀 - Dao和Service中查找不要出现当前类的类名,比如:selectById,getPage - 前端网页传递给后台的数据必须加上实体类的前缀,比如:userId,userName,promotionsId ### dao: - select ```` selectById() selectByName() selectAll() countAll() countById() ```` - delete ```` deleteById() deleteByName() deleteByCondition() ```` - insert - update ## service: - select ```` getById() getByName() getByCondition() listAll() listWithPage() countAll() countByCondition() ```` - delete ```` removeById() removeByCondition() ```` - insert ```` save() ```` - update ```` modify() ```` ## 功能 ### 管理员 - 登录 - 修改密码 - 添加用户 - 查看用户列表 - 查看用户信息详情 - 查看用户积分记录 - 根据用户名称查看用户积分 ### 用户 ## 需要发送邮件的应用场景 - 注册(新增用户时)发邮件激活 - 修改用户时发邮件告知 - 登录发邮件告知 - 每次修改积分发邮件告知 - 发布促销活动邮件告知