{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 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 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 into Face_SendRecord values (#{deviceId},#{userId},#{Num},#{Name},#{time},#{schoolName},null,#{schoolId},null,null,#{userType},#{deviceType},#{status},#{channel})