mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-05 04:50:55 +08:00
统一pom包版本
This commit is contained in:
@@ -29,13 +29,12 @@
|
||||
<dependency>
|
||||
<groupId>com.xiaojukeji.kafka</groupId>
|
||||
<artifactId>kafka-manager-common</artifactId>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<version>${parent.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.mybatis.spring.boot</groupId>
|
||||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||||
<version>1.3.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
|
||||
@@ -50,4 +50,4 @@ public class AccountDaoImpl implements AccountDao {
|
||||
public List<AccountDO> searchByNamePrefix(String prefix) {
|
||||
return sqlSession.selectList("AccountDao.searchByNamePrefix", prefix);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,9 +11,7 @@
|
||||
<result column="cluster_name" property="clusterName" />
|
||||
<result column="zookeeper" property="zookeeper" />
|
||||
<result column="bootstrap_servers" property="bootstrapServers" />
|
||||
<result column="mode" property="mode" />
|
||||
<result column="security_properties" property="securityProperties" />
|
||||
<result column="kafka_version" property="kafkaVersion" />
|
||||
</resultMap>
|
||||
|
||||
<insert id="insert"
|
||||
@@ -21,9 +19,9 @@
|
||||
useGeneratedKeys="true"
|
||||
keyProperty="id">
|
||||
INSERT INTO cluster (
|
||||
cluster_name, zookeeper, bootstrap_servers, mode, security_properties
|
||||
cluster_name, zookeeper, bootstrap_servers, security_properties
|
||||
) VALUES (
|
||||
#{clusterName}, #{zookeeper}, #{bootstrapServers}, #{mode}, #{securityProperties}
|
||||
#{clusterName}, #{zookeeper}, #{bootstrapServers}, #{securityProperties}
|
||||
)
|
||||
</insert>
|
||||
|
||||
@@ -31,7 +29,6 @@
|
||||
UPDATE cluster SET
|
||||
cluster_name=#{clusterName},
|
||||
bootstrap_servers=#{bootstrapServers},
|
||||
mode=#{mode},
|
||||
security_properties=#{securityProperties},
|
||||
status=#{status}
|
||||
WHERE id = #{id}
|
||||
|
||||
Reference in New Issue
Block a user