diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2023-08-25 10:23:58 +0800 |
---|---|---|
committer | kaixiliu <liukaixi@chinamobile.com> | 2023-08-25 10:24:49 +0800 |
commit | d87439a9b1e844c130ab1581e3fd174f401a498d (patch) | |
tree | 21de8adf8adb3cbc64a12b05e53373657de043af /intentanalysis/src/main/resources/mybatis/sql/IntentReportMapper.xml | |
parent | 99ad19125b3e667cca2adfc7a30c2f5c1f4daf8c (diff) |
Add intent instance
Issue-ID: USECASEUI-819
Change-Id: I422aa31089310be7d7af0060f327cd879e88db19
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/main/resources/mybatis/sql/IntentReportMapper.xml')
-rw-r--r-- | intentanalysis/src/main/resources/mybatis/sql/IntentReportMapper.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/IntentReportMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/IntentReportMapper.xml index 02a571b..078ea9b 100644 --- a/intentanalysis/src/main/resources/mybatis/sql/IntentReportMapper.xml +++ b/intentanalysis/src/main/resources/mybatis/sql/IntentReportMapper.xml @@ -8,4 +8,10 @@ insert into intent_report(intent_report_id, intent_reference,report_time) values (#{intentReport.intentReportId},#{intentReport.intentReference},to_timestamp(#{intentReport.reportTime},'yyyy-MM-dd HH24:mi:ss')) </insert> + + <select id="getIntentReportIds" resultType="java.lang.String"> + select intent_report_id + from intent_report + where intent_reference = #{intentReference} + </select> </mapper> |