diff --git a/erp/expense.go b/erp/expense.go index bbcabb2..a18e55b 100644 --- a/erp/expense.go +++ b/erp/expense.go @@ -18,13 +18,14 @@ type ArgsExpenseList struct { Search ExpenseSearch } type ExpenseSearch struct { - ExpenseSerial string // 报销单号 - CreatedAtStart *time.Time // 创建开始时间 - CreatedAtEnd *time.Time // 创建结束时间 - ExpenseIds []int64 // 报销单id - BanFlag int64 // 禁用标记 1=禁用 2=启用 - BankAccount string // 银行账号 - BankName string // 账号名称 + ExpenseSerial string // 报销单号 + CreatedAtStart *time.Time // 创建开始时间 + CreatedAtEnd *time.Time // 创建结束时间 + ExpenseIds []int64 // 报销单id + BanFlag int64 // 禁用标记 1=禁用 2=启用 + BankAccount string // 银行账号 + BankName string // 账号名称 + PermissionStaffIds []int64 // 权限员工id } type ReplyExpenseList struct { List []ExpenseItem `json:"list"` diff --git a/erp/payable.go b/erp/payable.go index 8828cff..b25a04e 100644 --- a/erp/payable.go +++ b/erp/payable.go @@ -16,12 +16,13 @@ type ArgsPayableList struct { Search PayableSearch } type PayableSearch struct { - PayableSerial string // 付款单据号 - FactoryId int64 // 工厂id - AccountingSerial string // 做账单号 - CreatedAtStart *time.Time // 创建开始时间 - CreatedAtEnd *time.Time // 创建结束时间 - IsConfirm int64 // 是否确认 + PayableSerial string // 付款单据号 + FactoryId int64 // 工厂id + AccountingSerial string // 做账单号 + CreatedAtStart *time.Time // 创建开始时间 + CreatedAtEnd *time.Time // 创建结束时间 + IsConfirm int64 // 是否确认 + PermissionStaffIds []int64 // 权限员工id } type ReplyPayableList struct { List []PayableItem `json:"list"` diff --git a/erp/receipt.go b/erp/receipt.go index ea2e2d8..4fe2fd7 100644 --- a/erp/receipt.go +++ b/erp/receipt.go @@ -18,25 +18,26 @@ type ArgsReceiptList struct { Search ReceiptSearch } type ReceiptSearch struct { - ReceiptSerial string // 收汇单号 - CustomId int64 // 客户筛选 - CustomName string // 客户筛选 - PayCustomId int64 // 付款客户 - PayCustomName string // 付款客户名称 - BankName string // 结汇银行 - ReceiptDateStart *time.Time // 创建开始时间 - ReceiptDateEnd *time.Time // 创建结束时间 - BanFlag int64 // 禁用标记 1=禁用 2=启用 - ClaimStatus int64 // 认领状态 1=待认领 2=部分认领 3=已认领 - InvoiceSerialEq string // 发票号 - PayCompany string // 付款公司 - BankAccount string // 结汇银行账号 - EntryAmountStart *decimal.Decimal // 入账金额开始 - EntryAmountEnd *decimal.Decimal // 入账金额结束 - Ik3cloudStatus int64 // 金蝶同步状态 1=待同步 2=同步成功 3=同步失败 - IsConfirm int64 // 确认状态 1=已确认 2=待确认 - BankNameEq *string // 结汇银行完全匹配 - BankAccountEq *string // 结汇银行账号完全匹配 + ReceiptSerial string // 收汇单号 + CustomId int64 // 客户筛选 + CustomName string // 客户筛选 + PayCustomId int64 // 付款客户 + PayCustomName string // 付款客户名称 + BankName string // 结汇银行 + ReceiptDateStart *time.Time // 创建开始时间 + ReceiptDateEnd *time.Time // 创建结束时间 + BanFlag int64 // 禁用标记 1=禁用 2=启用 + ClaimStatus int64 // 认领状态 1=待认领 2=部分认领 3=已认领 + InvoiceSerialEq string // 发票号 + PayCompany string // 付款公司 + BankAccount string // 结汇银行账号 + EntryAmountStart *decimal.Decimal // 入账金额开始 + EntryAmountEnd *decimal.Decimal // 入账金额结束 + Ik3cloudStatus int64 // 金蝶同步状态 1=待同步 2=同步成功 3=同步失败 + IsConfirm int64 // 确认状态 1=已确认 2=待确认 + BankNameEq *string // 结汇银行完全匹配 + BankAccountEq *string // 结汇银行账号完全匹配 + PermissionStaffIds []int64 // 权限员工id } type ReplyReceiptList struct { List []ReceiptItem `json:"list"` diff --git a/erp/request.go b/erp/request.go index bd14aa6..bbbfcfd 100644 --- a/erp/request.go +++ b/erp/request.go @@ -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"`