diff --git a/erp/constant.go b/erp/constant.go index 96d0776..acac050 100644 --- a/erp/constant.go +++ b/erp/constant.go @@ -12,6 +12,8 @@ const ( BusinessTypeShipmentModifyAudit BusinessType = "shipmentModifyAudit" // 订舱单修改单审核 BusinessTypeAccountingAudit BusinessType = "accountingAudit" // 做账合同审核 BusinessTypeAccountingAuditV2 BusinessType = "accountingAuditV2" // 做账合同审核 + BusinessTypeExpense BusinessType = "expense" // 报销单 + BusinessTypeRequest BusinessType = "request" // 申请单 ) var BusinessTypeName = map[BusinessType]string{ diff --git a/erp/expense.go b/erp/expense.go index 9a428a6..9195645 100644 --- a/erp/expense.go +++ b/erp/expense.go @@ -21,6 +21,7 @@ type ExpenseSearch struct { ExpenseSerial string // 报销单号 CreatedAtStart *time.Time // 创建开始时间 CreatedAtEnd *time.Time // 创建结束时间 + ExpenseIds []int64 // 报销单id } type ReplyExpenseList struct { List []ExpenseItem `json:"list"` diff --git a/erp/request.go b/erp/request.go index 6b14892..dd38514 100644 --- a/erp/request.go +++ b/erp/request.go @@ -21,6 +21,7 @@ type RequestSearch struct { RequestSerial string // 报销单号 CreatedAtStart *time.Time // 创建开始时间 CreatedAtEnd *time.Time // 创建结束时间 + RequestIds []int64 // 申请单id } type ReplyRequestList struct { List []RequestItem `json:"list"`