|
|
@@ -7,7 +7,7 @@
|
|
|
<sql id="Base_Column_List">
|
|
|
t.staff_id
|
|
|
, t.staff_code, t.staff_name,t.staff_phone, t.org_id, t.role_ids, t.wx_user_id, t.remarks,
|
|
|
- t.flg_valid,t.flg_can_login,t.hr_status,t.login_type,
|
|
|
+ t.flg_valid,t.flg_can_login,t.hr_status,t.login_type,t.flg_init,
|
|
|
t.cp_id, t.op_create_time, t.op_create_user_id, t.op_update_time, t.op_update_user_id
|
|
|
</sql>
|
|
|
|
|
|
@@ -40,7 +40,8 @@
|
|
|
<result column="hr_status" property="hrStatus"/>
|
|
|
<result column="default_wh_id" property="defaultWhId" typeHandler="UuidTypeHandler" />
|
|
|
<result column="default_wh_name" property="defaultWhName"/>
|
|
|
- <result column="grade_code" property="gradeCode"></result>
|
|
|
+ <result column="flg_init" property="flgInit"/>
|
|
|
+ <result column="grade_code" property="gradeCode"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<!-- 通用条件列 -->
|
|
|
@@ -80,6 +81,9 @@
|
|
|
<if test="hrStatus != null">
|
|
|
AND t.hr_status = #{hrStatus}
|
|
|
</if>
|
|
|
+ <if test="flgInit != null">
|
|
|
+ AND t.flg_init = #{flgInit}
|
|
|
+ </if>
|
|
|
<if test="roleIds != null and roleIds.size()>0">
|
|
|
AND t.role_ids &&
|
|
|
#{roleIds, typeHandler=UuidListTypeHandler}
|