Explorar o código

删除SetupMapper重复代码

djs %!s(int64=3) %!d(string=hai) anos
pai
achega
df60587347

+ 0 - 367
kaojiplatform/src/main/resources/com/mvc/dao/TSetupMapper.xml

@@ -368,371 +368,4 @@
       FINISHED_MAN = #{finishedMan,jdbcType=VARCHAR}
     where ID = #{id,jdbcType=INTEGER}
   </update>
-  <resultMap id="BaseResultMap" type="com.mvc.entity.TSetup">
-    <id column="ID" jdbcType="INTEGER" property="id" />
-    <result column="SETUP_ID" jdbcType="VARCHAR" property="setupId" />
-    <result column="STATION_CODE" jdbcType="VARCHAR" property="stationCode" />
-    <result column="STATION_NAME" jdbcType="VARCHAR" property="stationName" />
-    <result column="DEVICE_SN" jdbcType="VARCHAR" property="deviceSn" />
-    <result column="SETUP_TIME" jdbcType="TIMESTAMP" property="setupTime" />
-    <result column="SETUP_MAN" jdbcType="VARCHAR" property="setupMan" />
-    <result column="FLOOR_RSRP" jdbcType="INTEGER" property="floorRsrp" />
-    <result column="STATION_CONTACT" jdbcType="VARCHAR" property="stationContact" />
-    <result column="STATION_ADDRESS" jdbcType="VARCHAR" property="stationAddress" />
-    <result column="STATION_LON" jdbcType="DECIMAL" property="stationLon" />
-    <result column="STATION_LAT" jdbcType="DECIMAL" property="stationLat" />
-    <result column="FINISHED_FLAG" jdbcType="CHAR" property="finishedFlag" />
-    <result column="FINISHED_TIME" jdbcType="DATE" property="finishedTime" />
-    <result column="FINISHED_MAN" jdbcType="VARCHAR" property="finishedMan" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    ID, SETUP_ID, STATION_CODE, STATION_NAME, DEVICE_SN, SETUP_TIME, SETUP_MAN, FLOOR_RSRP, 
-    STATION_CONTACT, STATION_ADDRESS, STATION_LON, STATION_LAT, FINISHED_FLAG, FINISHED_TIME, 
-    FINISHED_MAN
-  </sql>
-  <select id="selectByExample" parameterType="com.mvc.entity.TSetupExample" resultMap="BaseResultMap">
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from t_setup
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from t_setup
-    where ID = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    delete from t_setup
-    where ID = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.mvc.entity.TSetupExample">
-    delete from t_setup
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.mvc.entity.TSetup">
-    insert into t_setup (ID, SETUP_ID, STATION_CODE, 
-      STATION_NAME, DEVICE_SN, SETUP_TIME, 
-      SETUP_MAN, FLOOR_RSRP, STATION_CONTACT, 
-      STATION_ADDRESS, STATION_LON, STATION_LAT, 
-      FINISHED_FLAG, FINISHED_TIME, FINISHED_MAN
-      )
-    values (#{id,jdbcType=INTEGER}, #{setupId,jdbcType=VARCHAR}, #{stationCode,jdbcType=VARCHAR}, 
-      #{stationName,jdbcType=VARCHAR}, #{deviceSn,jdbcType=VARCHAR}, #{setupTime,jdbcType=TIMESTAMP}, 
-      #{setupMan,jdbcType=VARCHAR}, #{floorRsrp,jdbcType=INTEGER}, #{stationContact,jdbcType=VARCHAR}, 
-      #{stationAddress,jdbcType=VARCHAR}, #{stationLon,jdbcType=DECIMAL}, #{stationLat,jdbcType=DECIMAL}, 
-      #{finishedFlag,jdbcType=CHAR}, #{finishedTime,jdbcType=DATE}, #{finishedMan,jdbcType=VARCHAR}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.mvc.entity.TSetup">
-    insert into t_setup
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        ID,
-      </if>
-      <if test="setupId != null">
-        SETUP_ID,
-      </if>
-      <if test="stationCode != null">
-        STATION_CODE,
-      </if>
-      <if test="stationName != null">
-        STATION_NAME,
-      </if>
-      <if test="deviceSn != null">
-        DEVICE_SN,
-      </if>
-      <if test="setupTime != null">
-        SETUP_TIME,
-      </if>
-      <if test="setupMan != null">
-        SETUP_MAN,
-      </if>
-      <if test="floorRsrp != null">
-        FLOOR_RSRP,
-      </if>
-      <if test="stationContact != null">
-        STATION_CONTACT,
-      </if>
-      <if test="stationAddress != null">
-        STATION_ADDRESS,
-      </if>
-      <if test="stationLon != null">
-        STATION_LON,
-      </if>
-      <if test="stationLat != null">
-        STATION_LAT,
-      </if>
-      <if test="finishedFlag != null">
-        FINISHED_FLAG,
-      </if>
-      <if test="finishedTime != null">
-        FINISHED_TIME,
-      </if>
-      <if test="finishedMan != null">
-        FINISHED_MAN,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        #{id,jdbcType=INTEGER},
-      </if>
-      <if test="setupId != null">
-        #{setupId,jdbcType=VARCHAR},
-      </if>
-      <if test="stationCode != null">
-        #{stationCode,jdbcType=VARCHAR},
-      </if>
-      <if test="stationName != null">
-        #{stationName,jdbcType=VARCHAR},
-      </if>
-      <if test="deviceSn != null">
-        #{deviceSn,jdbcType=VARCHAR},
-      </if>
-      <if test="setupTime != null">
-        #{setupTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="setupMan != null">
-        #{setupMan,jdbcType=VARCHAR},
-      </if>
-      <if test="floorRsrp != null">
-        #{floorRsrp,jdbcType=INTEGER},
-      </if>
-      <if test="stationContact != null">
-        #{stationContact,jdbcType=VARCHAR},
-      </if>
-      <if test="stationAddress != null">
-        #{stationAddress,jdbcType=VARCHAR},
-      </if>
-      <if test="stationLon != null">
-        #{stationLon,jdbcType=DECIMAL},
-      </if>
-      <if test="stationLat != null">
-        #{stationLat,jdbcType=DECIMAL},
-      </if>
-      <if test="finishedFlag != null">
-        #{finishedFlag,jdbcType=CHAR},
-      </if>
-      <if test="finishedTime != null">
-        #{finishedTime,jdbcType=DATE},
-      </if>
-      <if test="finishedMan != null">
-        #{finishedMan,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.mvc.entity.TSetupExample" resultType="java.lang.Long">
-    select count(*) from t_setup
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    update t_setup
-    <set>
-      <if test="record.id != null">
-        ID = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.setupId != null">
-        SETUP_ID = #{record.setupId,jdbcType=VARCHAR},
-      </if>
-      <if test="record.stationCode != null">
-        STATION_CODE = #{record.stationCode,jdbcType=VARCHAR},
-      </if>
-      <if test="record.stationName != null">
-        STATION_NAME = #{record.stationName,jdbcType=VARCHAR},
-      </if>
-      <if test="record.deviceSn != null">
-        DEVICE_SN = #{record.deviceSn,jdbcType=VARCHAR},
-      </if>
-      <if test="record.setupTime != null">
-        SETUP_TIME = #{record.setupTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.setupMan != null">
-        SETUP_MAN = #{record.setupMan,jdbcType=VARCHAR},
-      </if>
-      <if test="record.floorRsrp != null">
-        FLOOR_RSRP = #{record.floorRsrp,jdbcType=INTEGER},
-      </if>
-      <if test="record.stationContact != null">
-        STATION_CONTACT = #{record.stationContact,jdbcType=VARCHAR},
-      </if>
-      <if test="record.stationAddress != null">
-        STATION_ADDRESS = #{record.stationAddress,jdbcType=VARCHAR},
-      </if>
-      <if test="record.stationLon != null">
-        STATION_LON = #{record.stationLon,jdbcType=DECIMAL},
-      </if>
-      <if test="record.stationLat != null">
-        STATION_LAT = #{record.stationLat,jdbcType=DECIMAL},
-      </if>
-      <if test="record.finishedFlag != null">
-        FINISHED_FLAG = #{record.finishedFlag,jdbcType=CHAR},
-      </if>
-      <if test="record.finishedTime != null">
-        FINISHED_TIME = #{record.finishedTime,jdbcType=DATE},
-      </if>
-      <if test="record.finishedMan != null">
-        FINISHED_MAN = #{record.finishedMan,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    update t_setup
-    set ID = #{record.id,jdbcType=INTEGER},
-      SETUP_ID = #{record.setupId,jdbcType=VARCHAR},
-      STATION_CODE = #{record.stationCode,jdbcType=VARCHAR},
-      STATION_NAME = #{record.stationName,jdbcType=VARCHAR},
-      DEVICE_SN = #{record.deviceSn,jdbcType=VARCHAR},
-      SETUP_TIME = #{record.setupTime,jdbcType=TIMESTAMP},
-      SETUP_MAN = #{record.setupMan,jdbcType=VARCHAR},
-      FLOOR_RSRP = #{record.floorRsrp,jdbcType=INTEGER},
-      STATION_CONTACT = #{record.stationContact,jdbcType=VARCHAR},
-      STATION_ADDRESS = #{record.stationAddress,jdbcType=VARCHAR},
-      STATION_LON = #{record.stationLon,jdbcType=DECIMAL},
-      STATION_LAT = #{record.stationLat,jdbcType=DECIMAL},
-      FINISHED_FLAG = #{record.finishedFlag,jdbcType=CHAR},
-      FINISHED_TIME = #{record.finishedTime,jdbcType=DATE},
-      FINISHED_MAN = #{record.finishedMan,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.mvc.entity.TSetup">
-    update t_setup
-    <set>
-      <if test="setupId != null">
-        SETUP_ID = #{setupId,jdbcType=VARCHAR},
-      </if>
-      <if test="stationCode != null">
-        STATION_CODE = #{stationCode,jdbcType=VARCHAR},
-      </if>
-      <if test="stationName != null">
-        STATION_NAME = #{stationName,jdbcType=VARCHAR},
-      </if>
-      <if test="deviceSn != null">
-        DEVICE_SN = #{deviceSn,jdbcType=VARCHAR},
-      </if>
-      <if test="setupTime != null">
-        SETUP_TIME = #{setupTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="setupMan != null">
-        SETUP_MAN = #{setupMan,jdbcType=VARCHAR},
-      </if>
-      <if test="floorRsrp != null">
-        FLOOR_RSRP = #{floorRsrp,jdbcType=INTEGER},
-      </if>
-      <if test="stationContact != null">
-        STATION_CONTACT = #{stationContact,jdbcType=VARCHAR},
-      </if>
-      <if test="stationAddress != null">
-        STATION_ADDRESS = #{stationAddress,jdbcType=VARCHAR},
-      </if>
-      <if test="stationLon != null">
-        STATION_LON = #{stationLon,jdbcType=DECIMAL},
-      </if>
-      <if test="stationLat != null">
-        STATION_LAT = #{stationLat,jdbcType=DECIMAL},
-      </if>
-      <if test="finishedFlag != null">
-        FINISHED_FLAG = #{finishedFlag,jdbcType=CHAR},
-      </if>
-      <if test="finishedTime != null">
-        FINISHED_TIME = #{finishedTime,jdbcType=DATE},
-      </if>
-      <if test="finishedMan != null">
-        FINISHED_MAN = #{finishedMan,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where ID = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.mvc.entity.TSetup">
-    update t_setup
-    set SETUP_ID = #{setupId,jdbcType=VARCHAR},
-      STATION_CODE = #{stationCode,jdbcType=VARCHAR},
-      STATION_NAME = #{stationName,jdbcType=VARCHAR},
-      DEVICE_SN = #{deviceSn,jdbcType=VARCHAR},
-      SETUP_TIME = #{setupTime,jdbcType=TIMESTAMP},
-      SETUP_MAN = #{setupMan,jdbcType=VARCHAR},
-      FLOOR_RSRP = #{floorRsrp,jdbcType=INTEGER},
-      STATION_CONTACT = #{stationContact,jdbcType=VARCHAR},
-      STATION_ADDRESS = #{stationAddress,jdbcType=VARCHAR},
-      STATION_LON = #{stationLon,jdbcType=DECIMAL},
-      STATION_LAT = #{stationLat,jdbcType=DECIMAL},
-      FINISHED_FLAG = #{finishedFlag,jdbcType=CHAR},
-      FINISHED_TIME = #{finishedTime,jdbcType=DATE},
-      FINISHED_MAN = #{finishedMan,jdbcType=VARCHAR}
-    where ID = #{id,jdbcType=INTEGER}
-  </update>
 </mapper>

+ 0 - 287
kaojiplatform/src/main/resources/com/mvc/dao/TSetupPicMapper.xml

@@ -288,291 +288,4 @@
       CREAE_MAN = #{creaeMan,jdbcType=VARCHAR}
     where ID = #{id,jdbcType=INTEGER}
   </update>
-  <resultMap id="BaseResultMap" type="com.mvc.entity.TSetupPic">
-    <id column="ID" jdbcType="INTEGER" property="id" />
-    <result column="PIC_ID" jdbcType="VARCHAR" property="picId" />
-    <result column="SETUP_ID" jdbcType="VARCHAR" property="setupId" />
-    <result column="PIC_TYPE" jdbcType="INTEGER" property="picType" />
-    <result column="PIC_NAME" jdbcType="VARCHAR" property="picName" />
-    <result column="PIC_URL" jdbcType="VARCHAR" property="picUrl" />
-    <result column="PIC_LON" jdbcType="DECIMAL" property="picLon" />
-    <result column="PIC_LAT" jdbcType="VARCHAR" property="picLat" />
-    <result column="CREATE_TIME" jdbcType="DATE" property="createTime" />
-    <result column="CREAE_MAN" jdbcType="VARCHAR" property="creaeMan" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    ID, PIC_ID, SETUP_ID, PIC_TYPE, PIC_NAME, PIC_URL, PIC_LON, PIC_LAT, CREATE_TIME, 
-    CREAE_MAN
-  </sql>
-  <select id="selectByExample" parameterType="com.mvc.entity.TSetupPicExample" resultMap="BaseResultMap">
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from t_setup_pic
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from t_setup_pic
-    where ID = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    delete from t_setup_pic
-    where ID = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.mvc.entity.TSetupPicExample">
-    delete from t_setup_pic
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.mvc.entity.TSetupPic">
-    insert into t_setup_pic (ID, PIC_ID, SETUP_ID, 
-      PIC_TYPE, PIC_NAME, PIC_URL, 
-      PIC_LON, PIC_LAT, CREATE_TIME, 
-      CREAE_MAN)
-    values (#{id,jdbcType=INTEGER}, #{picId,jdbcType=VARCHAR}, #{setupId,jdbcType=VARCHAR}, 
-      #{picType,jdbcType=INTEGER}, #{picName,jdbcType=VARCHAR}, #{picUrl,jdbcType=VARCHAR}, 
-      #{picLon,jdbcType=DECIMAL}, #{picLat,jdbcType=VARCHAR}, #{createTime,jdbcType=DATE}, 
-      #{creaeMan,jdbcType=VARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="com.mvc.entity.TSetupPic">
-    insert into t_setup_pic
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        ID,
-      </if>
-      <if test="picId != null">
-        PIC_ID,
-      </if>
-      <if test="setupId != null">
-        SETUP_ID,
-      </if>
-      <if test="picType != null">
-        PIC_TYPE,
-      </if>
-      <if test="picName != null">
-        PIC_NAME,
-      </if>
-      <if test="picUrl != null">
-        PIC_URL,
-      </if>
-      <if test="picLon != null">
-        PIC_LON,
-      </if>
-      <if test="picLat != null">
-        PIC_LAT,
-      </if>
-      <if test="createTime != null">
-        CREATE_TIME,
-      </if>
-      <if test="creaeMan != null">
-        CREAE_MAN,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        #{id,jdbcType=INTEGER},
-      </if>
-      <if test="picId != null">
-        #{picId,jdbcType=VARCHAR},
-      </if>
-      <if test="setupId != null">
-        #{setupId,jdbcType=VARCHAR},
-      </if>
-      <if test="picType != null">
-        #{picType,jdbcType=INTEGER},
-      </if>
-      <if test="picName != null">
-        #{picName,jdbcType=VARCHAR},
-      </if>
-      <if test="picUrl != null">
-        #{picUrl,jdbcType=VARCHAR},
-      </if>
-      <if test="picLon != null">
-        #{picLon,jdbcType=DECIMAL},
-      </if>
-      <if test="picLat != null">
-        #{picLat,jdbcType=VARCHAR},
-      </if>
-      <if test="createTime != null">
-        #{createTime,jdbcType=DATE},
-      </if>
-      <if test="creaeMan != null">
-        #{creaeMan,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.mvc.entity.TSetupPicExample" resultType="java.lang.Long">
-    select count(*) from t_setup_pic
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    update t_setup_pic
-    <set>
-      <if test="record.id != null">
-        ID = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.picId != null">
-        PIC_ID = #{record.picId,jdbcType=VARCHAR},
-      </if>
-      <if test="record.setupId != null">
-        SETUP_ID = #{record.setupId,jdbcType=VARCHAR},
-      </if>
-      <if test="record.picType != null">
-        PIC_TYPE = #{record.picType,jdbcType=INTEGER},
-      </if>
-      <if test="record.picName != null">
-        PIC_NAME = #{record.picName,jdbcType=VARCHAR},
-      </if>
-      <if test="record.picUrl != null">
-        PIC_URL = #{record.picUrl,jdbcType=VARCHAR},
-      </if>
-      <if test="record.picLon != null">
-        PIC_LON = #{record.picLon,jdbcType=DECIMAL},
-      </if>
-      <if test="record.picLat != null">
-        PIC_LAT = #{record.picLat,jdbcType=VARCHAR},
-      </if>
-      <if test="record.createTime != null">
-        CREATE_TIME = #{record.createTime,jdbcType=DATE},
-      </if>
-      <if test="record.creaeMan != null">
-        CREAE_MAN = #{record.creaeMan,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    update t_setup_pic
-    set ID = #{record.id,jdbcType=INTEGER},
-      PIC_ID = #{record.picId,jdbcType=VARCHAR},
-      SETUP_ID = #{record.setupId,jdbcType=VARCHAR},
-      PIC_TYPE = #{record.picType,jdbcType=INTEGER},
-      PIC_NAME = #{record.picName,jdbcType=VARCHAR},
-      PIC_URL = #{record.picUrl,jdbcType=VARCHAR},
-      PIC_LON = #{record.picLon,jdbcType=DECIMAL},
-      PIC_LAT = #{record.picLat,jdbcType=VARCHAR},
-      CREATE_TIME = #{record.createTime,jdbcType=DATE},
-      CREAE_MAN = #{record.creaeMan,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.mvc.entity.TSetupPic">
-    update t_setup_pic
-    <set>
-      <if test="picId != null">
-        PIC_ID = #{picId,jdbcType=VARCHAR},
-      </if>
-      <if test="setupId != null">
-        SETUP_ID = #{setupId,jdbcType=VARCHAR},
-      </if>
-      <if test="picType != null">
-        PIC_TYPE = #{picType,jdbcType=INTEGER},
-      </if>
-      <if test="picName != null">
-        PIC_NAME = #{picName,jdbcType=VARCHAR},
-      </if>
-      <if test="picUrl != null">
-        PIC_URL = #{picUrl,jdbcType=VARCHAR},
-      </if>
-      <if test="picLon != null">
-        PIC_LON = #{picLon,jdbcType=DECIMAL},
-      </if>
-      <if test="picLat != null">
-        PIC_LAT = #{picLat,jdbcType=VARCHAR},
-      </if>
-      <if test="createTime != null">
-        CREATE_TIME = #{createTime,jdbcType=DATE},
-      </if>
-      <if test="creaeMan != null">
-        CREAE_MAN = #{creaeMan,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where ID = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.mvc.entity.TSetupPic">
-    update t_setup_pic
-    set PIC_ID = #{picId,jdbcType=VARCHAR},
-      SETUP_ID = #{setupId,jdbcType=VARCHAR},
-      PIC_TYPE = #{picType,jdbcType=INTEGER},
-      PIC_NAME = #{picName,jdbcType=VARCHAR},
-      PIC_URL = #{picUrl,jdbcType=VARCHAR},
-      PIC_LON = #{picLon,jdbcType=DECIMAL},
-      PIC_LAT = #{picLat,jdbcType=VARCHAR},
-      CREATE_TIME = #{createTime,jdbcType=DATE},
-      CREAE_MAN = #{creaeMan,jdbcType=VARCHAR}
-    where ID = #{id,jdbcType=INTEGER}
-  </update>
 </mapper>