jiangshuai
2023-12-11 4ad0736dff2831cdab247c8fb5d50048f616bc62
proto/product_inventory.proto
@@ -5,6 +5,7 @@
service productInventoryService {
  rpc CreateOperation(CreateOperationRequest) returns(CreateOperationResponse) {}
  rpc GetInventoryProductInfo(GetInventoryProductInfoRequest) returns (GetInventoryProductInfoResponse) {}
  rpc UpdateSalesDetailStatus(UpdateSalesDetailStatusRequest) returns (UpdateSalesDetailStatusResponse) {}
}
message CreateOperationRequest{
@@ -13,7 +14,8 @@
  string Address = 3;//收货地址
  string Phone = 4;
  int32 DeliverType = 5;//交付类型
  repeated InventoryProduct ProductList = 6;
  string Source = 6;
  repeated InventoryProduct ProductList = 7;
}
message InventoryProduct{
@@ -51,4 +53,16 @@
  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;
}