Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jz-dmp-service
Project
Project
Details
Activity
Releases
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
姚本章
jz-dmp-service
Commits
e671aabe
Commit
e671aabe
authored
Dec 28, 2020
by
mcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
43c219ba
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
11 deletions
+14
-11
pom.xml
pom.xml
+2
-2
Constants.java
src/main/java/com/jz/common/constant/Constants.java
+1
-1
DmpProjectSystemInfo.java
...n/java/com/jz/dmp/modules/model/DmpProjectSystemInfo.java
+3
-0
DmpProjectMapper.xml
src/main/resources/mapper/dmp/DmpProjectMapper.xml
+2
-2
DmpSyncingDatasourceDao.xml
src/main/resources/mapper/dmp/DmpSyncingDatasourceDao.xml
+1
-1
DmpTableMapper.xml
src/main/resources/mapper/dmp/DmpTableMapper.xml
+2
-2
DvRuleTDao.xml
src/main/resources/mapper/dmp/DvRuleTDao.xml
+1
-1
OfflineSynchMapper.xml
src/main/resources/mapper/dmp/OfflineSynchMapper.xml
+2
-2
No files found.
pom.xml
View file @
e671aabe
...
@@ -272,13 +272,13 @@
...
@@ -272,13 +272,13 @@
<configuration>
<configuration>
<mainClass>
com.jz.DmpApplication
</mainClass>
<mainClass>
com.jz.DmpApplication
</mainClass>
</configuration>
</configuration>
<dependencies>
<
!--<
dependencies>
<dependency>
<dependency>
<groupId>org.springframework</groupId>
<groupId>org.springframework</groupId>
<artifactId>springloaded</artifactId>
<artifactId>springloaded</artifactId>
<version>2.4.1</version>
<version>2.4.1</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
-->
<executions>
<executions>
<execution>
<execution>
<goals>
<goals>
...
...
src/main/java/com/jz/common/constant/Constants.java
View file @
e671aabe
...
@@ -3,7 +3,7 @@ package com.jz.common.constant;
...
@@ -3,7 +3,7 @@ package com.jz.common.constant;
public
class
Constants
{
public
class
Constants
{
/**
/**
* 数据状
?(1:正常;0:删除;?
* 数据状
状态(1:正常;0:删除;)
*/
*/
public
static
final
String
DATA_STATE_NORMAL
=
"1"
;
public
static
final
String
DATA_STATE_NORMAL
=
"1"
;
public
static
final
String
DATA_STATE_DELETE
=
"0"
;
public
static
final
String
DATA_STATE_DELETE
=
"0"
;
...
...
src/main/java/com/jz/dmp/modules/model/DmpProjectSystemInfo.java
View file @
e671aabe
package
com
.
jz
.
dmp
.
modules
.
model
;
package
com
.
jz
.
dmp
.
modules
.
model
;
import
org.apache.ibatis.type.Alias
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -9,6 +11,7 @@ import java.util.Date;
...
@@ -9,6 +11,7 @@ import java.util.Date;
* @author makejava
* @author makejava
* @since 2020-12-21 18:49:50
* @since 2020-12-21 18:49:50
*/
*/
@Alias
(
"dmpProjectSystemInfo"
)
public
class
DmpProjectSystemInfo
implements
Serializable
{
public
class
DmpProjectSystemInfo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
40082608195904585L
;
private
static
final
long
serialVersionUID
=
-
40082608195904585L
;
/**
/**
...
...
src/main/resources/mapper/dmp/DmpProjectMapper.xml
View file @
e671aabe
...
@@ -403,7 +403,7 @@
...
@@ -403,7 +403,7 @@
<if
test=
"id != null"
>
AND id = #{id}
</if>
<if
test=
"id != null"
>
AND id = #{id}
</if>
</update>
</update>
<select
id=
"getProjectSystemInfo"
parameterType=
"java.lang.Long"
resultType=
"
d
mpProjectSystemInfo"
>
<select
id=
"getProjectSystemInfo"
parameterType=
"java.lang.Long"
resultType=
"
com.jz.dmp.modules.model.D
mpProjectSystemInfo"
>
SELECT
SELECT
ID,
ID,
PROJECT_ID,
PROJECT_ID,
...
@@ -457,7 +457,7 @@
...
@@ -457,7 +457,7 @@
WHERE data_status = '1' and PROJECT_ID = #{projectId}
WHERE data_status = '1' and PROJECT_ID = #{projectId}
</select>
</select>
<select
id=
"queryProjectSystemInfo"
parameterType=
"java.lang.Long"
resultType=
"
d
mpProjectSystemInfo"
>
<select
id=
"queryProjectSystemInfo"
parameterType=
"java.lang.Long"
resultType=
"
com.jz.dmp.modules.model.D
mpProjectSystemInfo"
>
SELECT
SELECT
ID,
ID,
PROJECT_ID,
PROJECT_ID,
...
...
src/main/resources/mapper/dmp/DmpSyncingDatasourceDao.xml
View file @
e671aabe
...
@@ -318,7 +318,7 @@
...
@@ -318,7 +318,7 @@
and ds.project_id = #{projectId}
and ds.project_id = #{projectId}
</select>
</select>
<select
id=
"queryDatasourceTypeById"
parameterType=
"map"
resultType=
"
d
mpSyncingDatasourceType"
>
<select
id=
"queryDatasourceTypeById"
parameterType=
"map"
resultType=
"
com.jz.dmp.modules.model.D
mpSyncingDatasourceType"
>
select
select
datasource as datasourceName,
datasource as datasourceName,
id ,
id ,
...
...
src/main/resources/mapper/dmp/DmpTableMapper.xml
View file @
e671aabe
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
delete from dmp_table where ID = #{id}
delete from dmp_table where ID = #{id}
</delete>
</delete>
<delete
id=
"deleteTableColumnByName"
parameterType=
"
d
mpTable"
>
<delete
id=
"deleteTableColumnByName"
parameterType=
"
com.jz.dmp.modules.model.D
mpTable"
>
delete dmp_table,dmp_table_column
delete dmp_table,dmp_table_column
from dmp_table_column
from dmp_table_column
inner join dmp_table on dmp_table.id = dmp_table_column.table_id
inner join dmp_table on dmp_table.id = dmp_table_column.table_id
...
@@ -204,7 +204,7 @@
...
@@ -204,7 +204,7 @@
and dmp_table.table_mode = #{tableMode}
and dmp_table.table_mode = #{tableMode}
</delete>
</delete>
<delete
id=
"deleteTableByName"
parameterType=
"
d
mpTable"
>
<delete
id=
"deleteTableByName"
parameterType=
"
com.jz.dmp.modules.model.D
mpTable"
>
delete from dmp_table where name = #{name} and table_mode = #{tableMode}
delete from dmp_table where name = #{name} and table_mode = #{tableMode}
</delete>
</delete>
...
...
src/main/resources/mapper/dmp/DvRuleTDao.xml
View file @
e671aabe
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
</delete>
</delete>
<!--通过实体作为筛选条件查询-->
<!--通过实体作为筛选条件查询-->
<select
id=
"queryJyRuleListPage"
resultType=
"com.jz.dmp.modules.controller.DataIntegration.bean.DvRuleTDto"
parameterType=
"
d
vRuleT"
>
<select
id=
"queryJyRuleListPage"
resultType=
"com.jz.dmp.modules.controller.DataIntegration.bean.DvRuleTDto"
parameterType=
"
com.jz.dmp.modules.model.D
vRuleT"
>
select
select
rule_id as ruleId,
rule_id as ruleId,
rule_name as ruleName,
rule_name as ruleName,
...
...
src/main/resources/mapper/dmp/OfflineSynchMapper.xml
View file @
e671aabe
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
</select>
</select>
<!--主键查询数据源-->
<!--主键查询数据源-->
<select
id=
"queryDmpSyncingDatasource"
parameterType=
"map"
resultType=
"
d
mpSyncingDatasource"
>
<select
id=
"queryDmpSyncingDatasource"
parameterType=
"map"
resultType=
"
com.jz.dmp.modules.model.D
mpSyncingDatasource"
>
SELECT
SELECT
id,
id,
datasource_type,
datasource_type,
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
WHERE id = #{sourceDbId}
WHERE id = #{sourceDbId}
</select>
</select>
<select
id=
"querySourceDbInfoBySourceId"
parameterType=
"map"
resultType=
"
d
mpAgentDatasourceInfo"
>
<select
id=
"querySourceDbInfoBySourceId"
parameterType=
"map"
resultType=
"
com.jz.dmp.modules.model.D
mpAgentDatasourceInfo"
>
SELECT
SELECT
t1.id,
t1.id,
t1.datasource_type as datasourceTypeId,
t1.datasource_type as datasourceTypeId,
...
...
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