jyy
2021-07-14 d13ae240c54c59b04c0571bfc0136ed0c8ba32a3
zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml
@@ -499,9 +499,7 @@
            <if test="isDeal != null  ">
                is_deal = #{isDeal},
            </if>
            <if test="recommendId != null  ">
                recommend_id = #{recommendId},
            </if>
            <if test="province != null and province !=''  ">
                province = #{province},
            </if>
@@ -551,6 +549,9 @@
    <update id="unbundlingSaleMan">
        UPDATE sys_vip_info set recommend_id = NULL where id=#{userId};
    </update>
    <update id="bindingRecommend">
        UPDATE sys_vip_info set recommend_id = #{recommendId} where id=#{userId};
    </update>
    <!-- 批量删除 -->
@@ -1207,7 +1208,7 @@
    <select id="selectByPhone" resultMap="SysVipInfoMapSimple">
      select * from sys_vip_info where  PHONE = #{phone}
      select * from sys_vip_info where  PHONE = #{phone} and company_id=#{companyId}
   </select>