|
@@ -235,7 +235,6 @@ INNER JOIN jy_product_class jpc on jpi.product_class_id = jpc.id WHERE jpi.code
|
|
|
|
|
|
if linkedDetailId := gconv.Int(m["linked_detail_id"]); linkedDetailId > 0 {
|
|
if linkedDetailId := gconv.Int(m["linked_detail_id"]); linkedDetailId > 0 {
|
|
var orderArr []map[string]interface{}
|
|
var orderArr []map[string]interface{}
|
|
-
|
|
|
|
//关联订单
|
|
//关联订单
|
|
if gconv.String(m["product_type"]) != "大会员" && gconv.String(m["product_type"]) != "VIP订阅" {
|
|
if gconv.String(m["product_type"]) != "大会员" && gconv.String(m["product_type"]) != "VIP订阅" {
|
|
var whereSql string
|
|
var whereSql string
|
|
@@ -331,7 +330,7 @@ WHERE eo.wait_empower_id = %s and jod.is_service_open =1 and jod.status =1 and d
|
|
"name": gconv.String(m["product_type"]), //产品名称
|
|
"name": gconv.String(m["product_type"]), //产品名称
|
|
"serviceEndTime": endTime, //服务结束时间
|
|
"serviceEndTime": endTime, //服务结束时间
|
|
"serviceStartTime": startTime, //服务开始时间
|
|
"serviceStartTime": startTime, //服务开始时间
|
|
- "product_code": gconv.String(linkedDetail.Map()["product_code"]),
|
|
|
|
|
|
+ "productCode": gconv.String(linkedDetail.Map()["product_code"]),
|
|
"empowerCount": paySubNum, //服务授权数
|
|
"empowerCount": paySubNum, //服务授权数
|
|
"provinceCount": areaCount, //订阅省份
|
|
"provinceCount": areaCount, //订阅省份
|
|
"buySubject": buySubject, //个体
|
|
"buySubject": buySubject, //个体
|