TASK:获取affiliate的用户名和id;BUGFIX:模特无法保存

This commit is contained in:
2025-08-21 13:22:22 +08:00
parent 7436fa17c0
commit e4ce7e9e63
6 changed files with 58 additions and 16 deletions

View File

@@ -84,4 +84,13 @@
</if>
</where>
</select>
<select id="selectAllAffiliateUsername" resultType="java.util.Map">
SELECT
af.id,
ac.user_name as username
FROM t_affiliate af
LEFT JOIN t_account ac ON af.account_id = ac.id
</select>
</mapper>