forked from rongchao/epmet-cloud-rizhao
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.3 KiB
28 lines
1.3 KiB
<?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="com.epmet.dao.EventDao">
|
|
|
|
<resultMap type="com.epmet.entity.EventEntity" id="eventMap">
|
|
<result property="id" column="ID"/>
|
|
<result property="classId" column="CLASS_ID"/>
|
|
<result property="appId" column="APP_ID"/>
|
|
<result property="appName" column="APP_NAME"/>
|
|
<result property="eventCode" column="EVENT_CODE"/>
|
|
<result property="eventName" column="EVENT_NAME"/>
|
|
<result property="eventDesc" column="EVENT_DESC"/>
|
|
<result property="eventGroupId" column="EVENT_GROUP_ID"/>
|
|
<result property="isCommon" column="IS_COMMON"/>
|
|
<result property="delFlag" column="DEL_FLAG"/>
|
|
<result property="revision" column="REVISION"/>
|
|
<result property="createdBy" column="CREATED_BY"/>
|
|
<result property="createdTime" column="CREATED_TIME"/>
|
|
<result property="updatedBy" column="UPDATED_BY"/>
|
|
<result property="updatedTime" column="UPDATED_TIME"/>
|
|
</resultMap>
|
|
<select id="getCountByEventCode" resultType="int">
|
|
select count(ID) from event where EVENT_CODE = #{eventCode,jdbcType=VARCHAR}
|
|
</select>
|
|
|
|
|
|
</mapper>
|