weichaochao 5 年 前
コミット
e50a5593d6

+ 1
- 2
src/main/resources/mapper/TaPreselectionRecordMapper.xml ファイルの表示

@@ -69,8 +69,7 @@
69 69
         t.building_id,
70 70
         t.sales_batch_id,
71 71
         e.apartment_name,
72
-        b.person_id,
73
-        (select name from ta_person t where (t.user_id = t.update_user || t.person_id = t.update_user)) as updateName
72
+        b.person_id
74 73
         from ta_preselection_record t
75 74
         left join ta_housing_resources a on t.house_id = a.house_id
76 75
         left join ta_person b on t.person_id = b.person_id

+ 1
- 1
src/main/resources/mapper/TaShareMapper.xml ファイルの表示

@@ -3,7 +3,7 @@
3 3
 <mapper namespace="com.huiju.estateagents.mapper.TaShareMapper">
4 4
 
5 5
     <select id="selectHouseShareList" resultType="com.huiju.estateagents.entity.TaShare">
6
-      select a.avatarurl as photoOravatar, a.nickname as nameOrnick, a.name, a.phone, a.person_type, t.tagert_type, t.create_date From ta_share t
6
+      select a.avatarurl as photoOravatar, a.nickname as nameOrnick, a.name, a.phone, a.person_type, t.tagert_type, t.create_date From ta_share_count t
7 7
       left join ta_person a on t.person_id = a.person_id
8 8
       left join ta_sales_batch b on t.be_share = b.sales_batch_id
9 9
       where a.org_id = #{orgId}

+ 1
- 2
src/main/resources/mapper/TaSharePersonFromMapper.xml ファイルの表示

@@ -31,10 +31,9 @@
31 31
         left join td_wx_dict b on a.scene_id = b.scene_id
32 32
         left join ta_person c on t.person_id = c.person_id
33 33
         left join ta_housing_resources d on d.house_id = t.target_id
34
-        left join ta_sales_batch z on t.target_id = z.sales_batch_id
35 34
         where a.org_id = #{orgId}
36 35
         and t.target_type = 'house_share'
37
-        and z.sales_batch_id = #{saleBatchId}
36
+        and t.target_id = #{saleBatchId}
38 37
         <if test="personType != null and personType != ''">
39 38
             and c.person_Type = #{personType}
40 39
         </if>