feat(erp): 添加禁用标记字段以支持状态过滤
- 在 expense.go 中添加 BanFlag 字段用于标识报销单状态 - 在 receipt.go 中添加 BanFlag 字段用于标识结汇单状态 - 在 request.go 中添加 BanFlag 字段用于标识申请单状态 - 所有新增字段均支持 1=禁用 2=启用 的状态定义
This commit is contained in:
@@ -22,6 +22,7 @@ type ExpenseSearch struct {
|
|||||||
CreatedAtStart *time.Time // 创建开始时间
|
CreatedAtStart *time.Time // 创建开始时间
|
||||||
CreatedAtEnd *time.Time // 创建结束时间
|
CreatedAtEnd *time.Time // 创建结束时间
|
||||||
ExpenseIds []int64 // 报销单id
|
ExpenseIds []int64 // 报销单id
|
||||||
|
BanFlag int64 // 禁用标记 1=禁用 2=启用
|
||||||
}
|
}
|
||||||
type ReplyExpenseList struct {
|
type ReplyExpenseList struct {
|
||||||
List []ExpenseItem `json:"list"`
|
List []ExpenseItem `json:"list"`
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ type ReceiptSearch struct {
|
|||||||
BankName string // 结汇银行
|
BankName string // 结汇银行
|
||||||
ReceiptDateStart *time.Time // 创建开始时间
|
ReceiptDateStart *time.Time // 创建开始时间
|
||||||
ReceiptDateEnd *time.Time // 创建结束时间
|
ReceiptDateEnd *time.Time // 创建结束时间
|
||||||
|
BanFlag int64 // 禁用标记 1=禁用 2=启用
|
||||||
}
|
}
|
||||||
type ReplyReceiptList struct {
|
type ReplyReceiptList struct {
|
||||||
List []ReceiptItem `json:"list"`
|
List []ReceiptItem `json:"list"`
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ type RequestSearch struct {
|
|||||||
CreatedAtStart *time.Time // 创建开始时间
|
CreatedAtStart *time.Time // 创建开始时间
|
||||||
CreatedAtEnd *time.Time // 创建结束时间
|
CreatedAtEnd *time.Time // 创建结束时间
|
||||||
RequestIds []int64 // 申请单id
|
RequestIds []int64 // 申请单id
|
||||||
|
BanFlag int64 // 禁用标记 1=禁用 2=启用
|
||||||
}
|
}
|
||||||
type ReplyRequestList struct {
|
type ReplyRequestList struct {
|
||||||
List []RequestItem `json:"list"`
|
List []RequestItem `json:"list"`
|
||||||
|
|||||||
Reference in New Issue
Block a user