Authored by simba

s

@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 18
19 19
20 ### 对应SQL的操作库表 20 ### 对应SQL的操作库表
21 - 21 +```xml
22 <select id="selectCountByCondition" resultType="java.lang.Integer" > 22 <select id="selectCountByCondition" resultType="java.lang.Integer" >
23 select 23 select
24 IFNULL(count(1),0) 24 IFNULL(count(1),0)
@@ -68,7 +68,7 @@ @@ -68,7 +68,7 @@
68 </if> 68 </if>
69 order by id DESC limit #{offset},#{size} 69 order by id DESC limit #{offset},#{size}
70 </select> 70 </select>
71 - 71 +```
72 72
73 ### 错误编码 73 ### 错误编码
74 74
@@ -79,8 +79,7 @@ @@ -79,8 +79,7 @@
79 79
80 ### 返回 80 ### 返回
81 81
82 - ``` json  
83 - 82 +```json
84 { 83 {
85 "code": 200, 84 "code": 200,
86 "data": [ 85 "data": [
@@ -88,15 +87,15 @@ @@ -88,15 +87,15 @@
88 "id": "1", 87 "id": "1",
89 "condNum": "222", 88 "condNum": "222",
90 "condContent": "xxxee", 89 "condContent": "xxxee",
91 - "status": "1", 90 + "status": "1"
92 }, 91 },
93 { 92 {
94 "id": "2", 93 "id": "2",
95 "condNum": "212", 94 "condNum": "212",
96 "condContent": "xxxee", 95 "condContent": "xxxee",
97 - "status": "1", 96 + "status": "1"
98 } 97 }
99 ] 98 ]
100 } 99 }
101 - 100 +```
102 101