Browse Source

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

likai 1 year ago
parent
commit
edb71ca5d7
1 changed files with 5 additions and 0 deletions
  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 {
 		// 创建工单