|
|
@@ -30,6 +30,7 @@
|
|
|
<result column="approve_flag" property="approveFlag" jdbcType="CHAR"/>
|
|
|
<result column="store_flag" property="storeFlag" jdbcType="CHAR"/>
|
|
|
<result column="company_flag" property="companyFlag" jdbcType="CHAR"/>
|
|
|
+ <result column="approve_step" property="approveStep" jdbcType="INTEGER"/>
|
|
|
<association property="departId" javaType="string" column="id"
|
|
|
select="com.izouma.awesomeadmin.dao.DepartInfoMapper.getUserDepartId"/>
|
|
|
<association property="roleId" javaType="string" column="id"
|
|
|
@@ -39,7 +40,7 @@
|
|
|
id, username, nickname, icon, birthday, sex, open_id, union_id, phone, mail,
|
|
|
country, province, city, district, create_time, del_flag, money_coin, money_point,
|
|
|
contacter, contact_phone, company_name, company_type, admin_flag, cash_pledge,
|
|
|
- approve_flag, store_flag, company_flag
|
|
|
+ approve_flag, store_flag, company_flag, approve_step
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer">
|
|
|
select
|
|
|
@@ -143,6 +144,9 @@
|
|
|
<if test="companyFlag != null">
|
|
|
company_flag,
|
|
|
</if>
|
|
|
+ <if test="approveStep != null">
|
|
|
+ approve_step,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -232,6 +236,9 @@
|
|
|
<if test="companyFlag != null">
|
|
|
#{companyFlag},
|
|
|
</if>
|
|
|
+ <if test="approveStep != null">
|
|
|
+ #{approveStep},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.UserInfo">
|
|
|
@@ -321,6 +328,9 @@
|
|
|
<if test="companyFlag != null">
|
|
|
company_flag = #{companyFlag},
|
|
|
</if>
|
|
|
+ <if test="approveStep != null">
|
|
|
+ approve_step = #{approveStep},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
@@ -412,6 +422,9 @@
|
|
|
<if test="record.companyFlag != null and !"".equals(record.companyFlag)">
|
|
|
and company_flag = #{record.companyFlag}
|
|
|
</if>
|
|
|
+ <if test="record.approveStep != null and !"".equals(record.approveStep)">
|
|
|
+ and approve_step = #{record.approveStep}
|
|
|
+ </if>
|
|
|
|
|
|
</where>
|
|
|
order by id desc
|
|
|
@@ -504,6 +517,9 @@
|
|
|
<if test="companyFlag != null and !"".equals(companyFlag)">
|
|
|
and company_flag = #{companyFlag}
|
|
|
</if>
|
|
|
+ <if test="approveStep != null and !"".equals(approveStep)">
|
|
|
+ and approve_step = #{approveStep}
|
|
|
+ </if>
|
|
|
|
|
|
</where>
|
|
|
order by id desc
|