From 4dfe83675fc23f4514b6c3cf44fcc84c7e0b52a8 Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Wed, 21 Apr 2021 10:03:28 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/score_shop' into score_shop --- zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignReceiveRecordDao.xml | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignReceiveRecordDao.xml b/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignReceiveRecordDao.xml index b9f2426..2237f08 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignReceiveRecordDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/activity/ActivitySignReceiveRecordDao.xml @@ -17,7 +17,7 @@ c.award_rule awardRule FROM activity_sign_receive_record a - LEFT JOIN biz_user b ON a.user_id = b.user_id + LEFT JOIN sys_vip_info b ON a.user_id = b.id LEFT JOIN activity_sign_award_set c ON a.award_id = c.id <where> a.company_id = #{record.companyId} @@ -120,7 +120,7 @@ a.state state, a.consignee_phone consigneePhone, a.consignee_address consigneeAddress, - a.consignee + a.consignee, a.receive_time receiveTime, a.write_off_code writeOffCode, 1 total, @@ -131,12 +131,13 @@ b.prize_start_time prizeStartTime, b.award_way awardWay, b.introduce_img introduceImg, + b.customer_phone customerPhone, b.award_name awardName FROM activity_sign_receive_record a LEFT JOIN activity_sign_award_set b ON a.award_id = b.id WHERE - a.award_id = #{record.awardId} + a.id = #{record.awardId} and a.company_id = #{record.companyId} and a.user_id = #{record.userId} </select> -- Gitblit v1.9.1