Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
dc-java
Commits
dc5c42dc
Commit
dc5c42dc
authored
Aug 03, 2019
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自动周转去掉状态判断
parent
fc9a2882
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
AutoTurnoverJob.java
...over/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
+7
-1
No files found.
data-show/show-auto-turnover/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
View file @
dc5c42dc
...
@@ -1088,8 +1088,14 @@ public class AutoTurnoverJob extends PointJob {
...
@@ -1088,8 +1088,14 @@ public class AutoTurnoverJob extends PointJob {
});
});
BigDecimal
weightingAvgSales
=
caculateWeightingAvgSales
(
BigDecimal
.
valueOf
(
0.3
),
BigDecimal
.
valueOf
(
0.3
),
BigDecimal
.
valueOf
(
0.4
),
historyThirtySalesList
);
BigDecimal
weightingAvgSales
=
caculateWeightingAvgSales
(
BigDecimal
.
valueOf
(
0.3
),
BigDecimal
.
valueOf
(
0.3
),
BigDecimal
.
valueOf
(
0.4
),
historyThirtySalesList
);
DcAutoJitTagMapper
dcAutoJitTagMapper
=
SessionUtil
.
getSession
().
getMapper
(
DcAutoJitTagMapper
.
class
);
DcAutoJitTagMapper
dcAutoJitTagMapper
=
SessionUtil
.
getSession
().
getMapper
(
DcAutoJitTagMapper
.
class
);
List
<
DcAutoJitTag
>
dcAutoJitTags
=
dcAutoJitTagMapper
.
selectByExample
(
DcAutoJitTagExample
.
newAndCreateCriteria
().
andIsEliminateEqualTo
(
1
).
example
());
List
<
DcAutoJitTag
>
dcAutoJitTags
=
dcAutoJitTagMapper
.
selectByExample
(
DcAutoJitTagExample
.
newAndCreateCriteria
().
example
());
BigDecimal
saveDays
=
BigDecimal
.
ZERO
;
BigDecimal
saveDays
=
BigDecimal
.
ZERO
;
if
(
dcAutoSales
.
getSevendaySales
()
<
1
)
{
System
.
out
.
println
(
dcAutoSales
.
getSevendaySales
());
}
if
(
dcAutoSales
.
getFourteendaySales
()
<
1
)
{
System
.
out
.
println
(
dcAutoSales
.
getFourteendaySales
());
}
for
(
DcAutoJitTag
dcAutoJitTag
:
dcAutoJitTags
)
{
for
(
DcAutoJitTag
dcAutoJitTag
:
dcAutoJitTags
)
{
if
(
dcAutoJitTag
.
getEnable7
()
==
1
)
{
if
(
dcAutoJitTag
.
getEnable7
()
==
1
)
{
switch
(
dcAutoJitTag
.
getIsGt7
()){
switch
(
dcAutoJitTag
.
getIsGt7
()){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment