订单详情添加类型

This commit is contained in:
JNG 2025-10-20 15:19:59 +08:00
parent cf427ec269
commit af4ad3339f
4 changed files with 2301 additions and 4771 deletions

View File

@ -4,8 +4,6 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/jinzhu/copier"
"gorm.io/gorm"
"micro-bundle/internal/model"
"micro-bundle/pb/bundle"
"micro-bundle/pkg/app"
@ -14,6 +12,9 @@ import (
"micro-bundle/pkg/utils"
"strconv"
"time"
"github.com/jinzhu/copier"
"gorm.io/gorm"
)
func CreateOrderRecord(orderRecord *model.BundleOrderRecords) (res *bundle.CommonResponse, err error) {
@ -311,6 +312,7 @@ func OrderRecordDetail(req *bundle.OrderRecordsDetailRequest) (res *bundle.Order
OrderNo: addBundle.OrderNo,
Num: addBundle.Num,
ValueAddUUID: addBundle.ValueAddUUID,
EquityType: addBundle.EquityType,
}
addInfos = append(addInfos, addInfo)
}

View File

@ -409,6 +409,7 @@ message AddInfo{
string orderNo = 1 [json_name = "orderNo"];
int32 num = 2 [json_name = "num"];
string valueAddUUID = 3 [json_name = "valueAddUUID"];
int32 equityType = 4 [json_name = "equityType"];
}
message OrderAddRecord{

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions:
// - protoc-gen-go-triple v1.0.5
// - protoc v5.26.0
// - protoc v6.32.0
// source: pb/bundle.proto
package bundle