0717

# MyBatis

## 动态SQL

```xml
 1 <where>
 2 <if>
 3     if(xxx){
 4 
 5     }
 6     if(xxx){
 7 
 8     }
 9    
10 <choose> <when> <otherwise>
11     if(xxx){
12 
13     }else if(xxx){
14 
15     }else{
16 
17     }

 

```

DAO Data Access Object 数据访问对象,仅处理和数据库搭界的逻辑

DTO Data Transfer Object 数据传输对象,本质上类似于Entity,但只会包含一些关注的数据  
VO(View Object)

C/S Client Server  
B/S Browser Server

## 多表JOIN
posted @ 2024-07-18 20:31  咕嘎咕咕  阅读(39)  评论(0)    收藏  举报