func (stcuo *SurveyTemplateCategoryUpdateOne) Save(ctx context.Context) (*SurveyTemplateCategory, error) {
	if stcuo.update_time == nil {
		v := surveytemplatecategory.UpdateDefaultUpdateTime()
		stcuo.update_time = &v
	}
	return stcuo.sqlSave(ctx)
}
// Save executes the query and returns the updated entity.
Save executes the query and returns the updated entity.
// Save executes the query and returns the updated entity .
func (stcuo *SurveyTemplateCategoryUpdateOne) Save(ctx context.Context) (*SurveyTemplateCategory, error) {
	if stcuo.update_time == nil {
		v := surveytemplatecategory.UpdateDefaultUpdateTime()
		stcuo.update_time = &v
	}
	return stcuo.sqlSave(ctx)
}
func ( stcuo * SurveyTemplateCategoryUpdateOne ) Save ( ctx context . Context ) ( * SurveyTemplateCategory , error ) { if stcuo . update_time == nil { v := surveytemplatecategory . UpdateDefaultUpdateTime ( ) stcuo . update_time = & v } return stcuo . sqlSave ( ctx ) }
Save executes the query and returns the updated entity.
Save executes the query and returns the updated entity .