| | |
| | | left join activity_sign_receive_record e on a.receive_id= e.id |
| | | left join shop_delivery_info f on a.logistics_id= f.id |
| | | <where> |
| | | a.company_id = #{record.companyId} |
| | | a.company_id = #{record.companyId} and (b.IS_DELETE is null or b.IS_DELETE = '') |
| | | <if test="record.zjzxm != null and record.zjzxm != ''"> |
| | | and b.nick_name like concat('%',#{record.zjzxm},'%') |
| | | </if> |
| | |
| | | FROM |
| | | activity_sign_receive_record a |
| | | left join sys_vip_info b on a.user_id= b.id |
| | | where a.user_id = #{userId} and a.award_id = #{receiveId} |
| | | where a.user_id = #{userId} and a.award_id = #{receiveId} and (b.IS_DELETE is null or b.IS_DELETE = '') |
| | | </select> |
| | | |
| | | <select id="selectShopDeliveryInfoByLogisticsId" resultType="com.matrix.system.shopXcx.bean.ShopDeliveryInfo"> |