| | |
| | | <mapper namespace="com.sandu.ximon.dao.mapper.LedPlayerEntityMapper"> |
| | | |
| | | <resultMap id="BaseResultMap" type="com.sandu.ximon.dao.domain.LedPlayerEntity"> |
| | | <id property="id" column="id" jdbcType="BIGINT"/> |
| | | <result property="playerName" column="player_name" jdbcType="VARCHAR"/> |
| | | <result property="playerId" column="player_id" jdbcType="VARCHAR"/> |
| | | <result property="sn" column="sn" jdbcType="VARCHAR"/> |
| | | <result property="createTimestamp" column="create_timestamp" jdbcType="BIGINT"/> |
| | | <id property="id" column="id" jdbcType="BIGINT"/> |
| | | <result property="name" column="name" jdbcType="VARCHAR"/> |
| | | <result property="playerName" column="player_name" jdbcType="VARCHAR"/> |
| | | <result property="playerId" column="player_id" jdbcType="VARCHAR"/> |
| | | <result property="sn" column="sn" jdbcType="VARCHAR"/> |
| | | <result property="createTimestamp" column="create_timestamp" jdbcType="BIGINT"/> |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | | id,player_name,player_id, |
| | | id |
| | | ,player_name,player_id, |
| | | sn,create_timestamp |
| | | </sql> |
| | | <insert id="saveLed" parameterType="com.sandu.ximon.dao.domain.LedPlayerEntity"> |
| | | insert into led (player_name,player_id,sn,create_timestamp) values (#{playerName},#{playerId},#{sn},#{createTimestamp}) |
| | | insert into led (player_name, player_id, sn, create_timestamp) |
| | | values (#{playerName}, #{playerId}, #{sn}, #{createTimestamp}) |
| | | </insert> |
| | | </mapper> |