Commit e671aabe authored by mcb's avatar mcb

no message

parent 43c219ba
......@@ -272,13 +272,13 @@
<configuration>
<mainClass>com.jz.DmpApplication</mainClass>
</configuration>
<dependencies>
<!--<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>springloaded</artifactId>
<version>2.4.1</version>
</dependency>
</dependencies>
</dependencies>-->
<executions>
<execution>
<goals>
......
......@@ -3,7 +3,7 @@ package com.jz.common.constant;
public class Constants {
/**
* 数据状?(1:正常;0:删除;?
* 数据状状态(1:正常;0:删除;)
*/
public static final String DATA_STATE_NORMAL = "1";
public static final String DATA_STATE_DELETE = "0";
......
package com.jz.dmp.modules.model;
import org.apache.ibatis.type.Alias;
import java.io.Serializable;
import java.util.Date;
......@@ -9,6 +11,7 @@ import java.util.Date;
* @author makejava
* @since 2020-12-21 18:49:50
*/
@Alias("dmpProjectSystemInfo")
public class DmpProjectSystemInfo implements Serializable {
private static final long serialVersionUID = -40082608195904585L;
/**
......
......@@ -403,7 +403,7 @@
<if test="id != null">AND id = #{id}</if>
</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
ID,
PROJECT_ID,
......@@ -457,7 +457,7 @@
WHERE data_status = '1' and PROJECT_ID = #{projectId}
</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
ID,
PROJECT_ID,
......
......@@ -318,7 +318,7 @@
and ds.project_id = #{projectId}
</select>
<select id="queryDatasourceTypeById" parameterType="map" resultType="dmpSyncingDatasourceType">
<select id="queryDatasourceTypeById" parameterType="map" resultType="com.jz.dmp.modules.model.DmpSyncingDatasourceType">
select
datasource as datasourceName,
id ,
......
......@@ -196,7 +196,7 @@
delete from dmp_table where ID = #{id}
</delete>
<delete id="deleteTableColumnByName" parameterType="dmpTable" >
<delete id="deleteTableColumnByName" parameterType="com.jz.dmp.modules.model.DmpTable" >
delete dmp_table,dmp_table_column
from dmp_table_column
inner join dmp_table on dmp_table.id = dmp_table_column.table_id
......@@ -204,7 +204,7 @@
and dmp_table.table_mode = #{tableMode}
</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>
......
......@@ -125,7 +125,7 @@
</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
rule_id as ruleId,
rule_name as ruleName,
......
......@@ -63,7 +63,7 @@
</select>
<!--主键查询数据源-->
<select id="queryDmpSyncingDatasource" parameterType="map" resultType="dmpSyncingDatasource">
<select id="queryDmpSyncingDatasource" parameterType="map" resultType="com.jz.dmp.modules.model.DmpSyncingDatasource">
SELECT
id,
datasource_type,
......@@ -93,7 +93,7 @@
WHERE id = #{sourceDbId}
</select>
<select id="querySourceDbInfoBySourceId" parameterType="map" resultType="dmpAgentDatasourceInfo">
<select id="querySourceDbInfoBySourceId" parameterType="map" resultType="com.jz.dmp.modules.model.DmpAgentDatasourceInfo">
SELECT
t1.id,
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