|
@@ -3,7 +3,7 @@
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<!-- namespace必须指向DAO接口 -->
|
|
<!-- namespace必须指向DAO接口 -->
|
|
<mapper namespace="com.jpsoft.smart.modules.base.dao.PersonDeviceLogDAO">
|
|
<mapper namespace="com.jpsoft.smart.modules.base.dao.PersonDeviceLogDAO">
|
|
- <resultMap id="PersonDeviceLogMap" type="PersonDeviceLog">
|
|
|
|
|
|
+ <resultMap id="PersonDeviceLogMap" type="com.jpsoft.smart.modules.base.entity.PersonDeviceLog">
|
|
<id property="id" column="id_" />
|
|
<id property="id" column="id_" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
@@ -24,7 +24,7 @@
|
|
<association property="person" column="person_id"
|
|
<association property="person" column="person_id"
|
|
select="com.jpsoft.smart.modules.base.dao.PersonInfoDAO.get"></association>
|
|
select="com.jpsoft.smart.modules.base.dao.PersonInfoDAO.get"></association>
|
|
</resultMap>
|
|
</resultMap>
|
|
- <insert id="insert" parameterType="PersonDeviceLog">
|
|
|
|
|
|
+ <insert id="insert" parameterType="com.jpsoft.smart.modules.base.entity.PersonDeviceLog">
|
|
<!--
|
|
<!--
|
|
<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
|
|
<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
|
|
select sys_guid() from dual
|
|
select sys_guid() from dual
|
|
@@ -35,21 +35,21 @@
|
|
(id_,create_by,create_time,update_by,update_time,is_effective,del_flag,device_no,person_id,temperature_,match_status,match_msg,match_face_id,face_image,record_time)
|
|
(id_,create_by,create_time,update_by,update_time,is_effective,del_flag,device_no,person_id,temperature_,match_status,match_msg,match_face_id,face_image,record_time)
|
|
values
|
|
values
|
|
(
|
|
(
|
|
-#{id,jdbcType=VARCHAR}
|
|
|
|
-,#{createBy,jdbcType=VARCHAR}
|
|
|
|
-,#{createTime,jdbcType= TIMESTAMP }
|
|
|
|
-,#{updateBy,jdbcType=VARCHAR}
|
|
|
|
-,#{updateTime,jdbcType= TIMESTAMP }
|
|
|
|
-,#{isEffective,jdbcType= NUMERIC }
|
|
|
|
-,#{delFlag,jdbcType= NUMERIC }
|
|
|
|
-,#{deviceNo,jdbcType=VARCHAR}
|
|
|
|
-,#{personId,jdbcType=VARCHAR}
|
|
|
|
-,#{temperature,jdbcType=NUMERIC}
|
|
|
|
-,#{matchStatus,jdbcType=INTEGER}
|
|
|
|
-,#{matchMsg,jdbcType=VARCHAR}
|
|
|
|
-,#{matchFaceId,jdbcType= INTEGER}
|
|
|
|
-,#{faceImage,jdbcType=VARCHAR}
|
|
|
|
-,#{recordTime,jdbcType=TIMESTAMP}
|
|
|
|
|
|
+ #{id,jdbcType=VARCHAR}
|
|
|
|
+ ,#{createBy,jdbcType=VARCHAR}
|
|
|
|
+ ,#{createTime,jdbcType= TIMESTAMP }
|
|
|
|
+ ,#{updateBy,jdbcType=VARCHAR}
|
|
|
|
+ ,#{updateTime,jdbcType= TIMESTAMP }
|
|
|
|
+ ,#{isEffective,jdbcType= NUMERIC }
|
|
|
|
+ ,#{delFlag,jdbcType= NUMERIC }
|
|
|
|
+ ,#{deviceNo,jdbcType=VARCHAR}
|
|
|
|
+ ,#{personId,jdbcType=VARCHAR}
|
|
|
|
+ ,#{temperature,jdbcType=NUMERIC}
|
|
|
|
+ ,#{matchStatus,jdbcType=INTEGER}
|
|
|
|
+ ,#{matchMsg,jdbcType=VARCHAR}
|
|
|
|
+ ,#{matchFaceId,jdbcType= INTEGER}
|
|
|
|
+ ,#{faceImage,jdbcType=VARCHAR}
|
|
|
|
+ ,#{recordTime,jdbcType=TIMESTAMP}
|
|
)
|
|
)
|
|
]]>
|
|
]]>
|
|
</insert>
|
|
</insert>
|