xiaoyong931011
2022-05-05 f83b62252df79afbfa19f4cf1be0487d9e37a123
zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml
@@ -61,6 +61,7 @@
        <result property="country" column="country" />
        <result property="sessionKey" column="session_key" />
        <result property="userIsAuthorize" column="user_is_authorize" />
        <result property="validFlag" column="valid_flag" />
        <!-- 扩展属性 -->
        <result property="staffName" column="STAFF_NAME"/>
@@ -124,6 +125,7 @@
        <result property="country" column="country" />
        <result property="sessionKey" column="session_key" />
        <result property="userIsAuthorize" column="user_is_authorize" />
        <result property="validFlag" column="valid_flag" />
        <!-- 扩展属性 -->
        <result property="staffName" column="STAFF_NAME"/>
@@ -537,6 +539,9 @@
            <if test="avatarUrl != null and avatarUrl != '' ">
                avatar_url  = #{avatarUrl},
            </if>
            <if test="validFlag != null and validFlag != '' ">
                valid_flag  = #{validFlag},
            </if>
        </set>
@@ -803,6 +808,10 @@
            <if test="record.phone != null and record.phone !='' ">
                and a.PHONE like CONCAT('%',#{record.phone},'%')
            </if>
            <if test="record.padQueryKey != null and record.padQueryKey !='' ">
                and (a.PHONE like CONCAT('%',#{record.padQueryKey},'%')
                 or instr(a.VIP_NAME ,#{record.padQueryKey}) )
            </if>
            <if test="record.sex != null and record.sex !='' ">
                and a.SEX = #{record.sex}
            </if>