Эх сурвалжийг харах

feature:oms400咨询bug修复

Sun Xinyuan 1 жил өмнө
parent
commit
c0920f3b54

+ 3 - 2
opms_parent/app/model/cust/product_consult_record.go

@@ -52,10 +52,11 @@ type ProductConsultRecordUpdateReq struct {
 	InchargeId   int         `json:"inchargeId"`   // 对接人ID
 	InchargeName string      `json:"inchargeName"` // 对接人(销售工程师)
 	Content      string      `json:"content"`      // 内容
+	//FollowCommunicateCase string      `json:"followCommunicateCase"` // 10、信息有效,可继续跟进,转C类订单;20、信息有效,可转为储备用户;30、信息无效,不再跟进。40 信息有效,可转为经销商
+	//DistributorId         int         `json:"distributorId"`         // 经销商ID
+	//DistributorName       string      `json:"distributorName"`       // 经销商
 	//Progress        string      `json:"progress"`        // 进展
 	//NextPlan        string      `json:"nextPlan"`        // 下一步计划
-	//DistributorId   int         `json:"distributorId"`   // 经销商ID
-	//DistributorName string      `json:"distributorName"` // 经销商
 	//CustId          int         `json:"custId"`          // 关联客户
 	//CustName        string      `json:"custName"`        // 客户名称
 	//NboId           int         `json:"nboId"`           // 关联项目

+ 3 - 1
opms_parent/app/service/cust/product_consult_record.go

@@ -179,7 +179,9 @@ func (s ProductConsultRecordService) Update(ctx context.Context, req *model.Prod
 	toupdate["product"] = req.Product
 	toupdate["incharge_id"] = req.InchargeId
 	toupdate["incharge_name"] = req.InchargeName
-	//toupdate["content"] = req.Content
+	toupdate["content"] = req.Content
+	//toupdate["follow_communicate_case"] = req.FollowCommunicateCase
+
 	//toupdate["progress"] = req.Progress
 	//toupdate["next_plan"] = req.NextPlan
 	//toupdate["distributor_id"] = req.DistributorId