From ee1d24f721f206c3f3186cad584a168120a7d9fa Mon Sep 17 00:00:00 2001 From: kanade Date: Thu, 13 Aug 2026 15:51:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(expense):=20=E6=B7=BB=E5=8A=A0=E5=87=BA?= =?UTF-8?q?=E5=B7=AE=E8=BD=A6=E8=BE=86=E5=AD=97=E6=AE=B5=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在Expense结构体中新增TravelVehicle字段用于记录出差车辆信息 - 为TravelVehicle字段添加JSON序列化标签映射到travelVehicle - 扩展出差相关数据模型以支持更完整的差旅费用管理需求 --- erp/expense.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erp/expense.go b/erp/expense.go index 8653239..a01c197 100644 --- a/erp/expense.go +++ b/erp/expense.go @@ -102,6 +102,7 @@ type ExpenseAdd struct { TravelLocation string // 地点 TravelReason string // 出差事由 TravelInfo string // 差旅费明细 + TravelVehicle string // 出差车辆 } // Add @TITLE 添加 @@ -132,6 +133,7 @@ type ReplyExpenseInfo struct { TravelLocation string `json:"travelLocation"` TravelReason string `json:"travelReason"` TravelInfo string `json:"travelInfo"` + TravelVehicle string `json:"travelVehicle"` WorkflowId int64 `json:"workflowId"` WorkflowStatus int64 `json:"workflowStatus"` WorkflowReason string `json:"workflowReason"`