Initial commit

This commit is contained in:
2026-04-23 16:58:11 +08:00
commit 267eba1eca
2582 changed files with 273338 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# controller 请求参数
使用一个自定义的Request类来接收参数。
# controller 返回的类型
现状目前返回的类型有R,AjaxResult,PageDataInfo等
标准统一返回R<具体类型>类型。
# mapper
mapper继承Mybatis-Plus的BaseMapper。
```java
@Mapper
public interface AdminGameSugarUserMapper extends BaseMapper<GameSugarUser> {
}
```
单表查询时使用mybatis-plus的Lambda查询方式。
要执行复杂的查询逻辑时用Lambda查询不好实现或者很复杂时可以使用@Select注解在mapper类中写sql实现。