<?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.house365.ws.dao.mapper.ImInfoLogMapper">

    <resultMap id="infoMap" type="com.house365.beans.entity.ImInfoLogEntity">
        <result property="id" column="id"/>
        <result property="tfId" column="tf_id"/>
        <result property="city" column="city"/>
        <result property="accId" column="acc_id"/>
        <result property="createTime" column="create_time"/>
    </resultMap>

    <insert id="save" parameterType="com.house365.beans.entity.ImInfoLogEntity">
        insert into im_info_log (tf_id,city,acc_id,create_time)
        values
        ( #{tfId},#{city},#{accId},#{createTime} )
    </insert>

</mapper>