xieb
2023-05-19 5a0f5c800c2a9b8a5e7732f69feedda9a2466e88
skjcmanager/skjcmanager-service/skjcmanager-user/src/main/java/cn/gistack/system/user/mapper/UserMapper.xml
@@ -44,6 +44,9 @@
        <if test="user.userType!=null and user.userType != ''">
            and user_type = #{user.userType}
        </if>
        <if test="user.roleId!=null and user.roleId != ''">
            and role_id like concat('%',#{user.roleId},'%')
        </if>
        <if test="deptIdList!=null and deptIdList.size>0">
            and id in (
            SELECT
@@ -84,5 +87,9 @@
        and TENANT_ID = #{tenantId}
        and (ACCOUNT = #{key} or PHONE = #{key})
    </select>
    <select id="getUserByPhoneIds" resultType="cn.gistack.system.user.entity.User">
        SELECT * FROM BLADE_USER
        WHERE IS_DELETED = 0 AND PHONE LIKE CONCAT('%',#{phoneIds},'%')
    </select>
</mapper>