|
|
@@ -1,9 +1,9 @@
|
|
|
<sqlMap>
|
|
|
-<sql id="selectAllArticle">
|
|
|
-select id,title,createdatetime,content
|
|
|
-from article where id in (?1,?2)
|
|
|
-</sql>
|
|
|
-<sql id="selectStudentById1">
|
|
|
-select * from article where id=?id
|
|
|
-</sql>
|
|
|
+ <sql id="selectAllArticle">
|
|
|
+ select id,title,createdatetime,content
|
|
|
+ from article where id in (?1,?2)
|
|
|
+ </sql>
|
|
|
+ <sql id="selectStudentById1">
|
|
|
+ select * from article where id=?id
|
|
|
+ </sql>
|
|
|
</sqlMap>
|