|
@@ -0,0 +1,552 @@
|
|
|
+<?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.hz.employmentsite.mapper.PcCompanyMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.hz.employmentsite.model.PcCompany">
|
|
|
+ <id column="CompanyID" jdbcType="VARCHAR" property="companyID" />
|
|
|
+ <result column="SiteID" jdbcType="VARCHAR" property="siteID" />
|
|
|
+ <result column="RegionCode" jdbcType="VARCHAR" property="regionCode" />
|
|
|
+ <result column="StreetCode" jdbcType="VARCHAR" property="streetCode" />
|
|
|
+ <result column="CompanyName" jdbcType="VARCHAR" property="companyName" />
|
|
|
+ <result column="CompanyCode" jdbcType="VARCHAR" property="companyCode" />
|
|
|
+ <result column="CompanyModel" jdbcType="VARCHAR" property="companyModel" />
|
|
|
+ <result column="WorkSituation" jdbcType="VARCHAR" property="workSituation" />
|
|
|
+ <result column="CompanyType" jdbcType="VARCHAR" property="companyType" />
|
|
|
+ <result column="Address" jdbcType="VARCHAR" property="address" />
|
|
|
+ <result column="UserName" jdbcType="VARCHAR" property="userName" />
|
|
|
+ <result column="UserMobile" jdbcType="VARCHAR" property="userMobile" />
|
|
|
+ <result column="CompanyEmail" jdbcType="VARCHAR" property="companyEmail" />
|
|
|
+ <result column="FrName" jdbcType="VARCHAR" property="frName" />
|
|
|
+ <result column="ValidTime" jdbcType="TIMESTAMP" property="validTime" />
|
|
|
+ <result column="RecordStatus" jdbcType="INTEGER" property="recordStatus" />
|
|
|
+ <result column="CreateUserID" jdbcType="VARCHAR" property="createUserID" />
|
|
|
+ <result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
+ <result column="ModifyUserID" jdbcType="VARCHAR" property="modifyUserID" />
|
|
|
+ <result column="ModifyTime" jdbcType="TIMESTAMP" property="modifyTime" />
|
|
|
+ </resultMap>
|
|
|
+ <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.hz.employmentsite.model.PcCompanyWithBLOBs">
|
|
|
+ <result column="BusinScope" jdbcType="LONGVARCHAR" property="businScope" />
|
|
|
+ <result column="CompanyDesc" jdbcType="LONGVARCHAR" property="companyDesc" />
|
|
|
+ </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">
|
|
|
+ CompanyID, SiteID, RegionCode, StreetCode, CompanyName, CompanyCode, CompanyModel,
|
|
|
+ WorkSituation, CompanyType, Address, UserName, UserMobile, CompanyEmail, FrName,
|
|
|
+ ValidTime, RecordStatus, CreateUserID, CreateTime, ModifyUserID, ModifyTime
|
|
|
+ </sql>
|
|
|
+ <sql id="Blob_Column_List">
|
|
|
+ BusinScope, CompanyDesc
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExampleWithBLOBs" parameterType="com.hz.employmentsite.model.PcCompanyExample" resultMap="ResultMapWithBLOBs">
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ ,
|
|
|
+ <include refid="Blob_Column_List" />
|
|
|
+ from pc_company
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ <if test="orderByClause != null">
|
|
|
+ order by ${orderByClause}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <select id="selectByExample" parameterType="com.hz.employmentsite.model.PcCompanyExample" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from pc_company
|
|
|
+ <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.String" resultMap="ResultMapWithBLOBs">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ ,
|
|
|
+ <include refid="Blob_Column_List" />
|
|
|
+ from pc_company
|
|
|
+ where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
+ delete from pc_company
|
|
|
+ where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.hz.employmentsite.model.PcCompanyExample">
|
|
|
+ delete from pc_company
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.hz.employmentsite.model.PcCompanyWithBLOBs">
|
|
|
+ insert into pc_company (CompanyID, SiteID, RegionCode,
|
|
|
+ StreetCode, CompanyName, CompanyCode,
|
|
|
+ CompanyModel, WorkSituation, CompanyType,
|
|
|
+ Address, UserName, UserMobile,
|
|
|
+ CompanyEmail, FrName, ValidTime,
|
|
|
+ RecordStatus, CreateUserID, CreateTime,
|
|
|
+ ModifyUserID, ModifyTime, BusinScope,
|
|
|
+ CompanyDesc)
|
|
|
+ values (#{companyID,jdbcType=VARCHAR}, #{siteID,jdbcType=VARCHAR}, #{regionCode,jdbcType=VARCHAR},
|
|
|
+ #{streetCode,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{companyCode,jdbcType=VARCHAR},
|
|
|
+ #{companyModel,jdbcType=VARCHAR}, #{workSituation,jdbcType=VARCHAR}, #{companyType,jdbcType=VARCHAR},
|
|
|
+ #{address,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{userMobile,jdbcType=VARCHAR},
|
|
|
+ #{companyEmail,jdbcType=VARCHAR}, #{frName,jdbcType=VARCHAR}, #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ #{recordStatus,jdbcType=INTEGER}, #{createUserID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{businScope,jdbcType=LONGVARCHAR},
|
|
|
+ #{companyDesc,jdbcType=LONGVARCHAR})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcCompanyWithBLOBs">
|
|
|
+ insert into pc_company
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="companyID != null">
|
|
|
+ CompanyID,
|
|
|
+ </if>
|
|
|
+ <if test="siteID != null">
|
|
|
+ SiteID,
|
|
|
+ </if>
|
|
|
+ <if test="regionCode != null">
|
|
|
+ RegionCode,
|
|
|
+ </if>
|
|
|
+ <if test="streetCode != null">
|
|
|
+ StreetCode,
|
|
|
+ </if>
|
|
|
+ <if test="companyName != null">
|
|
|
+ CompanyName,
|
|
|
+ </if>
|
|
|
+ <if test="companyCode != null">
|
|
|
+ CompanyCode,
|
|
|
+ </if>
|
|
|
+ <if test="companyModel != null">
|
|
|
+ CompanyModel,
|
|
|
+ </if>
|
|
|
+ <if test="workSituation != null">
|
|
|
+ WorkSituation,
|
|
|
+ </if>
|
|
|
+ <if test="companyType != null">
|
|
|
+ CompanyType,
|
|
|
+ </if>
|
|
|
+ <if test="address != null">
|
|
|
+ Address,
|
|
|
+ </if>
|
|
|
+ <if test="userName != null">
|
|
|
+ UserName,
|
|
|
+ </if>
|
|
|
+ <if test="userMobile != null">
|
|
|
+ UserMobile,
|
|
|
+ </if>
|
|
|
+ <if test="companyEmail != null">
|
|
|
+ CompanyEmail,
|
|
|
+ </if>
|
|
|
+ <if test="frName != null">
|
|
|
+ FrName,
|
|
|
+ </if>
|
|
|
+ <if test="validTime != null">
|
|
|
+ ValidTime,
|
|
|
+ </if>
|
|
|
+ <if test="recordStatus != null">
|
|
|
+ RecordStatus,
|
|
|
+ </if>
|
|
|
+ <if test="createUserID != null">
|
|
|
+ CreateUserID,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ CreateTime,
|
|
|
+ </if>
|
|
|
+ <if test="modifyUserID != null">
|
|
|
+ ModifyUserID,
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null">
|
|
|
+ ModifyTime,
|
|
|
+ </if>
|
|
|
+ <if test="businScope != null">
|
|
|
+ BusinScope,
|
|
|
+ </if>
|
|
|
+ <if test="companyDesc != null">
|
|
|
+ CompanyDesc,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="companyID != null">
|
|
|
+ #{companyID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="siteID != null">
|
|
|
+ #{siteID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="regionCode != null">
|
|
|
+ #{regionCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="streetCode != null">
|
|
|
+ #{streetCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyName != null">
|
|
|
+ #{companyName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyCode != null">
|
|
|
+ #{companyCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyModel != null">
|
|
|
+ #{companyModel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="workSituation != null">
|
|
|
+ #{workSituation,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyType != null">
|
|
|
+ #{companyType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="address != null">
|
|
|
+ #{address,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="userName != null">
|
|
|
+ #{userName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="userMobile != null">
|
|
|
+ #{userMobile,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyEmail != null">
|
|
|
+ #{companyEmail,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="frName != null">
|
|
|
+ #{frName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="validTime != null">
|
|
|
+ #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="recordStatus != null">
|
|
|
+ #{recordStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="createUserID != null">
|
|
|
+ #{createUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="modifyUserID != null">
|
|
|
+ #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null">
|
|
|
+ #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="businScope != null">
|
|
|
+ #{businScope,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyDesc != null">
|
|
|
+ #{companyDesc,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.hz.employmentsite.model.PcCompanyExample" resultType="java.lang.Long">
|
|
|
+ select count(*) from pc_company
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
+ update pc_company
|
|
|
+ <set>
|
|
|
+ <if test="row.companyID != null">
|
|
|
+ CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.siteID != null">
|
|
|
+ SiteID = #{row.siteID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.regionCode != null">
|
|
|
+ RegionCode = #{row.regionCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.streetCode != null">
|
|
|
+ StreetCode = #{row.streetCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.companyName != null">
|
|
|
+ CompanyName = #{row.companyName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.companyCode != null">
|
|
|
+ CompanyCode = #{row.companyCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.companyModel != null">
|
|
|
+ CompanyModel = #{row.companyModel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.workSituation != null">
|
|
|
+ WorkSituation = #{row.workSituation,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.companyType != null">
|
|
|
+ CompanyType = #{row.companyType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.address != null">
|
|
|
+ Address = #{row.address,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.userName != null">
|
|
|
+ UserName = #{row.userName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.userMobile != null">
|
|
|
+ UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.companyEmail != null">
|
|
|
+ CompanyEmail = #{row.companyEmail,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.frName != null">
|
|
|
+ FrName = #{row.frName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.validTime != null">
|
|
|
+ ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="row.recordStatus != null">
|
|
|
+ RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="row.createUserID != null">
|
|
|
+ CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.createTime != null">
|
|
|
+ CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="row.modifyUserID != null">
|
|
|
+ ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.modifyTime != null">
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="row.businScope != null">
|
|
|
+ BusinScope = #{row.businScope,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.companyDesc != null">
|
|
|
+ CompanyDesc = #{row.companyDesc,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExampleWithBLOBs" parameterType="map">
|
|
|
+ update pc_company
|
|
|
+ set CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
+ SiteID = #{row.siteID,jdbcType=VARCHAR},
|
|
|
+ RegionCode = #{row.regionCode,jdbcType=VARCHAR},
|
|
|
+ StreetCode = #{row.streetCode,jdbcType=VARCHAR},
|
|
|
+ CompanyName = #{row.companyName,jdbcType=VARCHAR},
|
|
|
+ CompanyCode = #{row.companyCode,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{row.companyModel,jdbcType=VARCHAR},
|
|
|
+ WorkSituation = #{row.workSituation,jdbcType=VARCHAR},
|
|
|
+ CompanyType = #{row.companyType,jdbcType=VARCHAR},
|
|
|
+ Address = #{row.address,jdbcType=VARCHAR},
|
|
|
+ UserName = #{row.userName,jdbcType=VARCHAR},
|
|
|
+ UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
+ CompanyEmail = #{row.companyEmail,jdbcType=VARCHAR},
|
|
|
+ FrName = #{row.frName,jdbcType=VARCHAR},
|
|
|
+ ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
+ RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
|
|
|
+ CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ BusinScope = #{row.businScope,jdbcType=LONGVARCHAR},
|
|
|
+ CompanyDesc = #{row.companyDesc,jdbcType=LONGVARCHAR}
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
+ update pc_company
|
|
|
+ set CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
+ SiteID = #{row.siteID,jdbcType=VARCHAR},
|
|
|
+ RegionCode = #{row.regionCode,jdbcType=VARCHAR},
|
|
|
+ StreetCode = #{row.streetCode,jdbcType=VARCHAR},
|
|
|
+ CompanyName = #{row.companyName,jdbcType=VARCHAR},
|
|
|
+ CompanyCode = #{row.companyCode,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{row.companyModel,jdbcType=VARCHAR},
|
|
|
+ WorkSituation = #{row.workSituation,jdbcType=VARCHAR},
|
|
|
+ CompanyType = #{row.companyType,jdbcType=VARCHAR},
|
|
|
+ Address = #{row.address,jdbcType=VARCHAR},
|
|
|
+ UserName = #{row.userName,jdbcType=VARCHAR},
|
|
|
+ UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
+ CompanyEmail = #{row.companyEmail,jdbcType=VARCHAR},
|
|
|
+ FrName = #{row.frName,jdbcType=VARCHAR},
|
|
|
+ ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
+ RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
|
|
|
+ CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP}
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.hz.employmentsite.model.PcCompanyWithBLOBs">
|
|
|
+ update pc_company
|
|
|
+ <set>
|
|
|
+ <if test="siteID != null">
|
|
|
+ SiteID = #{siteID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="regionCode != null">
|
|
|
+ RegionCode = #{regionCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="streetCode != null">
|
|
|
+ StreetCode = #{streetCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyName != null">
|
|
|
+ CompanyName = #{companyName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyCode != null">
|
|
|
+ CompanyCode = #{companyCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyModel != null">
|
|
|
+ CompanyModel = #{companyModel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="workSituation != null">
|
|
|
+ WorkSituation = #{workSituation,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyType != null">
|
|
|
+ CompanyType = #{companyType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="address != null">
|
|
|
+ Address = #{address,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="userName != null">
|
|
|
+ UserName = #{userName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="userMobile != null">
|
|
|
+ UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyEmail != null">
|
|
|
+ CompanyEmail = #{companyEmail,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="frName != null">
|
|
|
+ FrName = #{frName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="validTime != null">
|
|
|
+ ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="recordStatus != null">
|
|
|
+ RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="createUserID != null">
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="modifyUserID != null">
|
|
|
+ ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null">
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="businScope != null">
|
|
|
+ BusinScope = #{businScope,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyDesc != null">
|
|
|
+ CompanyDesc = #{companyDesc,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.hz.employmentsite.model.PcCompanyWithBLOBs">
|
|
|
+ update pc_company
|
|
|
+ set SiteID = #{siteID,jdbcType=VARCHAR},
|
|
|
+ RegionCode = #{regionCode,jdbcType=VARCHAR},
|
|
|
+ StreetCode = #{streetCode,jdbcType=VARCHAR},
|
|
|
+ CompanyName = #{companyName,jdbcType=VARCHAR},
|
|
|
+ CompanyCode = #{companyCode,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{companyModel,jdbcType=VARCHAR},
|
|
|
+ WorkSituation = #{workSituation,jdbcType=VARCHAR},
|
|
|
+ CompanyType = #{companyType,jdbcType=VARCHAR},
|
|
|
+ Address = #{address,jdbcType=VARCHAR},
|
|
|
+ UserName = #{userName,jdbcType=VARCHAR},
|
|
|
+ UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
+ CompanyEmail = #{companyEmail,jdbcType=VARCHAR},
|
|
|
+ FrName = #{frName,jdbcType=VARCHAR},
|
|
|
+ ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ BusinScope = #{businScope,jdbcType=LONGVARCHAR},
|
|
|
+ CompanyDesc = #{companyDesc,jdbcType=LONGVARCHAR}
|
|
|
+ where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.PcCompany">
|
|
|
+ update pc_company
|
|
|
+ set SiteID = #{siteID,jdbcType=VARCHAR},
|
|
|
+ RegionCode = #{regionCode,jdbcType=VARCHAR},
|
|
|
+ StreetCode = #{streetCode,jdbcType=VARCHAR},
|
|
|
+ CompanyName = #{companyName,jdbcType=VARCHAR},
|
|
|
+ CompanyCode = #{companyCode,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{companyModel,jdbcType=VARCHAR},
|
|
|
+ WorkSituation = #{workSituation,jdbcType=VARCHAR},
|
|
|
+ CompanyType = #{companyType,jdbcType=VARCHAR},
|
|
|
+ Address = #{address,jdbcType=VARCHAR},
|
|
|
+ UserName = #{userName,jdbcType=VARCHAR},
|
|
|
+ UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
+ CompanyEmail = #{companyEmail,jdbcType=VARCHAR},
|
|
|
+ FrName = #{frName,jdbcType=VARCHAR},
|
|
|
+ ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP}
|
|
|
+ where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|