修改用户数据查询接口参数
All checks were successful
build / build-rust (push) Successful in 1m52s

This commit is contained in:
soul-walker 2024-09-24 09:30:55 +08:00
parent 255301509a
commit 2d6d74d41e

View File

@ -235,6 +235,7 @@ impl<T: DataOptions> From<CreateDraftDataDto<T>> for rtss_db::CreateDraftData {
#[derive(Debug, InputObject)] #[derive(Debug, InputObject)]
#[graphql(concrete(name = "UserDraftIscsDataFilterDto", params(IscsDataOptions)))] #[graphql(concrete(name = "UserDraftIscsDataFilterDto", params(IscsDataOptions)))]
pub struct UserDraftDataFilterDto<T: DataOptions> { pub struct UserDraftDataFilterDto<T: DataOptions> {
#[graphql(skip)]
pub user_id: i32, pub user_id: i32,
pub name: Option<String>, pub name: Option<String>,
/// 数据类型,在某个具体类型查询时不传,传了也不生效 /// 数据类型,在某个具体类型查询时不传,传了也不生效