feat(erp): 添加权限员工ID字段到搜索结构体
- 在ExpenseSearch结构体中添加PermissionStaffIds字段 - 在PayableSearch结构体中添加PermissionStaffIds字段 - 在ReceiptSearch结构体中添加PermissionStaffIds字段 - 在RequestSearch结构体中添加PermissionStaffIds字段 - 对所有新增字段进行代码格式化调整
This commit is contained in:
@@ -25,6 +25,7 @@ type ExpenseSearch struct {
|
|||||||
BanFlag int64 // 禁用标记 1=禁用 2=启用
|
BanFlag int64 // 禁用标记 1=禁用 2=启用
|
||||||
BankAccount string // 银行账号
|
BankAccount string // 银行账号
|
||||||
BankName string // 账号名称
|
BankName string // 账号名称
|
||||||
|
PermissionStaffIds []int64 // 权限员工id
|
||||||
}
|
}
|
||||||
type ReplyExpenseList struct {
|
type ReplyExpenseList struct {
|
||||||
List []ExpenseItem `json:"list"`
|
List []ExpenseItem `json:"list"`
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ type PayableSearch struct {
|
|||||||
CreatedAtStart *time.Time // 创建开始时间
|
CreatedAtStart *time.Time // 创建开始时间
|
||||||
CreatedAtEnd *time.Time // 创建结束时间
|
CreatedAtEnd *time.Time // 创建结束时间
|
||||||
IsConfirm int64 // 是否确认
|
IsConfirm int64 // 是否确认
|
||||||
|
PermissionStaffIds []int64 // 权限员工id
|
||||||
}
|
}
|
||||||
type ReplyPayableList struct {
|
type ReplyPayableList struct {
|
||||||
List []PayableItem `json:"list"`
|
List []PayableItem `json:"list"`
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ type ReceiptSearch struct {
|
|||||||
IsConfirm int64 // 确认状态 1=已确认 2=待确认
|
IsConfirm int64 // 确认状态 1=已确认 2=待确认
|
||||||
BankNameEq *string // 结汇银行完全匹配
|
BankNameEq *string // 结汇银行完全匹配
|
||||||
BankAccountEq *string // 结汇银行账号完全匹配
|
BankAccountEq *string // 结汇银行账号完全匹配
|
||||||
|
PermissionStaffIds []int64 // 权限员工id
|
||||||
}
|
}
|
||||||
type ReplyReceiptList struct {
|
type ReplyReceiptList struct {
|
||||||
List []ReceiptItem `json:"list"`
|
List []ReceiptItem `json:"list"`
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ type RequestSearch struct {
|
|||||||
BankAccountEq *string // 结汇银行账号完全匹配
|
BankAccountEq *string // 结汇银行账号完全匹配
|
||||||
FactoryId int64 // 工厂筛选
|
FactoryId int64 // 工厂筛选
|
||||||
FactoryName string // 工厂名称
|
FactoryName string // 工厂名称
|
||||||
|
PermissionStaffIds []int64 // 权限员工id
|
||||||
}
|
}
|
||||||
type ReplyRequestList struct {
|
type ReplyRequestList struct {
|
||||||
List []RequestItem `json:"list"`
|
List []RequestItem `json:"list"`
|
||||||
|
|||||||
Reference in New Issue
Block a user