// mockWarehousing.js

// 模拟数据
const mockWarehousingData = [
  { id: 101, deptName: "Y00002", deptId: "WSA0197", remark: "备注" },
  { id: 102, deptName: "Y00003", deptId: "WSA0198", remark: "" },
  { id: 103, deptName: "Y00004", deptId: "WSA0199", remark: "备注" },
  { id: 104, deptName: "Y00005", deptId: "WSA0200", remark: "" },
];

// Mock 接口（和你原接口格式一致）
const getRepository = (params) => {
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve({
        code: 200,
        msg: "获取成功",
        data: mockWarehousingData,
      });
    }, 200);
  });
};

export default getRepository;
