race modified
This commit is contained in:
@@ -21,8 +21,10 @@ class SeedGenerator < ApplicationRecord
|
||||
puts "SSS"
|
||||
puts next_val
|
||||
cur_val2, next_val2 = self.update_seed(model, next_val, seed.increase_by)
|
||||
puts next_val2
|
||||
padding_len = 15 - prefix.length
|
||||
saleOrderId = prefix +"-"+ cur_val2.to_s.to_s.rjust((14-prefix.length)+1,'0')
|
||||
puts saleOrderId
|
||||
return saleOrderId
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user