Skip to content

Commit

Permalink
del interface PlayerMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Weaxs authored and ti-chi-bot committed Jan 24, 2024
1 parent 7b70f28 commit 708afeb
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions develop/dev-guide-sample-application-java-mybatis.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,6 @@ public SqlSessionFactory getSessionFactory() {
</mapper>
```

```java
public interface PlayerMapper {
int insert(Player row);
}
```

更多信息参考[插入数据](/develop/dev-guide-insert-data.md)。

### 查询数据
Expand All @@ -261,12 +255,6 @@ public interface PlayerMapper {
</mapper>
```

```java
public interface PlayerMapper {
Player selectByPrimaryKey(String id);
}
```

更多信息参考[查询数据](/develop/dev-guide-get-data-from-single-table.md)。

### 更新数据
Expand All @@ -286,12 +274,6 @@ public interface PlayerMapper {
</mapper>
```

```java
public interface PlayerMapper {
int updateByPrimaryKey(Player row);
}
```

更多信息参考[更新数据](/develop/dev-guide-update-data.md)。

### 删除数据
Expand All @@ -309,12 +291,6 @@ public interface PlayerMapper {
</mapper>
```

```java
public interface PlayerMapper {
int deleteByPrimaryKey(String id);
}
```

更多信息参考[删除数据](/develop/dev-guide-delete-data.md)。

## 下一步
Expand Down

0 comments on commit 708afeb

Please sign in to comment.