import { buildEmployeeReviewQueryTool } from "../query/employee_review_query.js"; /** * 用户端员工评价查询工具 * * 只传入当前登录用户的 userId,schema 不暴露 userId 参数; * 查询强制按评价人 userId 隔离,只返回本人提交的评价。 */ const createEmployeeReviewQueryTool = (userInfo) => buildEmployeeReviewQueryTool({ userId: userInfo?._id }); export { createEmployeeReviewQueryTool };