Compare commits

..

No commits in common. "fb085348dce4627f5583eabad24cabe0a1a563a1" and "426334fa3de46df487e85896dee1aea804d55345" have entirely different histories.

4 changed files with 5466 additions and 2488 deletions

View File

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

View File

@ -413,7 +413,6 @@ message AddInfo{
string orderNo = 1 [json_name = "orderNo"]; string orderNo = 1 [json_name = "orderNo"];
int32 num = 2 [json_name = "num"]; int32 num = 2 [json_name = "num"];
string valueAddUUID = 3 [json_name = "valueAddUUID"]; string valueAddUUID = 3 [json_name = "valueAddUUID"];
int32 equityType = 4 [json_name = "equityType"];
} }
message OrderAddRecord{ 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. // Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions: // versions:
// - protoc-gen-go-triple v1.0.5 // - protoc-gen-go-triple v1.0.8
// - protoc v6.32.0 // - protoc v3.21.1
// source: pb/bundle.proto // source: pb/bundle.proto
package bundle package bundle