| | |
| | | service productInventoryService { |
| | | rpc CreateOperation(CreateOperationRequest) returns(CreateOperationResponse) {} |
| | | rpc GetInventoryProductInfo(GetInventoryProductInfoRequest) returns (GetInventoryProductInfoResponse) {} |
| | | rpc UpdateSalesDetailStatus(UpdateSalesDetailStatusRequest) returns (UpdateSalesDetailStatusResponse) {} |
| | | } |
| | | |
| | | message CreateOperationRequest{ |
| | |
| | | int32 Code = 1; |
| | | string Msg = 2; |
| | | repeated ProductInfo ProductList = 3; |
| | | } |
| | | |
| | | //------------------------------------------------------------ |
| | | |
| | | message UpdateSalesDetailStatusRequest { |
| | | string Number = 1;//明细单编码 |
| | | string SalesDetailStatus = 2; |
| | | } |
| | | |
| | | message UpdateSalesDetailStatusResponse{ |
| | | int32 Code = 1; |
| | | string Msg = 2; |
| | | } |