|  |  |  | 
|---|
|  |  |  | <result property="staffId" column="staff_id" /> | 
|---|
|  |  |  | <result property="vipName" column="vip_name" /> | 
|---|
|  |  |  | <result property="tel" column="tel" /> | 
|---|
|  |  |  | <result property="bizUserId" column="biz_user_id" /> | 
|---|
|  |  |  | <result property="bizUserId" column="sys_vip_info_id" /> | 
|---|
|  |  |  | <result property="formId" column="form_id" /> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <result property="productId" column="product_id" /> | 
|---|
|  |  |  | 
|---|
|  |  |  | <result property="staffId" column="staff_id" /> | 
|---|
|  |  |  | <result property="vipName" column="vip_name" /> | 
|---|
|  |  |  | <result property="tel" column="tel" /> | 
|---|
|  |  |  | <result property="bizUserId" column="biz_user_id" /> | 
|---|
|  |  |  | <result property="bizUserId" column="sys_vip_info_id" /> | 
|---|
|  |  |  | <result property="productId" column="product_id" /> | 
|---|
|  |  |  | <result property="orderNo" column="order_no" /> | 
|---|
|  |  |  | <result property="formId" column="form_id" /> | 
|---|
|  |  |  | 
|---|
|  |  |  | staff_id, | 
|---|
|  |  |  | vip_name, | 
|---|
|  |  |  | tel, | 
|---|
|  |  |  | biz_user_id, | 
|---|
|  |  |  | sys_vip_info_id, | 
|---|
|  |  |  | product_id, | 
|---|
|  |  |  | order_no, | 
|---|
|  |  |  | form_id | 
|---|
|  |  |  | 
|---|
|  |  |  | tel = #{tel}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="(bizUserId!=null and bizUserId!='') or (bizUserId!='' and bizUserId==0)"> | 
|---|
|  |  |  | biz_user_id = #{bizUserId}, | 
|---|
|  |  |  | sys_vip_info_id = #{bizUserId}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="(productId!=null and productId!='') or (productId!='' and productId==0)"> | 
|---|
|  |  |  | product_id = #{productId}, | 
|---|
|  |  |  | 
|---|
|  |  |  | staff_id, | 
|---|
|  |  |  | vip_name, | 
|---|
|  |  |  | tel, | 
|---|
|  |  |  | biz_user_id, | 
|---|
|  |  |  | sys_vip_info_id, | 
|---|
|  |  |  | product_id, | 
|---|
|  |  |  | order_no, | 
|---|
|  |  |  | form_id, | 
|---|
|  |  |  | 
|---|
|  |  |  | staff_id, | 
|---|
|  |  |  | vip_name, | 
|---|
|  |  |  | tel, | 
|---|
|  |  |  | biz_user_id, | 
|---|
|  |  |  | sys_vip_info_id, | 
|---|
|  |  |  | product_id | 
|---|
|  |  |  | from onlinebooking | 
|---|
|  |  |  | where 1=1 | 
|---|
|  |  |  | 
|---|
|  |  |  | staff_id, | 
|---|
|  |  |  | vip_name, | 
|---|
|  |  |  | tel, | 
|---|
|  |  |  | biz_user_id, | 
|---|
|  |  |  | sys_vip_info_id, | 
|---|
|  |  |  | product_id, | 
|---|
|  |  |  | order_no | 
|---|
|  |  |  | from onlinebooking | 
|---|
|  |  |  | 
|---|
|  |  |  | staff_id, | 
|---|
|  |  |  | vip_name, | 
|---|
|  |  |  | tel, | 
|---|
|  |  |  | biz_user_id, | 
|---|
|  |  |  | sys_vip_info_id, | 
|---|
|  |  |  | product_id | 
|---|
|  |  |  | from onlinebooking | 
|---|
|  |  |  | where 1=1 | 
|---|
|  |  |  | 
|---|
|  |  |  | staff_id, | 
|---|
|  |  |  | vip_name, | 
|---|
|  |  |  | tel, | 
|---|
|  |  |  | biz_user_id, | 
|---|
|  |  |  | sys_vip_info_id, | 
|---|
|  |  |  | product_id, | 
|---|
|  |  |  | order_no | 
|---|
|  |  |  | from onlinebooking | 
|---|
|  |  |  | 
|---|
|  |  |  | staff_id, | 
|---|
|  |  |  | vip_name, | 
|---|
|  |  |  | tel, | 
|---|
|  |  |  | biz_user_id, | 
|---|
|  |  |  | sys_vip_info_id, | 
|---|
|  |  |  | product_id, | 
|---|
|  |  |  | order_no, | 
|---|
|  |  |  | form_id, | 
|---|
|  |  |  | 
|---|
|  |  |  | and vip_Id  = #{record.vipId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="(record.bizUserId!=null and record.bizUserId!='') or (record.bizUserId!='' and record.bizUserId==0)"> | 
|---|
|  |  |  | and biz_user_id  = #{record.bizUserId} | 
|---|
|  |  |  | and sys_vip_info_id  = #{record.bizUserId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="(record.time!=null and record.time!='') or (record.time!='' and record.time==0)"> | 
|---|
|  |  |  | and time  = #{record.time} | 
|---|
|  |  |  | 
|---|
|  |  |  | and vip_Id  = #{record.vipId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="(record.bizUserId!=null and record.bizUserId!='') or (record.bizUserId!='' and record.bizUserId==0)"> | 
|---|
|  |  |  | and biz_user_id  = #{record.bizUserId} | 
|---|
|  |  |  | and sys_vip_info_id  = #{record.bizUserId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="(record.time!=null and record.time!='') or (record.time!='' and record.time==0)"> | 
|---|
|  |  |  | and time  = #{record.time} | 
|---|