liujiandao
2024-03-11 318c49da20ec30c4f85ef35e479499e82a841b25
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,10 @@
  string Address = 3;//收货地址
  string Phone = 4;
  int32 DeliverType = 5;//交付类型
  repeated InventoryProduct ProductList = 6;
  string Source = 6;
  int64 ClientId = 7;
  string ClientName = 8;
  repeated InventoryProduct ProductList = 9;
}
message InventoryProduct{
@@ -33,7 +37,7 @@
}
message ProductInfo{
  string Id = 1;
  string Number = 1;
  string Name = 2;
  string OrderAmount = 3;//订单数量
  string Unit = 4;
@@ -51,4 +55,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;
}