Skip to content

Commit

Permalink
Update data-interface.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
nieqiurong authored Jun 25, 2024
1 parent ab580a2 commit 219389f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/guides/data-interface.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ DELETE FROM user WHERE id = 1
**示例(deleteByMap):**

```java
// 假设有一个 columnMap,设置查询条件为 age > 30,删除满足条件的用户
// 假设有一个 columnMap,设置查询条件为 age = 30,删除满足条件的用户
Map<String, Object> columnMap = new HashMap<>();
columnMap.put("age", 30);
int rows = userMapper.deleteByMap(columnMap); // 调用 deleteByMap 方法
Expand Down

0 comments on commit 219389f

Please sign in to comment.