|  |  |  | 
|---|
|  |  |  | f.receive_address receiveAddress | 
|---|
|  |  |  | FROM | 
|---|
|  |  |  | activity_sign_writeoff 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 shop_activities c on a.act_id= c.id | 
|---|
|  |  |  | left join activity_sign_award_set d on a.award_id= d.id | 
|---|
|  |  |  | left join activity_sign_receive_record e on a.receive_id= e.id | 
|---|
|  |  |  | 
|---|
|  |  |  | b.nick_name zjr | 
|---|
|  |  |  | 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 | 
|---|
|  |  |  | where a.user_id = #{userId} and a.award_id = #{receiveId} | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | SELECT | 
|---|
|  |  |  | * | 
|---|
|  |  |  | FROM | 
|---|
|  |  |  | shop_delivery_info a | 
|---|
|  |  |  | where a.id = #{logisticsId} | 
|---|
|  |  |  | activity_sign_writeoff a | 
|---|
|  |  |  | where a.receive_id = #{receiveId} | 
|---|
|  |  |  | and a.user_id = #{userId} | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </mapper> | 
|---|