feat(erp): 新增报销单和申请单业务类型及查询功能
- 在常量定义中增加报销单和申请单业务类型 - 为报销单查询条件添加报销单ID列表过滤 - 为申请单查询条件添加申请单ID列表过滤 - 完善相关结构体字段定义以支持新功能
This commit is contained in:
@@ -12,6 +12,8 @@ const (
|
|||||||
BusinessTypeShipmentModifyAudit BusinessType = "shipmentModifyAudit" // 订舱单修改单审核
|
BusinessTypeShipmentModifyAudit BusinessType = "shipmentModifyAudit" // 订舱单修改单审核
|
||||||
BusinessTypeAccountingAudit BusinessType = "accountingAudit" // 做账合同审核
|
BusinessTypeAccountingAudit BusinessType = "accountingAudit" // 做账合同审核
|
||||||
BusinessTypeAccountingAuditV2 BusinessType = "accountingAuditV2" // 做账合同审核
|
BusinessTypeAccountingAuditV2 BusinessType = "accountingAuditV2" // 做账合同审核
|
||||||
|
BusinessTypeExpense BusinessType = "expense" // 报销单
|
||||||
|
BusinessTypeRequest BusinessType = "request" // 申请单
|
||||||
)
|
)
|
||||||
|
|
||||||
var BusinessTypeName = map[BusinessType]string{
|
var BusinessTypeName = map[BusinessType]string{
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ type ExpenseSearch struct {
|
|||||||
ExpenseSerial string // 报销单号
|
ExpenseSerial string // 报销单号
|
||||||
CreatedAtStart *time.Time // 创建开始时间
|
CreatedAtStart *time.Time // 创建开始时间
|
||||||
CreatedAtEnd *time.Time // 创建结束时间
|
CreatedAtEnd *time.Time // 创建结束时间
|
||||||
|
ExpenseIds []int64 // 报销单id
|
||||||
}
|
}
|
||||||
type ReplyExpenseList struct {
|
type ReplyExpenseList struct {
|
||||||
List []ExpenseItem `json:"list"`
|
List []ExpenseItem `json:"list"`
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ type RequestSearch struct {
|
|||||||
RequestSerial string // 报销单号
|
RequestSerial string // 报销单号
|
||||||
CreatedAtStart *time.Time // 创建开始时间
|
CreatedAtStart *time.Time // 创建开始时间
|
||||||
CreatedAtEnd *time.Time // 创建结束时间
|
CreatedAtEnd *time.Time // 创建结束时间
|
||||||
|
RequestIds []int64 // 申请单id
|
||||||
}
|
}
|
||||||
type ReplyRequestList struct {
|
type ReplyRequestList struct {
|
||||||
List []RequestItem `json:"list"`
|
List []RequestItem `json:"list"`
|
||||||
|
|||||||
Reference in New Issue
Block a user