|
@@ -45,6 +45,7 @@
|
|
<result property="matchFaceId" column="match_face_id" />
|
|
<result property="matchFaceId" column="match_face_id" />
|
|
<result property="faceImage" column="face_image" />
|
|
<result property="faceImage" column="face_image" />
|
|
<result property="recordTime" column="record_time" />
|
|
<result property="recordTime" column="record_time" />
|
|
|
|
+ <result property="personFlag" column="person_flag" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<resultMap id="PersonDeviceLogMap" extends="SimpleMap" type="com.jpsoft.smart.modules.base.entity.PersonDeviceLog">
|
|
<resultMap id="PersonDeviceLogMap" extends="SimpleMap" type="com.jpsoft.smart.modules.base.entity.PersonDeviceLog">
|
|
<association property="device" column="device_no"
|
|
<association property="device" column="device_no"
|
|
@@ -113,7 +114,7 @@
|
|
|
|
|
|
<select id="search" parameterType="hashmap" resultMap="PersonDeviceLogMap">
|
|
<select id="search" parameterType="hashmap" resultMap="PersonDeviceLogMap">
|
|
<![CDATA[
|
|
<![CDATA[
|
|
- select a.* from base_person_device_log a left join base_device_info b
|
|
|
|
|
|
+ select a.*,b.del_flag as person_flag from base_person_device_log a left join base_device_info b
|
|
on a.device_no = b.device_no left join base_person_info c
|
|
on a.device_no = b.device_no left join base_person_info c
|
|
on a.person_id = c.id_
|
|
on a.person_id = c.id_
|
|
]]>
|
|
]]>
|