Kaynağa Gözat

修改用户认证数据不一致bug

limin 7 yıl önce
ebeveyn
işleme
4ce87850bf

+ 2 - 2
src/main/java/com/goafanti/common/mapper/UserIdentityMapper.xml

@@ -1376,7 +1376,7 @@ from
 	from user_identity i 
 	inner join user u on i.uid = u.id
 	left join industry_category c on c.id = i.industry
-	where 1 = 1
+	where u.source = 0
 	<if test="auditStatus != null ">
 	and  i.audit_status = #{auditStatus,jdbcType=VARCHAR}
 	</if>
@@ -1402,7 +1402,7 @@ from
 	count(0)
 	from user_identity i 
 	inner join user u on i.uid = u.id
-	where 1 = 1
+	where u.source = 0 
 	<if test="auditStatus != null ">
 	and  i.audit_status = #{auditStatus,jdbcType=VARCHAR}
 	</if>