Browse Source

企业服务管理-增删个改

Liudijing 1 year ago
parent
commit
55dd544118

+ 37 - 0
src/main/java/com/hz/employmentsite/mapper/PcCompanyMapper.java

@@ -0,0 +1,37 @@
+package com.hz.employmentsite.mapper;
+
+import com.hz.employmentsite.model.PcCompany;
+import com.hz.employmentsite.model.PcCompanyExample;
+import com.hz.employmentsite.model.PcCompanyWithBLOBs;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface PcCompanyMapper {
+    long countByExample(PcCompanyExample example);
+
+    int deleteByExample(PcCompanyExample example);
+
+    int deleteByPrimaryKey(String companyID);
+
+    int insert(PcCompanyWithBLOBs row);
+
+    int insertSelective(PcCompanyWithBLOBs row);
+
+    List<PcCompanyWithBLOBs> selectByExampleWithBLOBs(PcCompanyExample example);
+
+    List<PcCompany> selectByExample(PcCompanyExample example);
+
+    PcCompanyWithBLOBs selectByPrimaryKey(String companyID);
+
+    int updateByExampleSelective(@Param("row") PcCompanyWithBLOBs row, @Param("example") PcCompanyExample example);
+
+    int updateByExampleWithBLOBs(@Param("row") PcCompanyWithBLOBs row, @Param("example") PcCompanyExample example);
+
+    int updateByExample(@Param("row") PcCompany row, @Param("example") PcCompanyExample example);
+
+    int updateByPrimaryKeySelective(PcCompanyWithBLOBs row);
+
+    int updateByPrimaryKeyWithBLOBs(PcCompanyWithBLOBs row);
+
+    int updateByPrimaryKey(PcCompany row);
+}

+ 205 - 0
src/main/java/com/hz/employmentsite/model/PcCompany.java

@@ -0,0 +1,205 @@
+package com.hz.employmentsite.model;
+
+import java.util.Date;
+
+public class PcCompany {
+    private String companyID;
+
+    private String siteID;
+
+    private String regionCode;
+
+    private String streetCode;
+
+    private String companyName;
+
+    private String companyCode;
+
+    private String companyModel;
+
+    private String workSituation;
+
+    private String companyType;
+
+    private String address;
+
+    private String userName;
+
+    private String userMobile;
+
+    private String companyEmail;
+
+    private String frName;
+
+    private Date validTime;
+
+    private Integer recordStatus;
+
+    private String createUserID;
+
+    private Date createTime;
+
+    private String modifyUserID;
+
+    private Date modifyTime;
+
+    public String getCompanyID() {
+        return companyID;
+    }
+
+    public void setCompanyID(String companyID) {
+        this.companyID = companyID == null ? null : companyID.trim();
+    }
+
+    public String getSiteID() {
+        return siteID;
+    }
+
+    public void setSiteID(String siteID) {
+        this.siteID = siteID == null ? null : siteID.trim();
+    }
+
+    public String getRegionCode() {
+        return regionCode;
+    }
+
+    public void setRegionCode(String regionCode) {
+        this.regionCode = regionCode == null ? null : regionCode.trim();
+    }
+
+    public String getStreetCode() {
+        return streetCode;
+    }
+
+    public void setStreetCode(String streetCode) {
+        this.streetCode = streetCode == null ? null : streetCode.trim();
+    }
+
+    public String getCompanyName() {
+        return companyName;
+    }
+
+    public void setCompanyName(String companyName) {
+        this.companyName = companyName == null ? null : companyName.trim();
+    }
+
+    public String getCompanyCode() {
+        return companyCode;
+    }
+
+    public void setCompanyCode(String companyCode) {
+        this.companyCode = companyCode == null ? null : companyCode.trim();
+    }
+
+    public String getCompanyModel() {
+        return companyModel;
+    }
+
+    public void setCompanyModel(String companyModel) {
+        this.companyModel = companyModel == null ? null : companyModel.trim();
+    }
+
+    public String getWorkSituation() {
+        return workSituation;
+    }
+
+    public void setWorkSituation(String workSituation) {
+        this.workSituation = workSituation == null ? null : workSituation.trim();
+    }
+
+    public String getCompanyType() {
+        return companyType;
+    }
+
+    public void setCompanyType(String companyType) {
+        this.companyType = companyType == null ? null : companyType.trim();
+    }
+
+    public String getAddress() {
+        return address;
+    }
+
+    public void setAddress(String address) {
+        this.address = address == null ? null : address.trim();
+    }
+
+    public String getUserName() {
+        return userName;
+    }
+
+    public void setUserName(String userName) {
+        this.userName = userName == null ? null : userName.trim();
+    }
+
+    public String getUserMobile() {
+        return userMobile;
+    }
+
+    public void setUserMobile(String userMobile) {
+        this.userMobile = userMobile == null ? null : userMobile.trim();
+    }
+
+    public String getCompanyEmail() {
+        return companyEmail;
+    }
+
+    public void setCompanyEmail(String companyEmail) {
+        this.companyEmail = companyEmail == null ? null : companyEmail.trim();
+    }
+
+    public String getFrName() {
+        return frName;
+    }
+
+    public void setFrName(String frName) {
+        this.frName = frName == null ? null : frName.trim();
+    }
+
+    public Date getValidTime() {
+        return validTime;
+    }
+
+    public void setValidTime(Date validTime) {
+        this.validTime = validTime;
+    }
+
+    public Integer getRecordStatus() {
+        return recordStatus;
+    }
+
+    public void setRecordStatus(Integer recordStatus) {
+        this.recordStatus = recordStatus;
+    }
+
+    public String getCreateUserID() {
+        return createUserID;
+    }
+
+    public void setCreateUserID(String createUserID) {
+        this.createUserID = createUserID == null ? null : createUserID.trim();
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getModifyUserID() {
+        return modifyUserID;
+    }
+
+    public void setModifyUserID(String modifyUserID) {
+        this.modifyUserID = modifyUserID == null ? null : modifyUserID.trim();
+    }
+
+    public Date getModifyTime() {
+        return modifyTime;
+    }
+
+    public void setModifyTime(Date modifyTime) {
+        this.modifyTime = modifyTime;
+    }
+}

File diff suppressed because it is too large
+ 1560 - 0
src/main/java/com/hz/employmentsite/model/PcCompanyExample.java


+ 552 - 0
src/main/resources/mapping/PcCompanyMapper.xml

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