|
@@ -39,6 +39,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="voicePrintUrl" column="voice_print_url" />
|
|
|
<result property="addressId" column="address_id" />
|
|
|
<result property="domain" column="domain" />
|
|
|
+ <result property="isAudit" column="is_audit" />
|
|
|
+ <result property="isNeedRegisterMember" column="is_need_register_member" />
|
|
|
+ <result property="maOpenId" column="ma_open_id" />
|
|
|
<association property="dept" column="dept_id" javaType="CompanyDept" resultMap="deptResult" />
|
|
|
<collection property="roles" javaType="java.util.List" resultMap="RoleResult" />
|
|
|
</resultMap>
|
|
@@ -135,7 +138,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="qwStatus != null">qw_status,</if>
|
|
|
<if test="voicePrintUrl != null">voice_print_url,</if>
|
|
|
<if test="addressId != null">address_id,</if>
|
|
|
- <if test="domain != null">domain,</if>
|
|
|
+ <if test="domain != null">`domain`,</if>
|
|
|
+ <if test="isAudit != null">`is_audit`,</if>
|
|
|
+ <if test="maOpenId != null">`ma_open_id`,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="companyId != null">#{companyId},</if>
|
|
@@ -168,6 +173,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="voicePrintUrl != null">#{voicePrintUrl},</if>
|
|
|
<if test="addressId != null">#{addressId},</if>
|
|
|
<if test="domain != null">#{domain},</if>
|
|
|
+ <if test="isAudit != null">#{isAudit},</if>
|
|
|
+ <if test="maOpenId != null">#{maOpenId},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -203,6 +210,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="voicePrintUrl != null">voice_print_url = #{voicePrintUrl},</if>
|
|
|
<if test="addressId != null">address_id = #{addressId},</if>
|
|
|
<if test="domain != null">domain = #{domain},</if>
|
|
|
+ <if test="isAudit != null">`is_audit` = #{isAudit},</if>
|
|
|
+ <if test="maOpenId != null">`ma_open_id` = #{maOpenId},</if>
|
|
|
</trim>
|
|
|
where user_id = #{userId}
|
|
|
</update>
|