Blame view

cloud/dahua/src/main/resources/xiaoanmapper/SearchMapper.xml 2.68 KB
9df247c3   徐泉   大华考勤需求提交
1
2
<?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" >
c6a8099f   徐泉   遗漏提交
3
<mapper namespace="com.example.dahua.xiananDao.SearchMapper" >
9df247c3   徐泉   大华考勤需求提交
4
5
6
7
8
9


    <resultMap id="resultMap" type="com.example.dahua.bean.CheckIn">
        <result column="arr" property="out" jdbcType="VARCHAR" />
        <result column="iscuccess" property="isSuccess" jdbcType="INTEGER" />
    </resultMap>
c6a8099f   徐泉   遗漏提交
10
11

    <insert id="checkIn" parameterType="com.example.dahua.bean.CheckIn" statementType="CALLABLE">
9df247c3   徐泉   大华考勤需求提交
12
13
14
15
16
17
        {call AttendanceService(
           #{deviceId,mode=IN} , #{cardNo,mode=IN} , #{funNo,mode=IN}, #{flag,mode=IN} , #{checkTime,mode=IN},
           #{out,mode=OUT,jdbcType=VARCHAR,resultMap=resultMap},#{isSuccess,mode=OUT,jdbcType=INTEGER,resultMap=resultMap}
        )}
    </insert>

ad296f75   徐泉   智能校卫:海康、大华人脸机代码提交
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
    <insert id="insert" >
       INSERT INTO SZ_AttendanceRecords202101 (
            [user_id],
            [school_id],
            [customerId],
            [usertype],
            [card_num],
            [card_type],
            [outof],
            [intime],
            [cid],
            [func_no],
            [head_image],
            [class_id],
            [expression],
            [attendance_id],
            [name],
            [mobile],
            [class_name],
            [sex],
            [student_type],
            [systime]
        )
        VALUES
        (
            #{user_id},#{school_id},#{customerId},2,#{card_num},#{card_type},#{outof}, #{intime}, #{cid},8,null,#{class_id},null,#{attendance_id},#{name},#{mobile}, #{class_name}, #{sex}, 2, #{systime}
        )
    </insert>

    <insert id="insertSS" >
       INSERT INTO SZ_AttendanceRecordsSS202101 (
            [user_id],
            [school_id],
            [customerId],
            [usertype],
            [card_num],
            [card_type],
            [outof],
            [intime],
            [cid],
            [func_no],
            [head_image],
            [class_id],
            [expression],
            [attendance_id],
            [name],
            [mobile],
            [class_name],
            [sex],
            [student_type],
            [systime]
        )
        VALUES
        (
            #{user_id},#{school_id},#{customerId},2,#{card_num},#{card_type},#{outof}, #{intime}, #{cid},8,null,#{class_id},null,#{attendance_id},#{name},#{mobile}, #{class_name}, #{sex}, 2, #{systime}
        )
    </insert>

09102d07   徐泉   修改提交
76
77
78
79
    <insert id="insertFace" parameterType="com.example.dahua.bean.yx.FaceBean">
        insert into Face_SendRecord values (#{deviceId},#{userId},#{Num},#{Name},#{time},#{schoolName},null,#{schoolId},null,null,#{userType},#{deviceType},#{status},#{channel})
    </insert>

9df247c3   徐泉   大华考勤需求提交
80
</mapper>