blsm-vd-core 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blsm-vd-core/version.rb +1 -1
- data/lib/blsm-vd-core.rb +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b2f4acad51281973e6d02817c4c08ee66939336
|
4
|
+
data.tar.gz: 43ebe2ab0e5e1865207fe1f50daf0ab516432ad4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eaff6e9c3946323ff45e372ec824b932b2eba38ba6fb35babb12678c14d67445295df87fab4ff97d047ddb85d84305333db86195ba6dcdd09c440c858d711a9
|
7
|
+
data.tar.gz: 79c77ed0e4713460f048bc3f8c70680aabdc14de45ec34ea5325cade02566206be5fdf3a509c9a3414c488ea7eb3cdf32abbd6cfaaab1629ca01b22650317476
|
data/lib/blsm-vd-core/version.rb
CHANGED
data/lib/blsm-vd-core.rb
CHANGED
@@ -328,7 +328,12 @@ module BlsmVdCore
|
|
328
328
|
VdUserInfo.find_by_id(seller_info.id) { |info| info.sync_shop_state }
|
329
329
|
|
330
330
|
#分销额增加,更新未发出货物的(state=CREATE)分成比率
|
331
|
-
seller.clearing_items.where(:state => "WAIT_TO_SURE").
|
331
|
+
seller.clearing_items.where(:state => "WAIT_TO_SURE").each do |item|
|
332
|
+
unless item.order.ubox_order?
|
333
|
+
item.update_attributes({:rate_of_profit => seller_info.profit_rate,
|
334
|
+
:earn_amount => item.order.jm_profit})
|
335
|
+
end
|
336
|
+
end
|
332
337
|
|
333
338
|
#安全库录入信息
|
334
339
|
VdInfoSec.committed(vd_transaction)
|
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.6.
|
4
|
+
version: 0.6.5
|
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: 2016-07-
|
12
|
+
date: 2016-07-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
requirements: []
|
221
221
|
rubyforge_project:
|
222
|
-
rubygems_version: 2.
|
222
|
+
rubygems_version: 2.4.3
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: "首趣微店核心模块"
|