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