|
@ -27,6 +27,7 @@ |
|
|
<result property="tenantId" column="tenant_id"/> |
|
|
<result property="tenantId" column="tenant_id"/> |
|
|
<result property="syAccount" column="sy_account"/> |
|
|
<result property="syAccount" column="sy_account"/> |
|
|
<result property="syUserId" column="sy_user_id"/> |
|
|
<result property="syUserId" column="sy_user_id"/> |
|
|
|
|
|
<result property="hrSystemInfo" column="hr_system_info"/> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="sysUserSql"> |
|
|
<sql id="sysUserSql"> |
|
@ -87,6 +88,7 @@ |
|
|
<if test="query.updateBy != null and query.updateBy != ''"> and sys_user.update_by = #{query.updateBy}</if> |
|
|
<if test="query.updateBy != null and query.updateBy != ''"> and sys_user.update_by = #{query.updateBy}</if> |
|
|
<if test="query.delFlag != null"> and sys_user.del_flag = #{query.delFlag}</if> |
|
|
<if test="query.delFlag != null"> and sys_user.del_flag = #{query.delFlag}</if> |
|
|
<if test="query.tenantId != null and query.tenantId != ''"> and sys_user.tenant_id = #{query.tenantId}</if> |
|
|
<if test="query.tenantId != null and query.tenantId != ''"> and sys_user.tenant_id = #{query.tenantId}</if> |
|
|
|
|
|
<if test="query.hrSystemInfo != null and query.hrSystemInfo != ''"> and sys_user.hr_system_info = #{hrSystemInfo}</if> |
|
|
<if test="query.multiDeptIds != null and query.multiDeptIds.size > 0 "> and sys_user.dept_id in |
|
|
<if test="query.multiDeptIds != null and query.multiDeptIds.size > 0 "> and sys_user.dept_id in |
|
|
<foreach collection="query.multiDeptIds" item ="muDeptId" index="i" open="(" close=")" separator=","> |
|
|
<foreach collection="query.multiDeptIds" item ="muDeptId" index="i" open="(" close=")" separator=","> |
|
|
#{muDeptId} |
|
|
#{muDeptId} |
|
|