|
@@ -17,13 +17,22 @@
|
17
|
17
|
)
|
18
|
18
|
</insert>
|
19
|
19
|
<select id="buildingDynamicList" resultType="com.example.wholeestate.model.BuildingDynamic">
|
20
|
|
- select * from ta_building_dynamic
|
|
20
|
+ select
|
|
21
|
+ dynamic_id,
|
|
22
|
+ building_id as buildingId,
|
|
23
|
+ img_url,
|
|
24
|
+ title,
|
|
25
|
+ publish_date,
|
|
26
|
+ 'DESC',
|
|
27
|
+ url,
|
|
28
|
+ STATUS,
|
|
29
|
+ create_date from ta_building_dynamic
|
21
|
30
|
</select>
|
22
|
31
|
|
23
|
32
|
<select id="iBuildingDynamicSelectId" parameterType="int" resultType="com.example.wholeestate.model.BuildingDynamic">
|
24
|
33
|
SELECT
|
25
|
34
|
dynamic_id,
|
26
|
|
- building_id,
|
|
35
|
+ building_id as buildingId,
|
27
|
36
|
img_url,
|
28
|
37
|
title,
|
29
|
38
|
publish_date,
|