import { buildEmployeeQueryTool } from "../query/employee_query.js"; /** * 用户端员工查询工具 * * 只传入当前登录用户的 userId,schema 不暴露 userId 参数; * 查询强制按 userId 隔离,并只输出本人员工档案的非敏感字段。 */ const createEmployeeQueryTool = (userInfo) => buildEmployeeQueryTool({ userId: userInfo?._id }); export { createEmployeeQueryTool };