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
bltdc
dc-java
Commits
43afdd12
Commit
43afdd12
authored
Apr 09, 2019
by
wutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自动周转对于JIT的不做冗余和缺货预测 实际冗余和实际缺货也不用提醒
parent
9fa2ce23
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
Constant.java
...src/main/java/com/bailuntec/domain/constant/Constant.java
+5
-0
AutoTurnoverJob.java
...over/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
+0
-0
AutoTurnoverTest.java
...ow/show-auto-turnover/src/test/java/AutoTurnoverTest.java
+7
-0
No files found.
data-show/show-auto-turnover/src/main/java/com/bailuntec/domain/constant/Constant.java
View file @
43afdd12
...
...
@@ -11,6 +11,11 @@ public interface Constant {
String
NAN_STRING
=
"N/A"
;
String
PURCHASE_SIGN
=
"p_"
;
String
TRANSFER_SIGN
=
"t_"
;
//自动周转JIT的 可以不做 冗余 和 缺货预测 实际冗余和实际缺货也不用提醒
//这三个采购都是美甲和精油的, 都是JIT的
String
BUYER_JIT_1
=
"张莹霞"
;
String
BUYER_JIT_2
=
"张莹霞1"
;
String
BUYER_JIT_3
=
"冯兆欣"
;
BigDecimal
BIGDECIMAL_FOURTEEN
=
BigDecimal
.
valueOf
(
14
);
BigDecimal
BIGDECIMAL_SEVEN
=
BigDecimal
.
valueOf
(
7
);
BigDecimal
BIGDECIMAL_THREE
=
BigDecimal
.
valueOf
(
3
);
...
...
data-show/show-auto-turnover/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
View file @
43afdd12
This diff is collapsed.
Click to expand it.
data-show/show-auto-turnover/src/test/java/AutoTurnoverTest.java
View file @
43afdd12
...
...
@@ -107,5 +107,12 @@ public class AutoTurnoverTest {
AutoTurnoverJobListener
autoTurnoverJobListener
=
new
AutoTurnoverJobListener
();
autoTurnoverJobListener
.
afterJobExecuted
(
null
);
}
@Test
public
void
test55
()
{
LocalDateTime
recordTime
=
LocalDateTime
.
now
();
LocalDateTime
finalEstimatedArrivalTime
=
LocalDateTime
.
now
().
minusDays
(
1
);
int
interval
=
Period
.
between
(
recordTime
.
toLocalDate
(),
finalEstimatedArrivalTime
.
toLocalDate
()).
getDays
();
System
.
out
.
println
(
interval
);
}
}
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