胡轶钦 5 years ago
parent
commit
f4c95f4ac5
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 4
- 4
src/main/resources/mapper/TaRecommendCustomerMapper.xml View File

@@ -73,12 +73,12 @@ FROM
73 73
 
74 74
     <select id="getIndependentAgents" resultType="com.huiju.estateagents.entity.TaPerson">
75 75
         SELECT
76
-	*
76
+	a.*
77 77
 FROM
78
-	ta_person
78
+	ta_person a
79 79
 <where>
80
-    person_type = 'estate agent'
81
-    and status >0
80
+    a.person_type = 'estate agent'
81
+    and a.status >0
82 82
     <if test="name != null and name !=''">
83 83
         and a.nickname = #{name}
84 84
     </if>