就诊人列表-导出

This commit is contained in:
2023-11-15 13:21:04 +08:00
parent 7d78e7f39e
commit f972ee1f46
7 changed files with 306 additions and 12 deletions
+12 -1
View File
@@ -1,7 +1,8 @@
package requests
type PatientFamilyRequest struct {
GetPatientFamilyPage // 获取就诊人列表-分页
GetPatientFamilyPage // 获取就诊人列表-分页
PatientFamilyExportList // 获取就诊人列表-导出
}
// GetPatientFamilyPage 获取就诊人列表-分页
@@ -13,3 +14,13 @@ type GetPatientFamilyPage struct {
Mobile string `json:"mobile" form:"mobile" label:"手机号"`
CreatedAt string `json:"created_at" form:"created_at" label:"添加时间"` // 时间区间,数组形式,下标0为开始时间,下标1为结束时间
}
// PatientFamilyExportList 获取就诊人列表-导出
type PatientFamilyExportList struct {
Type int `json:"type" form:"type" label:"类型" validate:"required,oneof=1 2 3"` // 1:当前搜索数据 2:当前选择数据 3:全部数据
Id string `json:"id" form:"id" label:"id"` // 选择数据的id,逗号分隔,当type为2时必填
UserName string `json:"user_name" form:"user_name" label:"用户名称"`
Status *int `json:"status" form:"status" label:"状态"` // 0:禁用 1:正常 2:删除)
Mobile string `json:"mobile" form:"mobile" label:"手机号"`
CreatedAt string `json:"created_at" form:"created_at" label:"添加时间"` // 时间区间,数组形式,下标0为开始时间,下标1为结束时间
}