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
63e42dc7
Commit
63e42dc7
authored
Mar 17, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 更新
parent
5a2c81ce
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
6 deletions
+31
-6
pom.xml
data-base/base-sync-oms-order/pom.xml
+27
-0
Application.java
...nc-oms-order/src/main/java/com/bailuntec/Application.java
+2
-3
OrderSyncTask.java
...-order/src/main/java/com/bailuntec/job/OrderSyncTask.java
+0
-0
TurnoverDaysHandler.java
.../java/com/bailuntec/service/impl/TurnoverDaysHandler.java
+0
-1
AutoTurnoverTest.java
...ow/show-auto-turnover/src/test/java/AutoTurnoverTest.java
+2
-2
No files found.
data-base/base-sync-oms-order/pom.xml
View file @
63e42dc7
...
...
@@ -24,7 +24,34 @@
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
3.1.0
</version>
<configuration>
<archive>
<manifest>
<mainClass>
com.bailuntec.Application
</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>
jar-with-dependencies
</descriptorRef>
</descriptorRefs>
<appendAssemblyId>
false
</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>
make-assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- docker的maven插件,官网:https://github.com/spotify/docker-maven-plugin -->
<plugin>
<groupId>
com.spotify
</groupId>
...
...
data-base/base-sync-oms-order/src/main/java/com/bailuntec/Application.java
View file @
63e42dc7
...
...
@@ -4,7 +4,6 @@ import com.alibaba.druid.pool.DruidDataSource;
import
com.bailuntec.job.OrderSyncJob
;
import
com.bailuntec.job.OrderSyncJob30
;
import
com.bailuntec.job.OrderSyncTask
;
import
com.bailuntec.listener.OrderSyncJobListener
;
import
com.bailuntec.utils.PropertiesUtil
;
import
com.dangdang.ddframe.job.config.JobCoreConfiguration
;
import
com.dangdang.ddframe.job.config.simple.SimpleJobConfiguration
;
...
...
@@ -28,9 +27,9 @@ public class Application {
private
static
final
String
EVENT_RDB_STORAGE_PASSWORD
=
propertiesUtil
.
getPropertyAsString
(
"EVENT_RDB_STORAGE_PASSWORD"
);
public
static
void
main
(
String
[]
args
)
{
new
JobScheduler
(
createRegistryCenter
(),
createJobConfiguration
()
,
createJobEventConfiguration
(),
new
OrderSyncJobListener
()
).
init
();
new
JobScheduler
(
createRegistryCenter
(),
createJobConfiguration
()).
init
();
// new JobScheduler(createRegistryCenter(), createJobConfiguration1(), createJobEventConfiguration(), new OrderSyncJobListener()).init();
// new JobScheduler(createRegistryCenter(), createJobConfiguration2(), createJobEventConfiguration(), new OrderSyncJobListener
()).init();
new
JobScheduler
(
createRegistryCenter
(),
createJobConfiguration2
()).
init
();
}
...
...
data-base/base-sync-oms-order/src/main/java/com/bailuntec/job/OrderSyncTask.java
View file @
63e42dc7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
data-show/show-auto-turnover/src/main/java/com/bailuntec/service/impl/TurnoverDaysHandler.java
View file @
63e42dc7
...
...
@@ -165,7 +165,6 @@ public class TurnoverDaysHandler {
}
}
dcAutoTurnover
.
setSupplierDelivery
(
turnoverSupplierDelivery
);
}
/**
...
...
data-show/show-auto-turnover/src/test/java/AutoTurnoverTest.java
View file @
63e42dc7
...
...
@@ -256,8 +256,8 @@ public class AutoTurnoverTest {
public
void
testXX2
()
{
DcBaseStock
dcBaseStock
=
SessionUtil
.
getSession
().
getMapper
(
DcBaseStockMapper
.
class
)
.
selectOneByExample
(
DcBaseStockExample
.
newAndCreateCriteria
()
.
andBailunSkuEqualTo
(
"94
4766402
"
)
.
andWarehouseCodeEqualTo
(
"
ESFBABLEM
"
)
.
andBailunSkuEqualTo
(
"94
2517901
"
)
.
andWarehouseCodeEqualTo
(
"
MMDUSFBA
"
)
.
example
());
try
{
AutoTurnoverJob
autoTurnoverJob
=
new
AutoTurnoverJob
();
...
...
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