Helius
2020-12-22 339b59abc36c0aa07b99cb6de1b0553de2f48d7e
zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml
@@ -35,6 +35,9 @@
        <result property="disease" column="disease"/>
        <result property="zjm" column="zjm"/>
        <result property="companyId" column="company_id"/>
        <result property="province" column="province"/>
        <result property="city" column="city"/>
        <result property="area" column="area"/>
        <result property="statu" column="statu"/>
        <result property="birthdayType" column="birthdayType"/>
@@ -274,7 +277,11 @@
        disease,
        is_deal,
        zjm,
        company_id
        company_id,
        province,
        city,
        area,
        recommend_id
        )
@@ -318,7 +325,11 @@
        #{disease},
        #{isDeal},
        #{zjm},
        #{companyId}
        #{companyId},
        #{province},
        #{city},
        #{area},
        #{recommendId}
        )
    </insert>
@@ -444,6 +455,18 @@
            </if>
            <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>
            <if test="city != null and city !=''  ">
                city = #{city},
            </if>
            <if test="area != null and area !=''  ">
                area = #{area},
            </if>
@@ -937,7 +960,11 @@
      a.create_distribution_time,
      a.birthdayType,
      a.disease,
      a.is_deal
      a.is_deal,
      a.province,
      a.city,
      a.area,
      a.recommend_id
   </sql>
    <sql id="from">
      from sys_vip_info a