diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActPartnerLMLogMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActPartnerLMLogMapper.xml
index 0ca13ae4e..a0663b740 100644
--- a/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActPartnerLMLogMapper.xml
+++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActPartnerLMLogMapper.xml
@@ -52,12 +52,18 @@
+
SELECT
a.*,
b.client_moniker,
- c.headimg,
- c.nickname
+ ifnull(c.headimg, c2.headimg) headimg,
+ ifnull(c.nickname, c2.nickname) nickname
FROM act_red_packets_customer_orders a
INNER JOIN sys_clients b ON a.client_id = b.client_id
LEFT JOIN sys_customer_relation c ON c.wechat_openid = a.open_id
+ LEFT JOIN sys_customer_relation c2 ON c2.globalpay_openid = a.open_id
WHERE act_id = #{actId}
AND b.client_moniker = #{client_moniker}