|
@@ -0,0 +1,664 @@
|
|
|
+<?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.PcFirmMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.hz.employmentsite.model.PcFirm">
|
|
|
+ <id column="id" jdbcType="INTEGER" property="id"/>
|
|
|
+ <result column="FirmName" jdbcType="VARCHAR" property="firmName"/>
|
|
|
+ <result column="OperatingStatus" jdbcType="VARCHAR" property="operatingStatus"/>
|
|
|
+ <result column="DbrName" jdbcType="VARCHAR" property="dbrName"/>
|
|
|
+ <result column="RegisteredCapital" jdbcType="VARCHAR" property="registeredCapital"/>
|
|
|
+ <result column="PaidInCapital" jdbcType="VARCHAR" property="paidInCapital"/>
|
|
|
+ <result column="EstablishmentDate" jdbcType="VARCHAR" property="establishmentDate"/>
|
|
|
+ <result column="ExamineDate" jdbcType="VARCHAR" property="examineDate"/>
|
|
|
+ <result column="OperatingTerm" jdbcType="VARCHAR" property="operatingTerm"/>
|
|
|
+ <result column="HomeProvince" jdbcType="VARCHAR" property="homeProvince"/>
|
|
|
+ <result column="HomeCity" jdbcType="VARCHAR" property="homeCity"/>
|
|
|
+ <result column="HomeRegion" jdbcType="VARCHAR" property="homeRegion"/>
|
|
|
+ <result column="LxMobile" jdbcType="VARCHAR" property="lxMobile"/>
|
|
|
+ <result column="Email" jdbcType="VARCHAR" property="email"/>
|
|
|
+ <result column="CompanyCode" jdbcType="VARCHAR" property="companyCode"/>
|
|
|
+ <result column="RatepayerCode" jdbcType="VARCHAR" property="ratepayerCode"/>
|
|
|
+ <result column="BusinessSignCode" jdbcType="VARCHAR" property="businessSignCode"/>
|
|
|
+ <result column="OrgCode" jdbcType="VARCHAR" property="orgCode"/>
|
|
|
+ <result column="InsuredCount" jdbcType="VARCHAR" property="insuredCount"/>
|
|
|
+ <result column="FirmType" jdbcType="VARCHAR" property="firmType"/>
|
|
|
+ <result column="Industry" jdbcType="VARCHAR" property="industry"/>
|
|
|
+ <result column="EnterpriseName" jdbcType="VARCHAR" property="enterpriseName"/>
|
|
|
+ <result column="SignAddress" jdbcType="VARCHAR" property="signAddress"/>
|
|
|
+ <result column="LatestAddress" jdbcType="VARCHAR" property="latestAddress"/>
|
|
|
+ <result column="Website" jdbcType="VARCHAR" property="website"/>
|
|
|
+ </resultMap>
|
|
|
+ <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.hz.employmentsite.model.PcFirmWithBLOBs">
|
|
|
+ <result column="MoreMobile" jdbcType="LONGVARCHAR" property="moreMobile"/>
|
|
|
+ <result column="MoreEmail" jdbcType="LONGVARCHAR" property="moreEmail"/>
|
|
|
+ <result column="BusinessScope" jdbcType="LONGVARCHAR" property="businessScope"/>
|
|
|
+ </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
|
|
|
+ , FirmName, OperatingStatus, DbrName, RegisteredCapital, PaidInCapital, EstablishmentDate,
|
|
|
+ ExamineDate, OperatingTerm, HomeProvince, HomeCity, HomeRegion, LxMobile, Email,
|
|
|
+ CompanyCode, RatepayerCode, BusinessSignCode, OrgCode, InsuredCount, FirmType, Industry,
|
|
|
+ EnterpriseName, SignAddress, LatestAddress, Website, BusinessScope
|
|
|
+ </sql>
|
|
|
+ <sql id="Blob_Column_List">
|
|
|
+ MoreMobile
|
|
|
+ , MoreEmail, BusinessScope
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExampleWithBLOBs" parameterType="com.hz.employmentsite.model.PcFirmExample"
|
|
|
+ resultMap="ResultMapWithBLOBs">
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ ,
|
|
|
+ <include refid="Blob_Column_List"/>
|
|
|
+ from pc_firm
|
|
|
+ <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.PcFirmExample" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ from pc_firm
|
|
|
+ <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="ResultMapWithBLOBs">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ ,
|
|
|
+ <include refid="Blob_Column_List"/>
|
|
|
+ from pc_firm
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
|
+ delete
|
|
|
+ from pc_firm
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.hz.employmentsite.model.PcFirmExample">
|
|
|
+ delete from pc_firm
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.hz.employmentsite.model.PcFirmWithBLOBs">
|
|
|
+ insert into pc_firm (id, FirmName, OperatingStatus,
|
|
|
+ DbrName, RegisteredCapital, PaidInCapital,
|
|
|
+ EstablishmentDate, ExamineDate, OperatingTerm,
|
|
|
+ HomeProvince, HomeCity, HomeRegion,
|
|
|
+ LxMobile, Email, CompanyCode,
|
|
|
+ RatepayerCode, BusinessSignCode, OrgCode,
|
|
|
+ InsuredCount, FirmType, Industry,
|
|
|
+ EnterpriseName, SignAddress, LatestAddress,
|
|
|
+ Website, MoreMobile, MoreEmail,
|
|
|
+ BusinessScope)
|
|
|
+ values (#{id,jdbcType=INTEGER}, #{firmName,jdbcType=VARCHAR}, #{operatingStatus,jdbcType=VARCHAR},
|
|
|
+ #{dbrName,jdbcType=VARCHAR}, #{registeredCapital,jdbcType=VARCHAR}, #{paidInCapital,jdbcType=VARCHAR},
|
|
|
+ #{establishmentDate,jdbcType=VARCHAR}, #{examineDate,jdbcType=VARCHAR},
|
|
|
+ #{operatingTerm,jdbcType=VARCHAR},
|
|
|
+ #{homeProvince,jdbcType=VARCHAR}, #{homeCity,jdbcType=VARCHAR}, #{homeRegion,jdbcType=VARCHAR},
|
|
|
+ #{lxMobile,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{companyCode,jdbcType=VARCHAR},
|
|
|
+ #{ratepayerCode,jdbcType=VARCHAR}, #{businessSignCode,jdbcType=VARCHAR}, #{orgCode,jdbcType=VARCHAR},
|
|
|
+ #{insuredCount,jdbcType=VARCHAR}, #{firmType,jdbcType=VARCHAR}, #{industry,jdbcType=VARCHAR},
|
|
|
+ #{enterpriseName,jdbcType=VARCHAR}, #{signAddress,jdbcType=VARCHAR}, #{latestAddress,jdbcType=VARCHAR},
|
|
|
+ #{website,jdbcType=VARCHAR}, #{moreMobile,jdbcType=LONGVARCHAR}, #{moreEmail,jdbcType=LONGVARCHAR},
|
|
|
+ #{businessScope,jdbcType=LONGVARCHAR})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcFirmWithBLOBs">
|
|
|
+ insert into pc_firm
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ id,
|
|
|
+ </if>
|
|
|
+ <if test="firmName != null">
|
|
|
+ FirmName,
|
|
|
+ </if>
|
|
|
+ <if test="operatingStatus != null">
|
|
|
+ OperatingStatus,
|
|
|
+ </if>
|
|
|
+ <if test="dbrName != null">
|
|
|
+ DbrName,
|
|
|
+ </if>
|
|
|
+ <if test="registeredCapital != null">
|
|
|
+ RegisteredCapital,
|
|
|
+ </if>
|
|
|
+ <if test="paidInCapital != null">
|
|
|
+ PaidInCapital,
|
|
|
+ </if>
|
|
|
+ <if test="establishmentDate != null">
|
|
|
+ EstablishmentDate,
|
|
|
+ </if>
|
|
|
+ <if test="examineDate != null">
|
|
|
+ ExamineDate,
|
|
|
+ </if>
|
|
|
+ <if test="operatingTerm != null">
|
|
|
+ OperatingTerm,
|
|
|
+ </if>
|
|
|
+ <if test="homeProvince != null">
|
|
|
+ HomeProvince,
|
|
|
+ </if>
|
|
|
+ <if test="homeCity != null">
|
|
|
+ HomeCity,
|
|
|
+ </if>
|
|
|
+ <if test="homeRegion != null">
|
|
|
+ HomeRegion,
|
|
|
+ </if>
|
|
|
+ <if test="lxMobile != null">
|
|
|
+ LxMobile,
|
|
|
+ </if>
|
|
|
+ <if test="email != null">
|
|
|
+ Email,
|
|
|
+ </if>
|
|
|
+ <if test="companyCode != null">
|
|
|
+ CompanyCode,
|
|
|
+ </if>
|
|
|
+ <if test="ratepayerCode != null">
|
|
|
+ RatepayerCode,
|
|
|
+ </if>
|
|
|
+ <if test="businessSignCode != null">
|
|
|
+ BusinessSignCode,
|
|
|
+ </if>
|
|
|
+ <if test="orgCode != null">
|
|
|
+ OrgCode,
|
|
|
+ </if>
|
|
|
+ <if test="insuredCount != null">
|
|
|
+ InsuredCount,
|
|
|
+ </if>
|
|
|
+ <if test="firmType != null">
|
|
|
+ FirmType,
|
|
|
+ </if>
|
|
|
+ <if test="industry != null">
|
|
|
+ Industry,
|
|
|
+ </if>
|
|
|
+ <if test="enterpriseName != null">
|
|
|
+ EnterpriseName,
|
|
|
+ </if>
|
|
|
+ <if test="signAddress != null">
|
|
|
+ SignAddress,
|
|
|
+ </if>
|
|
|
+ <if test="latestAddress != null">
|
|
|
+ LatestAddress,
|
|
|
+ </if>
|
|
|
+ <if test="website != null">
|
|
|
+ Website,
|
|
|
+ </if>
|
|
|
+ <if test="moreMobile != null">
|
|
|
+ MoreMobile,
|
|
|
+ </if>
|
|
|
+ <if test="moreEmail != null">
|
|
|
+ MoreEmail,
|
|
|
+ </if>
|
|
|
+ <if test="businessScope != null">
|
|
|
+ BusinessScope,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="firmName != null">
|
|
|
+ #{firmName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="operatingStatus != null">
|
|
|
+ #{operatingStatus,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="dbrName != null">
|
|
|
+ #{dbrName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="registeredCapital != null">
|
|
|
+ #{registeredCapital,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="paidInCapital != null">
|
|
|
+ #{paidInCapital,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="establishmentDate != null">
|
|
|
+ #{establishmentDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="examineDate != null">
|
|
|
+ #{examineDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="operatingTerm != null">
|
|
|
+ #{operatingTerm,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="homeProvince != null">
|
|
|
+ #{homeProvince,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="homeCity != null">
|
|
|
+ #{homeCity,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="homeRegion != null">
|
|
|
+ #{homeRegion,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="lxMobile != null">
|
|
|
+ #{lxMobile,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="email != null">
|
|
|
+ #{email,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyCode != null">
|
|
|
+ #{companyCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ratepayerCode != null">
|
|
|
+ #{ratepayerCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="businessSignCode != null">
|
|
|
+ #{businessSignCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="orgCode != null">
|
|
|
+ #{orgCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="insuredCount != null">
|
|
|
+ #{insuredCount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="firmType != null">
|
|
|
+ #{firmType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="industry != null">
|
|
|
+ #{industry,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="enterpriseName != null">
|
|
|
+ #{enterpriseName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="signAddress != null">
|
|
|
+ #{signAddress,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="latestAddress != null">
|
|
|
+ #{latestAddress,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="website != null">
|
|
|
+ #{website,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="moreMobile != null">
|
|
|
+ #{moreMobile,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="moreEmail != null">
|
|
|
+ #{moreEmail,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="businessScope != null">
|
|
|
+ #{businessScope,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.hz.employmentsite.model.PcFirmExample" resultType="java.lang.Long">
|
|
|
+ select count(*) from pc_firm
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
+ update pc_firm
|
|
|
+ <set>
|
|
|
+ <if test="row.id != null">
|
|
|
+ id = #{row.id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="row.firmName != null">
|
|
|
+ FirmName = #{row.firmName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.operatingStatus != null">
|
|
|
+ OperatingStatus = #{row.operatingStatus,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.dbrName != null">
|
|
|
+ DbrName = #{row.dbrName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.registeredCapital != null">
|
|
|
+ RegisteredCapital = #{row.registeredCapital,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.paidInCapital != null">
|
|
|
+ PaidInCapital = #{row.paidInCapital,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.establishmentDate != null">
|
|
|
+ EstablishmentDate = #{row.establishmentDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.examineDate != null">
|
|
|
+ ExamineDate = #{row.examineDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.operatingTerm != null">
|
|
|
+ OperatingTerm = #{row.operatingTerm,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.homeProvince != null">
|
|
|
+ HomeProvince = #{row.homeProvince,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.homeCity != null">
|
|
|
+ HomeCity = #{row.homeCity,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.homeRegion != null">
|
|
|
+ HomeRegion = #{row.homeRegion,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.lxMobile != null">
|
|
|
+ LxMobile = #{row.lxMobile,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.email != null">
|
|
|
+ Email = #{row.email,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.companyCode != null">
|
|
|
+ CompanyCode = #{row.companyCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.ratepayerCode != null">
|
|
|
+ RatepayerCode = #{row.ratepayerCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.businessSignCode != null">
|
|
|
+ BusinessSignCode = #{row.businessSignCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.orgCode != null">
|
|
|
+ OrgCode = #{row.orgCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.insuredCount != null">
|
|
|
+ InsuredCount = #{row.insuredCount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.firmType != null">
|
|
|
+ FirmType = #{row.firmType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.industry != null">
|
|
|
+ Industry = #{row.industry,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.enterpriseName != null">
|
|
|
+ EnterpriseName = #{row.enterpriseName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.signAddress != null">
|
|
|
+ SignAddress = #{row.signAddress,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.latestAddress != null">
|
|
|
+ LatestAddress = #{row.latestAddress,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.website != null">
|
|
|
+ Website = #{row.website,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.moreMobile != null">
|
|
|
+ MoreMobile = #{row.moreMobile,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.moreEmail != null">
|
|
|
+ MoreEmail = #{row.moreEmail,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.businessScope != null">
|
|
|
+ BusinessScope = #{row.businessScope,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExampleWithBLOBs" parameterType="map">
|
|
|
+ update pc_firm
|
|
|
+ set id = #{row.id,jdbcType=INTEGER},
|
|
|
+ FirmName = #{row.firmName,jdbcType=VARCHAR},
|
|
|
+ OperatingStatus = #{row.operatingStatus,jdbcType=VARCHAR},
|
|
|
+ DbrName = #{row.dbrName,jdbcType=VARCHAR},
|
|
|
+ RegisteredCapital = #{row.registeredCapital,jdbcType=VARCHAR},
|
|
|
+ PaidInCapital = #{row.paidInCapital,jdbcType=VARCHAR},
|
|
|
+ EstablishmentDate = #{row.establishmentDate,jdbcType=VARCHAR},
|
|
|
+ ExamineDate = #{row.examineDate,jdbcType=VARCHAR},
|
|
|
+ OperatingTerm = #{row.operatingTerm,jdbcType=VARCHAR},
|
|
|
+ HomeProvince = #{row.homeProvince,jdbcType=VARCHAR},
|
|
|
+ HomeCity = #{row.homeCity,jdbcType=VARCHAR},
|
|
|
+ HomeRegion = #{row.homeRegion,jdbcType=VARCHAR},
|
|
|
+ LxMobile = #{row.lxMobile,jdbcType=VARCHAR},
|
|
|
+ Email = #{row.email,jdbcType=VARCHAR},
|
|
|
+ CompanyCode = #{row.companyCode,jdbcType=VARCHAR},
|
|
|
+ RatepayerCode = #{row.ratepayerCode,jdbcType=VARCHAR},
|
|
|
+ BusinessSignCode = #{row.businessSignCode,jdbcType=VARCHAR},
|
|
|
+ OrgCode = #{row.orgCode,jdbcType=VARCHAR},
|
|
|
+ InsuredCount = #{row.insuredCount,jdbcType=VARCHAR},
|
|
|
+ FirmType = #{row.firmType,jdbcType=VARCHAR},
|
|
|
+ Industry = #{row.industry,jdbcType=VARCHAR},
|
|
|
+ EnterpriseName = #{row.enterpriseName,jdbcType=VARCHAR},
|
|
|
+ SignAddress = #{row.signAddress,jdbcType=VARCHAR},
|
|
|
+ LatestAddress = #{row.latestAddress,jdbcType=VARCHAR},
|
|
|
+ Website = #{row.website,jdbcType=VARCHAR},
|
|
|
+ MoreMobile = #{row.moreMobile,jdbcType=LONGVARCHAR},
|
|
|
+ MoreEmail = #{row.moreEmail,jdbcType=LONGVARCHAR},
|
|
|
+ BusinessScope = #{row.businessScope,jdbcType=LONGVARCHAR}
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
+ update pc_firm
|
|
|
+ set id = #{row.id,jdbcType=INTEGER},
|
|
|
+ FirmName = #{row.firmName,jdbcType=VARCHAR},
|
|
|
+ OperatingStatus = #{row.operatingStatus,jdbcType=VARCHAR},
|
|
|
+ DbrName = #{row.dbrName,jdbcType=VARCHAR},
|
|
|
+ RegisteredCapital = #{row.registeredCapital,jdbcType=VARCHAR},
|
|
|
+ PaidInCapital = #{row.paidInCapital,jdbcType=VARCHAR},
|
|
|
+ EstablishmentDate = #{row.establishmentDate,jdbcType=VARCHAR},
|
|
|
+ ExamineDate = #{row.examineDate,jdbcType=VARCHAR},
|
|
|
+ OperatingTerm = #{row.operatingTerm,jdbcType=VARCHAR},
|
|
|
+ HomeProvince = #{row.homeProvince,jdbcType=VARCHAR},
|
|
|
+ HomeCity = #{row.homeCity,jdbcType=VARCHAR},
|
|
|
+ HomeRegion = #{row.homeRegion,jdbcType=VARCHAR},
|
|
|
+ LxMobile = #{row.lxMobile,jdbcType=VARCHAR},
|
|
|
+ Email = #{row.email,jdbcType=VARCHAR},
|
|
|
+ CompanyCode = #{row.companyCode,jdbcType=VARCHAR},
|
|
|
+ RatepayerCode = #{row.ratepayerCode,jdbcType=VARCHAR},
|
|
|
+ BusinessSignCode = #{row.businessSignCode,jdbcType=VARCHAR},
|
|
|
+ OrgCode = #{row.orgCode,jdbcType=VARCHAR},
|
|
|
+ InsuredCount = #{row.insuredCount,jdbcType=VARCHAR},
|
|
|
+ FirmType = #{row.firmType,jdbcType=VARCHAR},
|
|
|
+ Industry = #{row.industry,jdbcType=VARCHAR},
|
|
|
+ EnterpriseName = #{row.enterpriseName,jdbcType=VARCHAR},
|
|
|
+ SignAddress = #{row.signAddress,jdbcType=VARCHAR},
|
|
|
+ LatestAddress = #{row.latestAddress,jdbcType=VARCHAR},
|
|
|
+ Website = #{row.website,jdbcType=VARCHAR}
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.hz.employmentsite.model.PcFirmWithBLOBs">
|
|
|
+ update pc_firm
|
|
|
+ <set>
|
|
|
+ <if test="firmName != null">
|
|
|
+ FirmName = #{firmName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="operatingStatus != null">
|
|
|
+ OperatingStatus = #{operatingStatus,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="dbrName != null">
|
|
|
+ DbrName = #{dbrName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="registeredCapital != null">
|
|
|
+ RegisteredCapital = #{registeredCapital,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="paidInCapital != null">
|
|
|
+ PaidInCapital = #{paidInCapital,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="establishmentDate != null">
|
|
|
+ EstablishmentDate = #{establishmentDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="examineDate != null">
|
|
|
+ ExamineDate = #{examineDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="operatingTerm != null">
|
|
|
+ OperatingTerm = #{operatingTerm,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="homeProvince != null">
|
|
|
+ HomeProvince = #{homeProvince,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="homeCity != null">
|
|
|
+ HomeCity = #{homeCity,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="homeRegion != null">
|
|
|
+ HomeRegion = #{homeRegion,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="lxMobile != null">
|
|
|
+ LxMobile = #{lxMobile,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="email != null">
|
|
|
+ Email = #{email,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyCode != null">
|
|
|
+ CompanyCode = #{companyCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ratepayerCode != null">
|
|
|
+ RatepayerCode = #{ratepayerCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="businessSignCode != null">
|
|
|
+ BusinessSignCode = #{businessSignCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="orgCode != null">
|
|
|
+ OrgCode = #{orgCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="insuredCount != null">
|
|
|
+ InsuredCount = #{insuredCount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="firmType != null">
|
|
|
+ FirmType = #{firmType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="industry != null">
|
|
|
+ Industry = #{industry,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="enterpriseName != null">
|
|
|
+ EnterpriseName = #{enterpriseName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="signAddress != null">
|
|
|
+ SignAddress = #{signAddress,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="latestAddress != null">
|
|
|
+ LatestAddress = #{latestAddress,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="website != null">
|
|
|
+ Website = #{website,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="moreMobile != null">
|
|
|
+ MoreMobile = #{moreMobile,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="moreEmail != null">
|
|
|
+ MoreEmail = #{moreEmail,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="businessScope != null">
|
|
|
+ BusinessScope = #{businessScope,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.hz.employmentsite.model.PcFirmWithBLOBs">
|
|
|
+ update pc_firm
|
|
|
+ set FirmName = #{firmName,jdbcType=VARCHAR},
|
|
|
+ OperatingStatus = #{operatingStatus,jdbcType=VARCHAR},
|
|
|
+ DbrName = #{dbrName,jdbcType=VARCHAR},
|
|
|
+ RegisteredCapital = #{registeredCapital,jdbcType=VARCHAR},
|
|
|
+ PaidInCapital = #{paidInCapital,jdbcType=VARCHAR},
|
|
|
+ EstablishmentDate = #{establishmentDate,jdbcType=VARCHAR},
|
|
|
+ ExamineDate = #{examineDate,jdbcType=VARCHAR},
|
|
|
+ OperatingTerm = #{operatingTerm,jdbcType=VARCHAR},
|
|
|
+ HomeProvince = #{homeProvince,jdbcType=VARCHAR},
|
|
|
+ HomeCity = #{homeCity,jdbcType=VARCHAR},
|
|
|
+ HomeRegion = #{homeRegion,jdbcType=VARCHAR},
|
|
|
+ LxMobile = #{lxMobile,jdbcType=VARCHAR},
|
|
|
+ Email = #{email,jdbcType=VARCHAR},
|
|
|
+ CompanyCode = #{companyCode,jdbcType=VARCHAR},
|
|
|
+ RatepayerCode = #{ratepayerCode,jdbcType=VARCHAR},
|
|
|
+ BusinessSignCode = #{businessSignCode,jdbcType=VARCHAR},
|
|
|
+ OrgCode = #{orgCode,jdbcType=VARCHAR},
|
|
|
+ InsuredCount = #{insuredCount,jdbcType=VARCHAR},
|
|
|
+ FirmType = #{firmType,jdbcType=VARCHAR},
|
|
|
+ Industry = #{industry,jdbcType=VARCHAR},
|
|
|
+ EnterpriseName = #{enterpriseName,jdbcType=VARCHAR},
|
|
|
+ SignAddress = #{signAddress,jdbcType=VARCHAR},
|
|
|
+ LatestAddress = #{latestAddress,jdbcType=VARCHAR},
|
|
|
+ Website = #{website,jdbcType=VARCHAR},
|
|
|
+ MoreMobile = #{moreMobile,jdbcType=LONGVARCHAR},
|
|
|
+ MoreEmail = #{moreEmail,jdbcType=LONGVARCHAR},
|
|
|
+ BusinessScope = #{businessScope,jdbcType=LONGVARCHAR}
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.PcFirm">
|
|
|
+ update pc_firm
|
|
|
+ set FirmName = #{firmName,jdbcType=VARCHAR},
|
|
|
+ OperatingStatus = #{operatingStatus,jdbcType=VARCHAR},
|
|
|
+ DbrName = #{dbrName,jdbcType=VARCHAR},
|
|
|
+ RegisteredCapital = #{registeredCapital,jdbcType=VARCHAR},
|
|
|
+ PaidInCapital = #{paidInCapital,jdbcType=VARCHAR},
|
|
|
+ EstablishmentDate = #{establishmentDate,jdbcType=VARCHAR},
|
|
|
+ ExamineDate = #{examineDate,jdbcType=VARCHAR},
|
|
|
+ OperatingTerm = #{operatingTerm,jdbcType=VARCHAR},
|
|
|
+ HomeProvince = #{homeProvince,jdbcType=VARCHAR},
|
|
|
+ HomeCity = #{homeCity,jdbcType=VARCHAR},
|
|
|
+ HomeRegion = #{homeRegion,jdbcType=VARCHAR},
|
|
|
+ LxMobile = #{lxMobile,jdbcType=VARCHAR},
|
|
|
+ Email = #{email,jdbcType=VARCHAR},
|
|
|
+ CompanyCode = #{companyCode,jdbcType=VARCHAR},
|
|
|
+ RatepayerCode = #{ratepayerCode,jdbcType=VARCHAR},
|
|
|
+ BusinessSignCode = #{businessSignCode,jdbcType=VARCHAR},
|
|
|
+ OrgCode = #{orgCode,jdbcType=VARCHAR},
|
|
|
+ InsuredCount = #{insuredCount,jdbcType=VARCHAR},
|
|
|
+ FirmType = #{firmType,jdbcType=VARCHAR},
|
|
|
+ Industry = #{industry,jdbcType=VARCHAR},
|
|
|
+ EnterpriseName = #{enterpriseName,jdbcType=VARCHAR},
|
|
|
+ SignAddress = #{signAddress,jdbcType=VARCHAR},
|
|
|
+ LatestAddress = #{latestAddress,jdbcType=VARCHAR},
|
|
|
+ Website = #{website,jdbcType=VARCHAR}
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+</mapper>
|