blsm-vd-core 0.9.3 → 0.9.4

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: e98eb641aa23976d2ac0c83f891c60aecf6bf7d7
4
- data.tar.gz: d7db0be65a906e47cac49324a87581158622a238
3
+ metadata.gz: 60c1b480bcbb20c93df3940954f83075c44e2233
4
+ data.tar.gz: 99d4819e91f556773516e41eefb38d1a64d41acb
5
5
  SHA512:
6
- metadata.gz: 22847a680639a9c90606e5014a6c0f0805613c14a357e72b7dd60086b69e1036ca36de86dd54701c2701d3e076afff4c7c5f43a4ba9f1929306521ced6b868d2
7
- data.tar.gz: b4444b0f20878991adb33053f7970da44dd5c6a4da713cd763b5cd6160b35c7d1f39c41fc58ac5bbd6ddc9ba9f356f4996081bf59a4058f57c82f613ab69c993
6
+ metadata.gz: bfff3ab4cdea6afca19fc9708095c8e8aeeba370b6bae0009786c8aa23b633f233cdab38eab240812ec488b32ebe02f27ad1f2487f2622700be0e459f93e8fc6
7
+ data.tar.gz: cd427c4e90d0325d3c7bde81f60464d61279309ce0c7ce166f69e4c58429ee78362cfcd81206daa28b85bb71c4dffd403e2b27a1275b09ae955413c6c066f5fb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blsm-vd-core (0.9.3)
4
+ blsm-vd-core (0.9.4)
5
5
 
6
6
  GEM
7
7
  remote: https://ruby.taobao.org/
@@ -1,3 +1,3 @@
1
1
  module BlsmVdCore
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
data/lib/blsm-vd-core.rb CHANGED
@@ -95,7 +95,7 @@ module BlsmVdCore
95
95
  #在线支付(客户签收,订单完成)=>确认结算项
96
96
  if order.state.to_s.include?('客户签收,订单完成')
97
97
  create_clearing_item(order_id) if order.ubox_order?
98
- clearing_item = ClearingItem.where(order_id: order.id).first if order.ubox_order?
98
+ clearing_item = ClearingItem.where(order_id: order.id).first
99
99
  on_order_sale_out(order.application.user_id, order_id) if order.application
100
100
  clearing_item.update_attributes({earn_amount: order.jm_profit, state: 'CASH_BACK'}) if clearing_item && order.pay_on_line?
101
101
  return ERROR_CODES[200]
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.3
4
+ version: 0.9.4
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-10 00:00:00.000000000 Z
12
+ date: 2017-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec