兴安添加我的审核,人脸检测替换宇泛接口
This commit is contained in:
@@ -325,4 +325,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="querySysPeopleInfo" resultType="com.dcsoft.system.domain.SysPeople">
|
||||
select ifnull(phone, '0') phone, id from sys_people where del_flag = '0' and user_id = #{userId}
|
||||
</select>
|
||||
|
||||
<select id="selectAppSysPeople" resultType="java.lang.Long">
|
||||
select id from sys_people where del_flag = '0' and (phone = #{phonenumber} or phone = #{userName})
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
@@ -333,6 +333,23 @@
|
||||
and e.update_time >= #{dateTime}
|
||||
</select>
|
||||
|
||||
<select id="queryReviewList" resultMap="VisitorResult">
|
||||
SELECT
|
||||
e.id,
|
||||
e.name username,
|
||||
e.visiting_unit,
|
||||
e.vis_time,
|
||||
e.exit_permit_no,
|
||||
e.examine_state
|
||||
FROM
|
||||
`vis_exit_out` e
|
||||
LEFT JOIN `vis_visitor_review_process` p ON e.id = p.exit_id
|
||||
WHERE
|
||||
p.reviewer = #{peopleId}
|
||||
GROUP BY
|
||||
e.id
|
||||
</select>
|
||||
|
||||
<insert id="insertVisExitOut" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into vis_exit_out
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
|
||||
@@ -1040,4 +1040,16 @@
|
||||
<select id="queryReviewProcessOld" resultType="java.lang.String">
|
||||
select reviewer from vis_visitor_review_process where visitor_id = #{id} and type = #{position}
|
||||
</select>
|
||||
|
||||
<select id="queryReviewList" resultType="com.dcsoft.system.visitor.domain.Visitor">
|
||||
SELECT
|
||||
v.*
|
||||
FROM
|
||||
vis_visitor v
|
||||
LEFT JOIN `vis_visitor_review_process` p ON v.id = p.visitor_id
|
||||
WHERE
|
||||
p.reviewer = #{peopleId}
|
||||
GROUP BY
|
||||
v.id
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user