feat(erp): 添加权限员工ID字段到搜索结构体

- 在ExpenseSearch结构体中添加PermissionStaffIds字段
- 在PayableSearch结构体中添加PermissionStaffIds字段
- 在ReceiptSearch结构体中添加PermissionStaffIds字段
- 在RequestSearch结构体中添加PermissionStaffIds字段
- 对所有新增字段进行代码格式化调整
This commit is contained in:
2026-02-24 11:49:59 +08:00
parent 1ba4e7f031
commit ed0525a2a6
4 changed files with 59 additions and 55 deletions

View File

@@ -18,29 +18,30 @@ type ArgsRequestList struct {
Search RequestSearch
}
type RequestSearch struct {
RequestSerial string // 报销单号
InvoiceSerial string // 发票号
CreatedAtStart *time.Time // 创建开始时间
CreatedAtEnd *time.Time // 创建结束时间
PayAtStart *time.Time // 付款开始时间
PayAtEnd *time.Time // 付款结束时间
AuditAtStart *time.Time // 审核开始时间
AuditAtEnd *time.Time // 审核结束时间
RequestIds []int64 // 申请单id
BanFlag int64 // 禁用标记 1=禁用 2=启用
BankAccount string // 银行账号
BankName string // 账号名称
AccountingSerial string // 做账合同号
WorkflowStatus int64 // 审核状态
PaidAmountStart *decimal.Decimal // 实付金额开始
PaidAmountEnd *decimal.Decimal // 实付金额结束
CreatedStaffIds []int64 // 创建人
Currency string // 币种
Ik3cloudStatus int64 // ik3cloud状态
BankNameEq *string // 结汇银行完全匹配
BankAccountEq *string // 结汇银行账号完全匹配
FactoryId int64 // 工厂筛选
FactoryName string // 工厂名称
RequestSerial string // 报销单号
InvoiceSerial string // 发票号
CreatedAtStart *time.Time // 创建开始时间
CreatedAtEnd *time.Time // 创建结束时间
PayAtStart *time.Time // 付款开始时间
PayAtEnd *time.Time // 付款结束时间
AuditAtStart *time.Time // 审核开始时间
AuditAtEnd *time.Time // 审核结束时间
RequestIds []int64 // 申请单id
BanFlag int64 // 禁用标记 1=禁用 2=启用
BankAccount string // 银行账号
BankName string // 账号名称
AccountingSerial string // 做账合同号
WorkflowStatus int64 // 审核状态
PaidAmountStart *decimal.Decimal // 实付金额开始
PaidAmountEnd *decimal.Decimal // 实付金额结束
CreatedStaffIds []int64 // 创建人
Currency string // 币种
Ik3cloudStatus int64 // ik3cloud状态
BankNameEq *string // 结汇银行完全匹配
BankAccountEq *string // 结汇银行账号完全匹配
FactoryId int64 // 工厂筛选
FactoryName string // 工厂名称
PermissionStaffIds []int64 // 权限员工id
}
type ReplyRequestList struct {
List []RequestItem `json:"list"`