usermapper.xml 869 Bytes
<?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" >
<mapper namespace="com.sincere.haikangface.xiananDao.SendRecordDao">

    <resultMap id="resultMap" type="com.sincere.haikangface.bean.xiaoan.CheckIn">
        <result column="arr" property="out" jdbcType="VARCHAR" />
        <result column="iscuccess" property="isSuccess" jdbcType="INTEGER" />
    </resultMap>

    <insert id="checkIn" parameterType="com.sincere.haikangface.bean.xiaoan.CheckIn" statementType="CALLABLE">
        {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>
</mapper>