修改
This commit is contained in:
parent
145486aec2
commit
2edf4b82ae
@ -507,6 +507,10 @@ func OrderRecordsListV2(req *bundle.OrderRecordsRequestV2) (res *bundle.OrderRec
|
||||
amount := float32(sub.Amount)
|
||||
if existing, ok := addMap[orderAddNo]; ok {
|
||||
existing.Amount += amount
|
||||
// 仅当 VideoNum 尚未设置且当前是 ServiceType == 1 时赋值
|
||||
if existing.VideoNum == 0 && sub.ServiceType == 1 {
|
||||
existing.VideoNum = sub.Num
|
||||
}
|
||||
} else {
|
||||
var videoNum int32
|
||||
if sub.ServiceType == 1 {
|
||||
|
Loading…
Reference in New Issue
Block a user