From c5aac73ec29f74904b544a722037b39bbb85ab3e Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 07 二月 2019 21:35:35 +0800
Subject: [PATCH] 去serviceCode 改为businessTypeCd 完成
---
java110-config/src/main/resources/mapper/service/QueryServiceDAOImplMapper.xml | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/java110-config/src/main/resources/mapper/service/QueryServiceDAOImplMapper.xml b/java110-config/src/main/resources/mapper/service/QueryServiceDAOImplMapper.xml
index 8c87bce..553af58 100644
--- a/java110-config/src/main/resources/mapper/service/QueryServiceDAOImplMapper.xml
+++ b/java110-config/src/main/resources/mapper/service/QueryServiceDAOImplMapper.xml
@@ -21,6 +21,16 @@
<parameter property="resMsg" javaType="java.lang.String" jdbcType="CLOB" mode="OUT" />
</parameterMap>
+ <resultMap type="com.java110.entity.service.ServiceSql" id="serviceBusinessMap">
+ <result column="service_business_id" jdbcType="INT" property="serviceBusinessId"/>
+ <result column="business_type_cd" jdbcType="VARCHAR" property="serviceTypeCd"/>
+ <result column="invoke_type" jdbcType="VARCHAR" property="invokeType"/>
+ <result column="url" jdbcType="VARCHAR" property="url"/>
+ <result column="message_topic" jdbcType="VARCHAR" property="messageTopic"/>
+ <result column="timeout" jdbcType="INT" property="timeout"/>
+ <result column="retry_count" jdbcType="INT" property="retryCount"/>
+ </resultMap>
+
<!--鎵ц鏌ヨsql -->
<select id="executeSql" parameterType="String" resultType="Map">
${value}
@@ -44,4 +54,19 @@
FROM c_service_sql css WHERE css.status_cd = '0'
</select>
+ <select id="queryServiceBusiness" resultMap="serviceBusinessMap">
+ SELECT
+ a.service_business_id,
+ a.business_type_cd,
+ a.invoke_type,
+ a.url,
+ a.message_topic,
+ a.timeout,
+ a.retry_count
+ FROM
+ c_service_business a
+ WHERE
+ a.status_cd = '0'
+ </select>
+
</mapper>
--
Gitblit v1.8.0