|
|
@@ -60,6 +60,15 @@ query accountbyid($id: ID) {
|
|
|
query classbyid($id: ID) {
|
|
|
classbyid: class_by_id(id: $id) {
|
|
|
id
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
account_id {
|
|
|
id
|
|
|
|
|
|
@@ -73,9 +82,18 @@ query classbyid($id: ID) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-query tagbyprops($account_id: ID, $name: String, $icon: String, $createdAt: String, $updateAt: String) {
|
|
|
- tagbyprops: tag_by_props(account_id: $account_id name: $name icon: $icon createdAt: $createdAt updateAt: $updateAt) {
|
|
|
+query tagbyprops($user_id: ID, $account_id: ID, $name: String, $icon: String, $createdAt: String, $updateAt: String) {
|
|
|
+ tagbyprops: tag_by_props(user_id: $user_id account_id: $account_id name: $name icon: $icon createdAt: $createdAt updateAt: $updateAt) {
|
|
|
id
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
account_id {
|
|
|
id
|
|
|
|
|
|
@@ -106,9 +124,19 @@ query billbyid($id: ID) {
|
|
|
createdAt
|
|
|
id
|
|
|
class
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
tag_id {
|
|
|
id
|
|
|
|
|
|
+
|
|
|
name
|
|
|
icon
|
|
|
createdAt
|
|
|
@@ -117,9 +145,18 @@ query billbyid($id: ID) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-query classbyprops($account_id: ID, $name: String, $createdAt: String, $updateAt: String) {
|
|
|
- classbyprops: class_by_props(account_id: $account_id name: $name createdAt: $createdAt updateAt: $updateAt) {
|
|
|
+query classbyprops($user_id: ID, $account_id: ID, $name: String, $createdAt: String, $updateAt: String) {
|
|
|
+ classbyprops: class_by_props(user_id: $user_id account_id: $account_id name: $name createdAt: $createdAt updateAt: $updateAt) {
|
|
|
id
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
account_id {
|
|
|
id
|
|
|
|
|
|
@@ -154,6 +191,15 @@ query accountbyprops($user_id: ID, $accountName: String, $createdAt: String, $up
|
|
|
query tagbyid($id: ID) {
|
|
|
tagbyid: tag_by_id(id: $id) {
|
|
|
id
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
account_id {
|
|
|
id
|
|
|
|
|
|
@@ -197,8 +243,8 @@ query collectbyprops($updateAt: String, $remark: String, $account_id: ID, $month
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-query billbyprops($account_id: ID, $tag_id: ID, $time: String, $money: Float, $class: String, $remark: String, $createdAt: String, $updateAt: String) {
|
|
|
- billbyprops: bill_by_props(account_id: $account_id tag_id: $tag_id time: $time money: $money class: $class remark: $remark createdAt: $createdAt updateAt: $updateAt) {
|
|
|
+query billbyprops($money: Float, $updateAt: String, $remark: String, $account_id: ID, $time: String, $createdAt: String, $class: String, $user_id: ID, $tag_id: ID) {
|
|
|
+ billbyprops: bill_by_props(money: $money updateAt: $updateAt remark: $remark account_id: $account_id time: $time createdAt: $createdAt class: $class user_id: $user_id tag_id: $tag_id) {
|
|
|
money
|
|
|
updateAt
|
|
|
remark
|
|
|
@@ -213,9 +259,19 @@ query billbyprops($account_id: ID, $tag_id: ID, $time: String, $money: Float, $c
|
|
|
createdAt
|
|
|
id
|
|
|
class
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
tag_id {
|
|
|
id
|
|
|
|
|
|
+
|
|
|
name
|
|
|
icon
|
|
|
createdAt
|
|
|
@@ -252,8 +308,8 @@ mutation deleteaccount($id: ID, $user_id: ID, $accountName: String, $createdAt:
|
|
|
deleteaccount: delete_account(id: $id user_id: $user_id accountName: $accountName createdAt: $createdAt updateAt: $updateAt)
|
|
|
}
|
|
|
|
|
|
-mutation updatebill($money: Float, $updateAt: String, $remark: String, $account_id: ID, $time: String, $createdAt: String, $id: ID, $class: String, $tag_id: ID) {
|
|
|
- updatebill: update_bill(money: $money updateAt: $updateAt remark: $remark account_id: $account_id time: $time createdAt: $createdAt id: $id class: $class tag_id: $tag_id) {
|
|
|
+mutation updatebill($money: Float, $updateAt: String, $remark: String, $account_id: ID, $time: String, $createdAt: String, $id: ID, $class: String, $user_id: ID, $tag_id: ID) {
|
|
|
+ updatebill: update_bill(money: $money updateAt: $updateAt remark: $remark account_id: $account_id time: $time createdAt: $createdAt id: $id class: $class user_id: $user_id tag_id: $tag_id) {
|
|
|
money
|
|
|
updateAt
|
|
|
remark
|
|
|
@@ -268,9 +324,19 @@ mutation updatebill($money: Float, $updateAt: String, $remark: String, $account_
|
|
|
createdAt
|
|
|
id
|
|
|
class
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
tag_id {
|
|
|
id
|
|
|
|
|
|
+
|
|
|
name
|
|
|
icon
|
|
|
createdAt
|
|
|
@@ -295,13 +361,22 @@ mutation updateuser($id: ID, $openid: String, $username: String, $password: Stri
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-mutation deleteclass($id: ID, $account_id: ID, $name: String, $createdAt: String, $updateAt: String) {
|
|
|
- deleteclass: delete_class(id: $id account_id: $account_id name: $name createdAt: $createdAt updateAt: $updateAt)
|
|
|
+mutation deleteclass($id: ID, $user_id: ID, $account_id: ID, $name: String, $createdAt: String, $updateAt: String) {
|
|
|
+ deleteclass: delete_class(id: $id user_id: $user_id account_id: $account_id name: $name createdAt: $createdAt updateAt: $updateAt)
|
|
|
}
|
|
|
|
|
|
-mutation updateclass($id: ID, $account_id: ID, $name: String, $createdAt: String, $updateAt: String) {
|
|
|
- updateclass: update_class(id: $id account_id: $account_id name: $name createdAt: $createdAt updateAt: $updateAt) {
|
|
|
+mutation updateclass($id: ID, $user_id: ID, $account_id: ID, $name: String, $createdAt: String, $updateAt: String) {
|
|
|
+ updateclass: update_class(id: $id user_id: $user_id account_id: $account_id name: $name createdAt: $createdAt updateAt: $updateAt) {
|
|
|
id
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
account_id {
|
|
|
id
|
|
|
|
|
|
@@ -315,9 +390,18 @@ mutation updateclass($id: ID, $account_id: ID, $name: String, $createdAt: String
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-mutation updatetag($id: ID, $account_id: ID, $name: String, $icon: String, $createdAt: String, $updateAt: String) {
|
|
|
- updatetag: update_tag(id: $id account_id: $account_id name: $name icon: $icon createdAt: $createdAt updateAt: $updateAt) {
|
|
|
+mutation updatetag($id: ID, $user_id: ID, $account_id: ID, $name: String, $icon: String, $createdAt: String, $updateAt: String) {
|
|
|
+ updatetag: update_tag(id: $id user_id: $user_id account_id: $account_id name: $name icon: $icon createdAt: $createdAt updateAt: $updateAt) {
|
|
|
id
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
account_id {
|
|
|
id
|
|
|
|
|
|
@@ -361,9 +445,18 @@ mutation createcollect($updateAt: String, $remark: String, $account_id: ID, $mon
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-mutation createtag($id: ID!, $account_id: ID, $name: String, $icon: String, $createdAt: String, $updateAt: String) {
|
|
|
- createtag: create_tag(id: $id account_id: $account_id name: $name icon: $icon createdAt: $createdAt updateAt: $updateAt) {
|
|
|
+mutation createtag($id: ID!, $user_id: ID, $account_id: ID, $name: String, $icon: String, $createdAt: String, $updateAt: String) {
|
|
|
+ createtag: create_tag(id: $id user_id: $user_id account_id: $account_id name: $name icon: $icon createdAt: $createdAt updateAt: $updateAt) {
|
|
|
id
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
account_id {
|
|
|
id
|
|
|
|
|
|
@@ -418,12 +511,12 @@ mutation createaccount($id: ID!, $user_id: ID, $accountName: String, $createdAt:
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-mutation deletebill($money: Float, $updateAt: String, $remark: String, $account_id: ID, $time: String, $createdAt: String, $id: ID, $class: String, $tag_id: ID) {
|
|
|
- deletebill: delete_bill(money: $money updateAt: $updateAt remark: $remark account_id: $account_id time: $time createdAt: $createdAt id: $id class: $class tag_id: $tag_id)
|
|
|
+mutation deletebill($money: Float, $updateAt: String, $remark: String, $account_id: ID, $time: String, $createdAt: String, $id: ID, $class: String, $user_id: ID, $tag_id: ID) {
|
|
|
+ deletebill: delete_bill(money: $money updateAt: $updateAt remark: $remark account_id: $account_id time: $time createdAt: $createdAt id: $id class: $class user_id: $user_id tag_id: $tag_id)
|
|
|
}
|
|
|
|
|
|
-mutation deletetag($id: ID, $account_id: ID, $name: String, $icon: String, $createdAt: String, $updateAt: String) {
|
|
|
- deletetag: delete_tag(id: $id account_id: $account_id name: $name icon: $icon createdAt: $createdAt updateAt: $updateAt)
|
|
|
+mutation deletetag($id: ID, $user_id: ID, $account_id: ID, $name: String, $icon: String, $createdAt: String, $updateAt: String) {
|
|
|
+ deletetag: delete_tag(id: $id user_id: $user_id account_id: $account_id name: $name icon: $icon createdAt: $createdAt updateAt: $updateAt)
|
|
|
}
|
|
|
|
|
|
mutation updatecollect($updateAt: String, $remark: String, $account_id: ID, $month: String, $createdAt: String, $allIncome: Float, $allPay: Float, $year: String, $id: ID, $user_id: ID) {
|
|
|
@@ -455,9 +548,18 @@ mutation updatecollect($updateAt: String, $remark: String, $account_id: ID, $mon
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-mutation createclass($id: ID!, $account_id: ID, $name: String, $createdAt: String, $updateAt: String) {
|
|
|
- createclass: create_class(id: $id account_id: $account_id name: $name createdAt: $createdAt updateAt: $updateAt) {
|
|
|
+mutation createclass($id: ID!, $user_id: ID, $account_id: ID, $name: String, $createdAt: String, $updateAt: String) {
|
|
|
+ createclass: create_class(id: $id user_id: $user_id account_id: $account_id name: $name createdAt: $createdAt updateAt: $updateAt) {
|
|
|
id
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
account_id {
|
|
|
id
|
|
|
|
|
|
@@ -471,8 +573,8 @@ mutation createclass($id: ID!, $account_id: ID, $name: String, $createdAt: Strin
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-mutation createbill($money: Float, $updateAt: String, $remark: String, $account_id: ID, $time: String, $createdAt: String, $id: ID!, $class: String, $tag_id: ID) {
|
|
|
- createbill: create_bill(money: $money updateAt: $updateAt remark: $remark account_id: $account_id time: $time createdAt: $createdAt id: $id class: $class tag_id: $tag_id) {
|
|
|
+mutation createbill($money: Float, $updateAt: String, $remark: String, $account_id: ID, $time: String, $createdAt: String, $id: ID!, $class: String, $user_id: ID, $tag_id: ID) {
|
|
|
+ createbill: create_bill(money: $money updateAt: $updateAt remark: $remark account_id: $account_id time: $time createdAt: $createdAt id: $id class: $class user_id: $user_id tag_id: $tag_id) {
|
|
|
money
|
|
|
updateAt
|
|
|
remark
|
|
|
@@ -487,9 +589,19 @@ mutation createbill($money: Float, $updateAt: String, $remark: String, $account_
|
|
|
createdAt
|
|
|
id
|
|
|
class
|
|
|
+ user_id {
|
|
|
+ id
|
|
|
+ openid
|
|
|
+ username
|
|
|
+ password
|
|
|
+ avatar
|
|
|
+ createdAt
|
|
|
+ updateAt
|
|
|
+ }
|
|
|
tag_id {
|
|
|
id
|
|
|
|
|
|
+
|
|
|
name
|
|
|
icon
|
|
|
createdAt
|