Browse Source

Merge branch 'hotfix/bug6548_matters_edit' into debug

xyxie 6 days ago
parent
commit
7676debc24
1 changed files with 1 additions and 0 deletions
  1. 1 0
      services/roadshow/calendar.go

+ 1 - 0
services/roadshow/calendar.go

@@ -568,6 +568,7 @@ func UpdateSHCalendarByMatter(req roadshow.UpdateMattersReq) (err error) {
 	if err != nil {
 	if err != nil {
 		err = errors.New("GetRelationByPars err:" + err.Error())
 		err = errors.New("GetRelationByPars err:" + err.Error())
 		fmt.Println(err)
 		fmt.Println(err)
+		return
 	}
 	}
 
 
 	sTime, _ := time.ParseInLocation(utils.FormatDateTime, req.StartDate+" "+req.StartTime, time.Now().Location())
 	sTime, _ := time.ParseInLocation(utils.FormatDateTime, req.StartDate+" "+req.StartTime, time.Now().Location())