material_manage_system/internal/handler
文睿 张 7b926ff60a feat: 物料导入与模板下载接口
- 新增 response.ErrorWithData:校验失败要把逐行明细一起带回,不能只给一句话
- 新增 GET /api/material-import/template 与 POST /api/material-import
- 路由挂在独立前缀 /material-import:materials 组已有 GET /:id,gin 的路由树
  不允许同一段既有静态前缀又有通配参数
- 权限沿用物料新增的口径:登录 + 公司头校验,不额外要求 super_admin
- 模板随代码生成不落盘,下载到的永远与当前校验规则一致
2026-10-10 15:46:57 +08:00
..
admin_master.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
api.go feat: 物料导入与模板下载接口 2026-10-10 15:46:57 +08:00
application_organization_test.go feat: 按公司隔离物料申请与审批出库 2026-10-09 12:37:08 +08:00
company_isolation_integration_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
error_message_test.go 完善库存流水 2026-09-20 14:29:41 +08:00
logout_session_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
material_history_mysql_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
material_import_test.go feat: 物料导入与模板下载接口 2026-10-10 15:46:57 +08:00
material_import.go feat: 物料导入与模板下载接口 2026-10-10 15:46:57 +08:00
material_organization_test.go feat: 物料增加初始单位,补充物料批量上传计划 2026-10-10 14:15:49 +08:00
order_flow_integration_test.go feat: 按公司隔离入出库单据流程 2026-10-09 12:21:53 +08:00
order_organization_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
organization_context_integration_test.go feat: 强制校验可信公司上下文 2026-10-09 09:56:21 +08:00
organization_context_test.go feat: 组织列表为每家公司补充仓库摘要 2026-10-09 10:43:35 +08:00
organization_context.go feat: 强制校验可信公司上下文 2026-10-09 09:56:21 +08:00
partner_categories_test.go feat: 强制校验可信公司上下文 2026-10-09 09:56:21 +08:00
routes_test.go feat: 物料导入与模板下载接口 2026-10-10 15:46:57 +08:00
session_mysql_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
stock_organization_test.go fix: 修正普通审批 scope、出库更新加锁顺序与预警物料归属校验 2026-10-09 11:19:39 +08:00
upload.go Initial commit 2026-09-15 16:08:18 +08:00
websocket_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
websocket.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00