Skip to content

Commit

Permalink
fix: one post not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramCX committed Jan 15, 2025
1 parent 02dbcea commit 5d6b0aa
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 10 deletions.
Binary file removed content/categories/MyBatis/MyBatis.jpg
Binary file not shown.
Binary file added content/categories/MyBatis/MyBatis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/categories/MyBatis/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "MyBatis"
description: "基于Java的持久层框架"
slug: "MyBatis"
image: "MyBatis.jpg"
image: "MyBatis.png"
style:
background: "#2a9d8f"
color: "#fff"
Expand Down
Binary file removed content/post/mybatis-common-config/MyBatis.jpg
Binary file not shown.
Binary file added content/post/mybatis-common-config/MyBatis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions content/post/mybatis-common-config/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
title: MyBatis 常用配置
description: MyBatis 的常用配置
description: MyBatis 的常用配置和核心对象
date: 2025-01-16
image: MyBatis.jpg
slug: MyBatis
image: MyBatis.png
categories:
- MyBatis
---
Expand All @@ -25,7 +24,7 @@ SqlSession 中提供了不同的查询方法。其中可以查询单个,也可
## 2. MyBatis 核心配置文件元素

### 2.2 `<properties>`元素
用来存放数据库连接驱动类型、sql地址、用户名和密码。然后在`mybatis-cnfig.xml`里面引入、使用。
用来存放数据库连接驱动类型、sql地址、用户名和密码。然后在`mybatis-config.xml`里面引入、使用。

### 2.3 `<typeAlias>`元素

Expand Down Expand Up @@ -70,7 +69,7 @@ SqlSession 中提供了不同的查询方法。其中可以查询单个,也可

         SELECT * FROM user WHERE id = #{id}

    <select>
    </select>

```

Expand Down
Binary file removed content/post/mybatis-entry/MyBatis.jpg
Binary file not shown.
Binary file added content/post/mybatis-entry/MyBatis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions content/post/mybatis-entry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
title: MyBatis 入门
description: MyBatis 的基本使用
date: 2025-01-15
image: MyBatis.jpg
slug: MyBatis
image: MyBatis.png
categories:
- MyBatis
---
Expand Down
4 changes: 2 additions & 2 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ hasCJKLanguage: true
languages:
zh-cn:
languageName: 中文
title: 程旭的一天
title: 程旭的个人博客
weight: 2
params:
description: 欢迎来到程旭的个人博客
Expand Down Expand Up @@ -48,7 +48,7 @@ params:
lastUpdated: Jan 02, 2006 15:04 MST

sidebar:
emoji: 🤩
emoji: 👨🏼‍💻
subtitle: 人定胜天,而我逆天
avatar:
enabled: true
Expand Down

0 comments on commit 5d6b0aa

Please sign in to comment.