refactor(shipment): 优化订舱单审核参数结构
- 移除 AuditStaffIds 字段 - 添加 AuditItems 字段用于审核项目 - 导入 bean 包以支持 AuditItem 类型 - 调整代码格式增加可读性
This commit is contained in:
@@ -2,15 +2,17 @@ package shipment
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"git.kumo.work/shama/service/client"
|
"git.kumo.work/shama/service/client"
|
||||||
|
"git.kumo.work/shama/service/erp/bean"
|
||||||
)
|
)
|
||||||
|
|
||||||
type audit struct {
|
type audit struct {
|
||||||
}
|
}
|
||||||
type ArgsAuditSubmit struct {
|
type ArgsAuditSubmit struct {
|
||||||
StaffId int64 // 操作人
|
StaffId int64 // 操作人
|
||||||
ShipmentId int64 // 订舱单id
|
ShipmentId int64 // 订舱单id
|
||||||
AuditStaffIds []int64 // 审核人
|
AuditItems []bean.AuditItem // 审核
|
||||||
}
|
}
|
||||||
|
|
||||||
// Submit @TITLE 提交审核
|
// Submit @TITLE 提交审核
|
||||||
|
|||||||
Reference in New Issue
Block a user