Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
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
s_guodong
gjjs-bd-common
Commits
e214e52b
Commit
e214e52b
authored
Aug 25, 2024
by
gechengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交国际支付springboot初版
parent
f470a500
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
1 deletions
+39
-1
pom.xml
gjjs-bd-business/pom.xml
+6
-0
Bd2poinnewApplication.java
...java/com/brilliance/bd2poinnew/Bd2poinnewApplication.java
+3
-1
XxxtskSchedued.java
...rc/main/java/com/brilliance/scheduled/XxxtskSchedued.java
+16
-0
Platform.java
...iness/src/main/java/com/ceb/gjjs/mda/global/Platform.java
+0
-0
MyBatisDaoSession.java
...com/brilliance/mda/support/mybatis/MyBatisDaoSession.java
+10
-0
IDaoSession.java
...main/java/com/brilliance/mda/runtime/mda/IDaoSession.java
+4
-0
No files found.
gjjs-bd-business/pom.xml
View file @
e214e52b
...
...
@@ -118,6 +118,12 @@
<scope>
system
</scope>
<systemPath>
${pom.basedir}/lib/be-esb-core-2.0.jar
</systemPath>
</dependency>
<dependency>
<groupId>
com.brilliance
</groupId>
<artifactId>
gjjs-bd-runtime
</artifactId>
<version>
0.0.2
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
<build>
...
...
gjjs-bd-business/src/main/java/com/brilliance/bd2poinnew/Bd2poinnewApplication.java
View file @
e214e52b
...
...
@@ -3,9 +3,11 @@ package com.brilliance.bd2poinnew;
import
org.mybatis.spring.annotation.MapperScan
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.scheduling.annotation.EnableScheduling
;
@SpringBootApplication
(
scanBasePackages
=
{
"com.brilliance.mda"
,
"com.ceb.gjjs.mda"
})
@SpringBootApplication
(
scanBasePackages
=
{
"com.brilliance.
scheduled"
,
"com.brilliance.
mda"
,
"com.ceb.gjjs.mda"
})
@MapperScan
({
"com.ceb.gjjs.mda.dao"
})
@EnableScheduling
public
class
Bd2poinnewApplication
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
Bd2poinnewApplication
.
class
,
args
);
...
...
gjjs-bd-business/src/main/java/com/brilliance/scheduled/XxxtskSchedued.java
0 → 100644
View file @
e214e52b
package
com
.
brilliance
.
scheduled
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
import
java.time.LocalDateTime
;
@Component
public
class
XxxtskSchedued
{
@Scheduled
(
fixedRate
=
5000
)
// 或者使用cron表达式
public
void
reportCurrentTime
()
{
System
.
out
.
println
(
"The time is now "
+
LocalDateTime
.
now
());
}
}
gjjs-bd-business/src/main/java/com/ceb/gjjs/mda/global/Platform.java
View file @
e214e52b
This diff is collapsed.
Click to expand it.
gjjs-bd-mybatis-support/src/main/java/com/brilliance/mda/support/mybatis/MyBatisDaoSession.java
View file @
e214e52b
...
...
@@ -396,6 +396,11 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession
}
@Override
public
<
T
extends
IModule
>
int
dbReadset
(
IModuleList
<
T
>
list
,
int
maxSize
,
Argument
...
args
)
{
return
0
;
}
@Override
public
int
dbCounter
(
String
seqname
)
{
return
this
.
counter
.
dbCounter
(
seqname
);
}
...
...
@@ -430,6 +435,11 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession
}
@Override
public
void
dbReadset
(
IModuleList
list
,
int
maxSize
)
{
}
@Override
public
String
dbName
()
{
return
sqlSessionTemplate
.
getConfiguration
().
getDatabaseId
();
}
...
...
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/mda/IDaoSession.java
View file @
e214e52b
...
...
@@ -25,6 +25,8 @@ public interface IDaoSession {
@SuppressWarnings
(
"rawtypes"
)
<
T
extends
IModule
>
int
dbReadset
(
IModuleList
<
T
>
list
,
Argument
...
args
);
<
T
extends
IModule
>
int
dbReadset
(
IModuleList
<
T
>
list
,
int
maxSize
,
Argument
...
args
);
<
T
extends
IModule
>
int
dbReadset
(
ModuleList
<
T
>
list
,
CacheOption
cacheOption
,
Argument
...
args
);
<
T
extends
IModule
>
int
dbReadset
(
IModuleList
<
T
>[]
list
,
CacheOption
cacheOption
,
String
whereSql
,
Object
[]
param
);
...
...
@@ -61,6 +63,8 @@ public interface IDaoSession {
void
dbReadset
(
IModuleList
list
,
int
maxSize
,
String
sql
);
void
dbReadset
(
IModuleList
list
,
int
maxSize
);
String
dbName
();
List
<
String
>
dbColumnNames
();
...
...
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