Explorar o código

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

likai hai 1 ano
pai
achega
edb71ca5d7
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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 {
 		// 创建工单