魏超 5 years ago
parent
commit
ce331aa8e0
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      src/main/resources/mapper/TaPersonVisitRecordMapper.xml

+ 6
- 6
src/main/resources/mapper/TaPersonVisitRecordMapper.xml View File

222
                 a.address,
222
                 a.address,
223
                 a.price,
223
                 a.price,
224
                 t.tagert_type as eventType,
224
                 t.tagert_type as eventType,
225
-				t.create_date
225
+				t.create_date as visit_time
226
                 from ta_share t
226
                 from ta_share t
227
                 left join (select b.url, a.building_name,a.address,a.price,a.building_id from ta_building a left join ta_building_img b on a.building_id = b.building_id where b.img_type = 'list') a on t.be_share = a.building_id
227
                 left join (select b.url, a.building_name,a.address,a.price,a.building_id from ta_building a left join ta_building_img b on a.building_id = b.building_id where b.img_type = 'list') a on t.be_share = a.building_id
228
                 where t.tagert_type = 'project'
228
                 where t.tagert_type = 'project'
241
         '2' as building_name,
241
         '2' as building_name,
242
         '3' as address,
242
         '3' as address,
243
         t.tagert_type as eventType,
243
         t.tagert_type as eventType,
244
-		t.create_date
244
+		t.create_date as visit_time
245
         from ta_share t
245
         from ta_share t
246
         left join ta_building_dynamic b on t.be_share = b.dynamic_id
246
         left join ta_building_dynamic b on t.be_share = b.dynamic_id
247
         where t.tagert_type = 'activity'
247
         where t.tagert_type = 'activity'
260
         '2' as building_name,
260
         '2' as building_name,
261
         '3' as address,
261
         '3' as address,
262
         t.tagert_type as eventType,
262
         t.tagert_type as eventType,
263
-		t.create_date
263
+		t.create_date as visit_time
264
         from ta_share t
264
         from ta_share t
265
         left join ta_help_activity c on t.be_share = c.help_activity_id
265
         left join ta_help_activity c on t.be_share = c.help_activity_id
266
         where t.tagert_type = 'help'
266
         where t.tagert_type = 'help'
279
         '2' as building_name,
279
         '2' as building_name,
280
         '3' as address,
280
         '3' as address,
281
         t.tagert_type as eventType,
281
         t.tagert_type as eventType,
282
-		t.create_date
282
+		t.create_date as visit_time
283
         from ta_share t
283
         from ta_share t
284
         left join ta_share_activity d on t.be_share = d.group_activity_id
284
         left join ta_share_activity d on t.be_share = d.group_activity_id
285
         where t.tagert_type = 'group'
285
         where t.tagert_type = 'group'
298
         '2' as building_name,
298
         '2' as building_name,
299
         '3' as address,
299
         '3' as address,
300
         t.tagert_type as eventType,
300
         t.tagert_type as eventType,
301
-		t.create_date
301
+		t.create_date as visit_time
302
         from ta_share t
302
         from ta_share t
303
         left join ta_news e on t.be_share = e.news_id
303
         left join ta_news e on t.be_share = e.news_id
304
         where t.tagert_type = 'news'
304
         where t.tagert_type = 'news'
317
             '2' as building_name,
317
             '2' as building_name,
318
             '3' as address,
318
             '3' as address,
319
 			t.tagert_type as eventType,
319
 			t.tagert_type as eventType,
320
-			t.create_date
320
+			t.create_date as visit_time
321
             from ta_share t
321
             from ta_share t
322
             left join ta_drainage f on t.be_share = f.drainage_id
322
             left join ta_drainage f on t.be_share = f.drainage_id
323
             where t.tagert_type = 'h5'
323
             where t.tagert_type = 'h5'