2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?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.landtool.lanbase.modules.res.dao.Res_BusinessThemeMapper" >
  <resultMap id="BaseResultMap" type="com.landtool.lanbase.modules.res.entity.Res_BusinessTheme" >
    <result column="THEMEID" property="themeid" jdbcType="DECIMAL" />
    <result column="PANELRESID" property="panelresid" jdbcType="DECIMAL" />
    <result column="MAPRESID" property="mapresid" jdbcType="DECIMAL" />
    <result column="TITLE" property="title" jdbcType="VARCHAR" />
    <result column="DIYUSERID" property="diyuserid" jdbcType="DECIMAL" />
    <result column="DIYTIME" property="diytime" jdbcType="TIMESTAMP" />
  </resultMap>
  <insert id="insert" parameterType="com.landtool.lanbase.modules.res.entity.Res_BusinessTheme" >
    insert into RES_BUSINESSTHEME (THEMEID, PANELRESID, MAPRESID,
      TITLE, DIYUSERID, DIYTIME
      )
    values (#{themeid,jdbcType=DECIMAL}, #{panelresid,jdbcType=DECIMAL}, #{mapresid,jdbcType=DECIMAL}, 
      #{title,jdbcType=VARCHAR}, #{diyuserid,jdbcType=DECIMAL}, #{diytime,jdbcType=TIMESTAMP}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.landtool.lanbase.modules.res.entity.Res_BusinessTheme" >
    insert into RES_BUSINESSTHEME
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="themeid != null" >
        THEMEID,
      </if>
      <if test="panelresid != null" >
        PANELRESID,
      </if>
      <if test="mapresid != null" >
        MAPRESID,
      </if>
      <if test="title != null" >
        TITLE,
      </if>
      <if test="diyuserid != null" >
        DIYUSERID,
      </if>
      <if test="diytime != null" >
        DIYTIME,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="themeid != null" >
        #{themeid,jdbcType=DECIMAL},
      </if>
      <if test="panelresid != null" >
        #{panelresid,jdbcType=DECIMAL},
      </if>
      <if test="mapresid != null" >
        #{mapresid,jdbcType=DECIMAL},
      </if>
      <if test="title != null" >
        #{title,jdbcType=VARCHAR},
      </if>
      <if test="diyuserid != null" >
        #{diyuserid,jdbcType=DECIMAL},
      </if>
      <if test="diytime != null" >
        #{diytime,jdbcType=TIMESTAMP},
      </if>
    </trim>
  </insert>
</mapper>