|
@@ -74,7 +74,7 @@ func (s *SaleApplySummaryService) CreateSupport(ctx context.Context, req *model.
|
|
|
} else {
|
|
} else {
|
|
|
_, e = s.Dao.Ctx(ctx).TX(tx).FieldsEx(s.Dao.C.Id, s.Dao.C.CreatedName, s.Dao.C.CreatedBy, s.Dao.C.CreatedTime).
|
|
_, e = s.Dao.Ctx(ctx).TX(tx).FieldsEx(s.Dao.C.Id, s.Dao.C.CreatedName, s.Dao.C.CreatedBy, s.Dao.C.CreatedTime).
|
|
|
Where(s.Dao.C.ApplyId, req.ApplyId).
|
|
Where(s.Dao.C.ApplyId, req.ApplyId).
|
|
|
- Data(g.Map{s.Dao.C.ApplyId: req.ApplyId, s.Dao.C.WorkOrderId: req.WorkOrderId, s.Dao.C.FeedbackSupportTime: req.FeedbackSupportTime, s.Dao.C.FeedbackSupportContent: req.FeedbackSupportContent}).Update()
|
|
|
|
|
|
|
+ Data(g.Map{s.Dao.C.ApplyId: req.ApplyId, s.Dao.C.WorkOrderId: req.WorkOrderId, s.Dao.C.ExplainDuration: req.ExplainDuration, s.Dao.C.FeedbackSupportContent: req.FeedbackSupportContent}).Update()
|
|
|
if e != nil {
|
|
if e != nil {
|
|
|
return e
|
|
return e
|
|
|
}
|
|
}
|
|
@@ -116,7 +116,7 @@ func (s *SaleApplySummaryService) Create(ctx context.Context, req *model.TraSale
|
|
|
} else {
|
|
} else {
|
|
|
_, e = s.Dao.Ctx(ctx).TX(tx).FieldsEx(s.Dao.C.Id, s.Dao.C.CreatedName, s.Dao.C.CreatedBy, s.Dao.C.CreatedTime).
|
|
_, e = s.Dao.Ctx(ctx).TX(tx).FieldsEx(s.Dao.C.Id, s.Dao.C.CreatedName, s.Dao.C.CreatedBy, s.Dao.C.CreatedTime).
|
|
|
Where(s.Dao.C.ApplyId, req.ApplyId).
|
|
Where(s.Dao.C.ApplyId, req.ApplyId).
|
|
|
- Data(g.Map{s.Dao.C.ApplyId: req.ApplyId, s.Dao.C.ExplainDuration: req.ExplainDuration, s.Dao.C.QuestionRecord: req.QuestionRecord, s.Dao.C.TrainSummary: req.TrainSummary, s.Dao.C.NextStep: req.NextStep}).Update()
|
|
|
|
|
|
|
+ Data(g.Map{s.Dao.C.ApplyId: req.ApplyId, s.Dao.C.QuestionRecord: req.QuestionRecord, s.Dao.C.TrainSummary: req.TrainSummary, s.Dao.C.NextStep: req.NextStep}).Update()
|
|
|
if e != nil {
|
|
if e != nil {
|
|
|
return e
|
|
return e
|
|
|
}
|
|
}
|