| | |
| | | <if test="user.tenantId!=null and user.tenantId != ''"> |
| | | and tenant_id = #{user.tenantId} |
| | | </if> |
| | | <if test="user.code!=null and user.code != ''"> |
| | | and code like concat('%', #{user.code},'%') |
| | | </if> |
| | | <if test="user.name!=null and user.name != ''"> |
| | | and name like concat('%', #{user.name},'%') |
| | | </if> |
| | | <if test="user.account!=null and user.account != ''"> |
| | | and account = #{user.account} |
| | | </if> |
| | |
| | | <if test="user.userType!=null and user.userType != ''"> |
| | | and user_type = #{user.userType} |
| | | </if> |
| | | <if test="user.postId!=null and user.postId != ''"> |
| | | and post_id = #{user.postId} |
| | | </if> |
| | | <if test="deptIdList!=null and deptIdList.size>0"> |
| | | and id in ( |
| | | SELECT |