bug fixed

This commit is contained in:
병준 박 2022-08-14 06:14:46 +00:00
parent 31b49c47bf
commit b63726267d
2 changed files with 330 additions and 302 deletions

View File

@ -1,12 +1,17 @@
const SUBJECT: &str = "bet.beteran.ss.member_bank_deposit";
pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit");
pub const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankDeposits");
pub const SUBJECT_GET_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankDeposit");
pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankDeposit");
pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankDepositForState");
pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit");
pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit");
pub const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: &str =
const_format::concatcp!(SUBJECT, ".ListMemberBankDeposits");
pub const SUBJECT_GET_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".GetMemberBankDeposit");
pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankDeposit");
pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankDepositForState");
pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit");
/// subject = bet.beteran.ss.member_bank_deposit.CreateMemberBankDeposit
#[derive(Clone, PartialEq, ::prost::Message)]
@ -21,10 +26,12 @@ pub mod create_member_bank_deposit_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub member_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="2")]
#[prost(uint32, tag = "3")]
pub amount: u32,
#[prost(string, optional, tag="3")]
#[prost(string, optional, tag = "4")]
pub memo: ::core::option::Option<::prost::alloc::string::String>,
}
}
@ -40,7 +47,8 @@ pub mod create_member_bank_deposit_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_bank_deposit: ::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
/// subject = bet.beteran.ss.member_bank_deposit.ListMemberBankDeposits
@ -91,7 +99,8 @@ pub mod list_member_bank_deposits_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
pub member_bank_deposits: ::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDeposit>,
pub member_bank_deposits:
::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
/// subject = bet.beteran.ss.member_bank_deposit.GetMemberBankDeposit
@ -122,7 +131,8 @@ pub mod get_member_bank_deposit_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_bank_deposit: ::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
/// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDeposit
@ -159,7 +169,8 @@ pub mod update_member_bank_deposit_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_bank_deposit: ::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
/// subject = bet.beteran.ss.member_bank_deposit.UpdateMemberBankDepositForState
@ -176,7 +187,10 @@ pub mod update_member_bank_deposit_for_state_request {
pub struct Request {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(enumeration="crate::models::member_bank_deposit::MemberBankDepositState", tag="2")]
#[prost(
enumeration = "crate::models::member_bank_deposit::MemberBankDepositState",
tag = "2"
)]
pub state: i32,
}
}
@ -192,7 +206,8 @@ pub mod update_member_bank_deposit_for_state_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_bank_deposit: ::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
pub member_bank_deposit:
::core::option::Option<crate::models::member_bank_deposit::MemberBankDeposit>,
}
}
/// subject = bet.beteran.ss.member_bank_deposit.DeleteMemberBankDeposit
@ -221,6 +236,5 @@ pub struct DeleteMemberBankDepositResponse {
/// Nested message and enum types in `DeleteMemberBankDepositResponse`.
pub mod delete_member_bank_deposit_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
}
pub struct Result {}
}

View File

@ -1,12 +1,17 @@
const SUBJECT: &str = "bet.beteran.ss.member_bank_withdraw";
pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw");
pub const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankWithdraws");
pub const SUBJECT_GET_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankWithdraw");
pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdraw");
pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdrawForState");
pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw");
pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw");
pub const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: &str =
const_format::concatcp!(SUBJECT, ".ListMemberBankWithdraws");
pub const SUBJECT_GET_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".GetMemberBankWithdraw");
pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdraw");
pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdrawForState");
pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw");
/// subject = bet.beteran.ss.member_bank_withdraw.CreateMemberBankWithdraw
#[derive(Clone, PartialEq, ::prost::Message)]
@ -21,16 +26,18 @@ pub mod create_member_bank_withdraw_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub bank_name: ::prost::alloc::string::String,
pub member_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
pub bank_name: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String,
#[prost(uint32, tag="4")]
#[prost(uint32, tag = "5")]
pub amount: u32,
#[prost(string, tag="5")]
#[prost(string, tag = "6")]
pub password: ::prost::alloc::string::String,
#[prost(string, optional, tag="6")]
#[prost(string, optional, tag = "7")]
pub memo: ::core::option::Option<::prost::alloc::string::String>,
}
}
@ -46,7 +53,8 @@ pub mod create_member_bank_withdraw_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_bank_withdraw: ::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
/// subject = bet.beteran.ss.member_bank_withdraw.ListMemberBankWithdraws
@ -101,7 +109,8 @@ pub mod list_member_bank_withdraws_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
pub member_bank_withdraws: ::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdraw>,
pub member_bank_withdraws:
::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
/// subject = bet.beteran.ss.member_bank_withdraw.GetMemberBankWithdraw
@ -132,7 +141,8 @@ pub mod get_member_bank_withdraw_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_bank_withdraw: ::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
/// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdraw
@ -175,7 +185,8 @@ pub mod update_member_bank_withdraw_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_bank_withdraw: ::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
/// subject = bet.beteran.ss.member_bank_withdraw.UpdateMemberBankWithdrawForState
@ -192,7 +203,10 @@ pub mod update_member_bank_withdraw_for_state_request {
pub struct Request {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(enumeration="crate::models::member_bank_withdraw::MemberBankWithdrawState", tag="2")]
#[prost(
enumeration = "crate::models::member_bank_withdraw::MemberBankWithdrawState",
tag = "2"
)]
pub state: i32,
}
}
@ -208,7 +222,8 @@ pub mod update_member_bank_withdraw_for_state_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_bank_withdraw: ::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
pub member_bank_withdraw:
::core::option::Option<crate::models::member_bank_withdraw::MemberBankWithdraw>,
}
}
/// subject = bet.beteran.ss.member_bank_withdraw.DeleteMemberBankWithdraw
@ -237,6 +252,5 @@ pub struct DeleteMemberBankWithdrawResponse {
/// Nested message and enum types in `DeleteMemberBankWithdrawResponse`.
pub mod delete_member_bank_withdraw_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
}
pub struct Result {}
}