Mysql数据源提交
This commit is contained in:
@@ -78,6 +78,10 @@ public class TestCaseStep extends BaseEntity {
|
||||
@Excel(name = "http 请求协议(http, https)")
|
||||
private String apiProtocol;
|
||||
|
||||
/** 数据源id */
|
||||
@Excel(name = "数据源id")
|
||||
private Long datasourceId;
|
||||
|
||||
/** sql 命令 */
|
||||
@Excel(name = "sql 命令")
|
||||
private String sqlCommand;
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<result property="apiHost" column="api_host"/>
|
||||
<result property="apiPort" column="api_port"/>
|
||||
<result property="apiProtocol" column="api_protocol"/>
|
||||
<result property="datasourceId" column="datasource_id"/>
|
||||
<result property="sqlCommand" column="sql_command"/>
|
||||
<result property="count" column="count"/>
|
||||
<result property="async" column="async"/>
|
||||
@@ -52,6 +53,7 @@
|
||||
api_host,
|
||||
api_port,
|
||||
api_protocol,
|
||||
datasource_id,
|
||||
sql_command,
|
||||
count,
|
||||
async,
|
||||
@@ -86,6 +88,7 @@
|
||||
<if test="apiHost != null and apiHost != ''">and api_host = #{apiHost}</if>
|
||||
<if test="apiPort != null ">and api_port = #{apiPort}</if>
|
||||
<if test="apiProtocol != null and apiProtocol != ''">and api_protocol = #{apiProtocol}</if>
|
||||
<if test="datasourceId != null ">and datasource_id = #{datasourceId}</if>
|
||||
<if test="sqlCommand != null and sqlCommand != ''">and sql_command = #{sqlCommand}</if>
|
||||
<if test="count != null ">and count = #{count}</if>
|
||||
<if test="async != null ">and async = #{async}</if>
|
||||
@@ -121,6 +124,7 @@
|
||||
<if test="apiHost != null">api_host,</if>
|
||||
<if test="apiPort != null">api_port,</if>
|
||||
<if test="apiProtocol != null">api_protocol,</if>
|
||||
<if test="datasourceId != null">datasource_id,</if>
|
||||
<if test="sqlCommand != null">sql_command,</if>
|
||||
<if test="count != null">count,</if>
|
||||
<if test="async != null">async,</if>
|
||||
@@ -151,6 +155,7 @@
|
||||
<if test="apiHost != null">#{apiHost},</if>
|
||||
<if test="apiPort != null">#{apiPort},</if>
|
||||
<if test="apiProtocol != null">#{apiProtocol},</if>
|
||||
<if test="datasourceId != null">#{datasourceId},</if>
|
||||
<if test="sqlCommand != null">#{sqlCommand},</if>
|
||||
<if test="count != null">#{count},</if>
|
||||
<if test="async != null">#{async},</if>
|
||||
@@ -185,6 +190,7 @@
|
||||
<if test="apiHost != null">api_host = #{apiHost},</if>
|
||||
<if test="apiPort != null">api_port = #{apiPort},</if>
|
||||
<if test="apiProtocol != null">api_protocol = #{apiProtocol},</if>
|
||||
<if test="datasourceId != null">datasource_id = #{datasourceId},</if>
|
||||
<if test="sqlCommand != null">sql_command = #{sqlCommand},</if>
|
||||
<if test="count != null">count = #{count},</if>
|
||||
<if test="async != null">async = #{async},</if>
|
||||
|
||||
Reference in New Issue
Block a user