Commit e671aabe authored by mcb's avatar mcb

no message

parent 43c219ba
...@@ -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>
......
...@@ -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";
......
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;
/** /**
......
...@@ -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="dmpProjectSystemInfo"> <select id="getProjectSystemInfo" parameterType="java.lang.Long" resultType="com.jz.dmp.modules.model.DmpProjectSystemInfo">
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="dmpProjectSystemInfo"> <select id="queryProjectSystemInfo" parameterType="java.lang.Long" resultType="com.jz.dmp.modules.model.DmpProjectSystemInfo">
SELECT SELECT
ID, ID,
PROJECT_ID, PROJECT_ID,
......
...@@ -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="dmpSyncingDatasourceType"> <select id="queryDatasourceTypeById" parameterType="map" resultType="com.jz.dmp.modules.model.DmpSyncingDatasourceType">
select select
datasource as datasourceName, datasource as datasourceName,
id , id ,
......
...@@ -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="dmpTable" > <delete id="deleteTableColumnByName" parameterType="com.jz.dmp.modules.model.DmpTable" >
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="dmpTable" > <delete id="deleteTableByName" parameterType="com.jz.dmp.modules.model.DmpTable" >
delete from dmp_table where name = #{name} and table_mode = #{tableMode} delete from dmp_table where name = #{name} and table_mode = #{tableMode}
</delete> </delete>
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</delete> </delete>
<!--通过实体作为筛选条件查询--> <!--通过实体作为筛选条件查询-->
<select id="queryJyRuleListPage" resultType="com.jz.dmp.modules.controller.DataIntegration.bean.DvRuleTDto" parameterType="dvRuleT"> <select id="queryJyRuleListPage" resultType="com.jz.dmp.modules.controller.DataIntegration.bean.DvRuleTDto" parameterType="com.jz.dmp.modules.model.DvRuleT">
select select
rule_id as ruleId, rule_id as ruleId,
rule_name as ruleName, rule_name as ruleName,
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
</select> </select>
<!--主键查询数据源--> <!--主键查询数据源-->
<select id="queryDmpSyncingDatasource" parameterType="map" resultType="dmpSyncingDatasource"> <select id="queryDmpSyncingDatasource" parameterType="map" resultType="com.jz.dmp.modules.model.DmpSyncingDatasource">
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="dmpAgentDatasourceInfo"> <select id="querySourceDbInfoBySourceId" parameterType="map" resultType="com.jz.dmp.modules.model.DmpAgentDatasourceInfo">
SELECT SELECT
t1.id, t1.id,
t1.datasource_type as datasourceTypeId, t1.datasource_type as datasourceTypeId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment