Kaynağa Gözat

fix(支持工单): 自测bug处理

likai 1 yıl önce
ebeveyn
işleme
edb71ca5d7
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      opms_parent/app/service/work/work_order.go

+ 5 - 0
opms_parent/app/service/work/work_order.go

@@ -511,6 +511,11 @@ func (s *OrderService) CreateWorkOrderByTrainSaleApply(ctx context.Context, req
 		Name:  "渠道关注要点",
 		Value: apply.FocusPoint,
 	})
+	content, err := json.Marshal(items)
+	if err != nil {
+		return err
+	}
+	data.FormData = string(content)
 
 	err = s.Dao.Transaction(context.TODO(), func(ctx context.Context, tx *gdb.TX) error {
 		// 创建工单