diff options
author | hekeguang <hekeguang@chinamobile.com> | 2023-03-22 15:59:14 +0800 |
---|---|---|
committer | zhen zhang <781953240@qq.com> | 2023-03-22 09:28:53 +0000 |
commit | 4a90df529431588f3228c236aa17d2c11116328f (patch) | |
tree | 01670374593745f7a18bb430c0a2d07245946779 /intentanalysis/src/main/resources | |
parent | 765575b67283f0d71327bcd27d8fa4e921061a56 (diff) |
Merge Event and Thread code.
Issue-ID: USECASEUI-784
Change-Id: I0cdef6c490f96c45e77013b0da5c372decdef6a1
Signed-off-by: hekeguang <hekeguang@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/main/resources')
-rw-r--r-- | intentanalysis/src/main/resources/mybatis/sql/IntentEventRecordMapper.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/IntentEventRecordMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/IntentEventRecordMapper.xml new file mode 100644 index 0000000..296fc43 --- /dev/null +++ b/intentanalysis/src/main/resources/mybatis/sql/IntentEventRecordMapper.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE mapper + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="org.onap.usecaseui.intentanalysis.mapper.IntentEventRecordMapper"> + + <insert id="insertIntentRecord"> + insert into intent_Event_Record(intentId, intentName, intentStatus, operateType) + values(#{intentEventRecord.intentId}, #{intentEventRecord.intentName}, + #{intentEventRecord.intentStatus},#{intentEventRecord.operateType}) + </insert> + + + <select id="getIntentEventRecordByntentId" resultType="org.onap.usecaseui.intentanalysis.bean.models.IntentEventRecord"> + select * from intent_Event_Record where intentId = #{intentId}; + </select> +</mapper> |