blsm-vd-core 0.9.9 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eccbf721a957463e8f4a8eb206e28a076665af17
4
- data.tar.gz: 7959aac58e5ae63887c34d0e02b64091a2c79ab3
3
+ metadata.gz: c63ee96870e6501fe03865cc9a89633395928b1a
4
+ data.tar.gz: e7f969c72148ccdc569a6e18c29678c7e3a86791
5
5
  SHA512:
6
- metadata.gz: 427101326d79adff9d2faed5194fbbfd152b5868168c58b5e504a141e85a06372cbbf9d19731417065f2a7d89bd5854d8c5e0e72ef4572c8d7a644c7536e400d
7
- data.tar.gz: 37d58b6c235c1037be03bc6af77c2be371e271329e3bf8e6a89867c3c64be7ed5215f031770391a5b0f320cc27539bc554ff8cbdaf7456a08cd6094090246c29
6
+ metadata.gz: dd78046d1ef23a80e31445f75c9783840116816badf745af578b84a865731ee4e12c47426a99a00573b4c5b3372799b2eb7f6cd7a06b233c784ca21335a06da6
7
+ data.tar.gz: 79171ed7dc9a6109acd304c88f211b99a4ad842482c7480806df0c6e189e458557ffb4e47e7f2a179f3430c9229844ebd3f0642c5c9007a254589baaa9edd3a1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blsm-vd-core (0.9.9)
4
+ blsm-vd-core (1.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://ruby.taobao.org/
@@ -1,3 +1,3 @@
1
1
  module BlsmVdCore
2
- VERSION = "0.9.9"
2
+ VERSION = "1.0.0"
3
3
  end
data/lib/blsm-vd-core.rb CHANGED
@@ -709,7 +709,7 @@ module BlsmVdCore
709
709
  #结算项变为物流返款时调用此方法
710
710
  def on_clearing_item_cash_back(clearing_item_id)
711
711
  clearing_item = ClearingItem.where(id: clearing_item_id).first
712
- return ERROR_CODES[0] if !clearing_item || clearing_item.state!='CASH_BACK' || clearing_item.earn_amount.to_f < 0
712
+ return ERROR_CODES[0] if !clearing_item || clearing_item.state!='CASH_BACK' || clearing_item.earn_amount.to_f < 0 || clearing_item.created_at.to_s < '2017-02-27'
713
713
  order = clearing_item.order
714
714
  return ERROR_CODES[0] if !order || order.ubox_order?
715
715
  invitee = clearing_item.user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blsm-vd-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - saxer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-02-25 00:00:00.000000000 Z
12
+ date: 2017-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec