|
@@ -132,7 +132,7 @@ func (p jyOtherProduct) SaveUpdate(ctx context.Context, masterKey string) error
|
|
|
"is_master": common.If(fmt.Sprintf("%s_%d", p.SimpleProduct.ProductCode, p.SimpleProduct.Amount) == masterKey, 1, 0),
|
|
|
}
|
|
|
//广告开始时间结束时间
|
|
|
- if p.ProductName == "广告" {
|
|
|
+ if p.ProductName == "广告" && p.SimpleProduct.Service_start_time != "" && p.SimpleProduct.Service_end_time != "" {
|
|
|
orderMap["service_starttime"] = p.SimpleProduct.Service_start_time
|
|
|
orderMap["service_endtime"] = p.SimpleProduct.Service_end_time
|
|
|
}
|