2021与蓝度共同重构项目,服务端
liuhaonan
2022-02-14 bd48ab67b09fdd8a18df9787f1c0f0782fc95539
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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.sandu.ximon.dao.mapper.LedPlayerEntityMapper">
 
    <resultMap id="BaseResultMap" type="com.sandu.ximon.dao.domain.LedPlayerEntity">
        <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,
        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>
</mapper>