Showing
1 changed file
with
3 additions
and
2 deletions
@@ -17,6 +17,7 @@ | @@ -17,6 +17,7 @@ | ||
17 | 17 | ||
18 | ### 对应SQL的操作库表 | 18 | ### 对应SQL的操作库表 |
19 | 19 | ||
20 | +```xml | ||
20 | <select id="selectCountByBrandId" resultType="java.lang.Integer" > | 21 | <select id="selectCountByBrandId" resultType="java.lang.Integer" > |
21 | select | 22 | select |
22 | IFNULL(count(1),0) | 23 | IFNULL(count(1),0) |
@@ -39,7 +40,7 @@ | @@ -39,7 +40,7 @@ | ||
39 | </where> | 40 | </where> |
40 | order by create_time DESC limit #{offset},#{size} | 41 | order by create_time DESC limit #{offset},#{size} |
41 | </select> | 42 | </select> |
42 | - | 43 | +``` |
43 | 44 | ||
44 | 45 | ||
45 | ### 错误编码 | 46 | ### 错误编码 |
@@ -79,4 +80,4 @@ | @@ -79,4 +80,4 @@ | ||
79 | } | 80 | } |
80 | ] | 81 | ] |
81 | } | 82 | } |
82 | - | 83 | +``` |
-
Please register or login to post a comment