import { buildEmployeeQueryTool } from "../query/employee_query.js"; /** * 陪诊员端员工查询工具 * * 只允许查本人档案:强制按当前登录用户 ID 隔离,schema 不暴露 userId; * 输出走用户端白名单,不返回身份证、手机号、证书编号等敏感字段。 */ const createAttendantEmployeeQueryTool = (userInfo) => buildEmployeeQueryTool({ userId: userInfo?._id }); export { createAttendantEmployeeQueryTool };