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
10a71313
Commit
10a71313
authored
Feb 24, 2020
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
262b4423
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
AutoTurnoverJob.java
...over/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
+2
-2
job.properties
...show/show-auto-turnover/src/main/resources/job.properties
+3
-2
No files found.
data-show/show-auto-turnover/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
View file @
10a71313
...
...
@@ -866,7 +866,7 @@ public class AutoTurnoverJob extends PointJob {
*/
private
Integer
getBailunCatagoryId
(
DcBaseSku
turnoverSku
)
throws
Exception
{
Integer
bailunFirstLevelCatagoryId
=
null
;
String
parentCategories
=
null
;
/*
String parentCategories = null;
if (turnoverSku != null && turnoverSku.getBailunCategoryId() != null) {
parentCategories = skuMSRequest(turnoverSku.getBailunCategoryId());
List<CatagoryDTO> catagoryDTOS = JSON.parseObject(parentCategories, new TypeReference<List<CatagoryDTO>>() {
...
...
@@ -878,7 +878,7 @@ public class AutoTurnoverJob extends PointJob {
}
}
}
}
}
*/
return
bailunFirstLevelCatagoryId
;
}
...
...
data-show/show-auto-turnover/src/main/resources/job.properties
View file @
10a71313
...
...
@@ -9,9 +9,9 @@ EVENT_RDB_STORAGE_USERNAME=root
EVENT_RDB_STORAGE_PASSWORD
=
#7kfnymAM$Y9-Ntf
ZOOKEEPER_SERVER=172.31.255.120:2181
NAME_SPACE
=
data-center
JOB_NAME
=
show-auto-turnover
-test
JOB_NAME
=
show-auto-turnover
JOB_CRON
=
0 30 0 * * ? *
SHARDING_TOTAL_COUNT
=
8
JOB_NAME_PARAM
=
show-auto-turnover-param
-test
JOB_NAME_PARAM
=
show-auto-turnover-param
JOB_CRON_PARAM
=
0 30 0 * * ? 2099
SHARDING_TOTAL_COUNT_PARAM
=
8
\ No newline at end of file
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