|
@@ -32,6 +32,7 @@
|
|
|
<result column="company_flag" property="companyFlag" jdbcType="CHAR"/>
|
|
<result column="company_flag" property="companyFlag" jdbcType="CHAR"/>
|
|
|
<result column="approve_step" property="approveStep" jdbcType="INTEGER"/>
|
|
<result column="approve_step" property="approveStep" jdbcType="INTEGER"/>
|
|
|
<result column="notice_flag" property="noticeFlag" jdbcType="CHAR"/>
|
|
<result column="notice_flag" property="noticeFlag" jdbcType="CHAR"/>
|
|
|
|
|
+ <result column="remind_flag" property="remindFlag" jdbcType="CHAR"/>
|
|
|
<association property="departId" javaType="string" column="id"
|
|
<association property="departId" javaType="string" column="id"
|
|
|
select="com.izouma.awesomeadmin.dao.DepartInfoMapper.getUserDepartId"/>
|
|
select="com.izouma.awesomeadmin.dao.DepartInfoMapper.getUserDepartId"/>
|
|
|
<association property="roleId" javaType="string" column="id"
|
|
<association property="roleId" javaType="string" column="id"
|
|
@@ -41,7 +42,7 @@
|
|
|
id, username, nickname, icon, birthday, sex, open_id, union_id, phone, mail,
|
|
id, username, nickname, icon, birthday, sex, open_id, union_id, phone, mail,
|
|
|
country, province, city, district, create_time, del_flag, money_coin, money_point,
|
|
country, province, city, district, create_time, del_flag, money_coin, money_point,
|
|
|
contacter, contact_phone, company_name, company_type, admin_flag, cash_pledge,
|
|
contacter, contact_phone, company_name, company_type, admin_flag, cash_pledge,
|
|
|
- approve_flag, store_flag, company_flag, approve_step, notice_flag
|
|
|
|
|
|
|
+ approve_flag, store_flag, company_flag, approve_step, notice_flag, remind_flag
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer">
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer">
|
|
|
select
|
|
select
|
|
@@ -151,6 +152,9 @@
|
|
|
<if test="noticeFlag != null">
|
|
<if test="noticeFlag != null">
|
|
|
notice_flag,
|
|
notice_flag,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="remindFlag != null">
|
|
|
|
|
+ remind_flag,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -246,6 +250,9 @@
|
|
|
<if test="noticeFlag != null">
|
|
<if test="noticeFlag != null">
|
|
|
#{noticeFlag},
|
|
#{noticeFlag},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="remindFlag != null">
|
|
|
|
|
+ #{remindFlag},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.UserInfo">
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.UserInfo">
|
|
@@ -341,6 +348,9 @@
|
|
|
<if test="noticeFlag != null">
|
|
<if test="noticeFlag != null">
|
|
|
notice_flag = #{noticeFlag},
|
|
notice_flag = #{noticeFlag},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="remindFlag != null">
|
|
|
|
|
+ remind_flag = #{remindFlag},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
</update>
|