<?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>
|