ソースを参照

置业顾问列表

魏熙美 5 年 前
コミット
62529093bd

+ 1
- 1
src/main/java/com/huiju/estateagents/center/taUser/service/impl/TaUserServiceImpl.java ファイルの表示

@@ -200,7 +200,7 @@ public class TaUserServiceImpl extends ServiceImpl<TaUserMapper, TaUser> impleme
200 200
 	}
201 201
 	
202 202
 	@Override
203
-	public TaUser addAdminUser(TaUser taUser) throws Exception {
203
+	public TaUser  addAdminUser(TaUser taUser) throws Exception {
204 204
 		if (StringUtils.isEmpty(taUser.getPhone())) {
205 205
 			throw new Exception("电话号码不能为空");
206 206
 		}

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

@@ -14,7 +14,7 @@
14 14
             u.description as description
15 15
         FROM
16 16
             ta_person t left join ta_user u on t.user_id = u.user_id
17
-        LEFT JOIN ta_person_building p ON t.person_id = p.person_id
17
+        LEFT JOIN ta_person_building p ON u.user_id = p.user_id
18 18
         WHERE
19 19
             t.person_type = #{personType}
20 20
         AND t.status = #{status}
@@ -141,8 +141,8 @@ FROM
141 141
         AND t.status = #{status}
142 142
         <if test="personIds != null">
143 143
             and t.person_id in
144
-            <foreach collection="personIds" item="personIds" index="index" open="(" close=")" separator=",">
145
-                #{ordersId}
144
+            <foreach collection="personIds" item="item" index="index" open="(" close=")" separator=",">
145
+                #{item}
146 146
             </foreach>
147 147
         </if>
148 148
         ORDER BY