| | |
| | | rpc GetSupplierListByProductId(GetSupplierListByProductIdRequest) returns (GetSupplierListByProductIdResponse) {} |
| | | rpc CreatePurchaseByWms(CreatePurchaseByWmsRequest) returns (CreatePurchaseByWmsResponse) {} |
| | | rpc GetPurchaseInfo(GetPurchaseInfoRequest) returns (GetPurchaseInfoResponse) {} |
| | | rpc ExistSupplier(ExistSupplierRequest) returns (ExistSupplierResponse) {} |
| | | } |
| | | |
| | | //------------------------------------------PurchaseToWms-------------------------------- |
| | |
| | | repeated PurchaseInfo Infos = 1; |
| | | } |
| | | |
| | | //--------------------------------------------------ExistSupplier--------------------------------------- |
| | | |
| | | message ExistSupplierRequest { |
| | | repeated string ProductId = 1; |
| | | } |
| | | |
| | | message ExistSupplierResponse { |
| | | bool Exist = 1; |
| | | } |
| | | |
| | | |
| | | |