func (wotuo *WorkOrderTypeUpdateOne) Save(ctx context.Context) (*WorkOrderType, error) {
	if wotuo.update_time == nil {
		v := workordertype.UpdateDefaultUpdateTime()
		wotuo.update_time = &v
	}
	return wotuo.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 (wotuo *WorkOrderTypeUpdateOne) Save(ctx context.Context) (*WorkOrderType, error) {
	if wotuo.update_time == nil {
		v := workordertype.UpdateDefaultUpdateTime()
		wotuo.update_time = &v
	}
	return wotuo.sqlSave(ctx)
}
func ( wotuo * WorkOrderTypeUpdateOne ) Save ( ctx context . Context ) ( * WorkOrderType , error ) { if wotuo . update_time == nil { v := workordertype . UpdateDefaultUpdateTime ( ) wotuo . update_time = & v } return wotuo . sqlSave ( ctx ) }
Save executes the query and returns the updated entity.
Save executes the query and returns the updated entity .