|
@@ -5,10 +5,11 @@
|
|
|
<id column="CompanyID" jdbcType="VARCHAR" property="companyID" />
|
|
|
<result column="SiteID" jdbcType="VARCHAR" property="siteID" />
|
|
|
<result column="RegionCode" jdbcType="VARCHAR" property="regionCode" />
|
|
|
+ <result column="InsuredCount" jdbcType="INTEGER" property="insuredCount" />
|
|
|
<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="CompanyModel" jdbcType="INTEGER" property="companyModel" />
|
|
|
<result column="WorkSituation" jdbcType="VARCHAR" property="workSituation" />
|
|
|
<result column="CompanyType" jdbcType="VARCHAR" property="companyType" />
|
|
|
<result column="Address" jdbcType="VARCHAR" property="address" />
|
|
@@ -16,13 +17,12 @@
|
|
|
<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="ValidTime" jdbcType="VARCHAR" 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" />
|
|
|
- <result column="InsuredCount" jdbcType="INTEGER" property="insuredCount" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.hz.employmentsite.model.PcCompanyWithBLOBs">
|
|
|
<result column="BusinScope" jdbcType="LONGVARCHAR" property="businScope" />
|
|
@@ -87,9 +87,9 @@
|
|
|
</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, InsuredCount
|
|
|
+ CompanyID, SiteID, RegionCode, InsuredCount, 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
|
|
@@ -144,20 +144,20 @@
|
|
|
</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, InsuredCount,
|
|
|
+ InsuredCount, 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}, #{insuredCount,jdbcType=INTEGER},
|
|
|
+ #{insuredCount,jdbcType=INTEGER}, #{streetCode,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR},
|
|
|
+ #{companyCode,jdbcType=VARCHAR}, #{companyModel,jdbcType=INTEGER}, #{workSituation,jdbcType=VARCHAR},
|
|
|
+ #{companyType,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR},
|
|
|
+ #{userMobile,jdbcType=VARCHAR}, #{companyEmail,jdbcType=VARCHAR}, #{frName,jdbcType=VARCHAR},
|
|
|
+ #{validTime,jdbcType=VARCHAR}, #{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">
|
|
@@ -172,6 +172,9 @@
|
|
|
<if test="regionCode != null">
|
|
|
RegionCode,
|
|
|
</if>
|
|
|
+ <if test="insuredCount != null">
|
|
|
+ InsuredCount,
|
|
|
+ </if>
|
|
|
<if test="streetCode != null">
|
|
|
StreetCode,
|
|
|
</if>
|
|
@@ -223,9 +226,6 @@
|
|
|
<if test="modifyTime != null">
|
|
|
ModifyTime,
|
|
|
</if>
|
|
|
- <if test="insuredCount != null">
|
|
|
- InsuredCount,
|
|
|
- </if>
|
|
|
<if test="businScope != null">
|
|
|
BusinScope,
|
|
|
</if>
|
|
@@ -243,6 +243,9 @@
|
|
|
<if test="regionCode != null">
|
|
|
#{regionCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="insuredCount != null">
|
|
|
+ #{insuredCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="streetCode != null">
|
|
|
#{streetCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -253,7 +256,7 @@
|
|
|
#{companyCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="companyModel != null">
|
|
|
- #{companyModel,jdbcType=VARCHAR},
|
|
|
+ #{companyModel,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="workSituation != null">
|
|
|
#{workSituation,jdbcType=VARCHAR},
|
|
@@ -277,7 +280,7 @@
|
|
|
#{frName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="validTime != null">
|
|
|
- #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ #{validTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="recordStatus != null">
|
|
|
#{recordStatus,jdbcType=INTEGER},
|
|
@@ -294,9 +297,6 @@
|
|
|
<if test="modifyTime != null">
|
|
|
#{modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="insuredCount != null">
|
|
|
- #{insuredCount,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="businScope != null">
|
|
|
#{businScope,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -323,6 +323,9 @@
|
|
|
<if test="row.regionCode != null">
|
|
|
RegionCode = #{row.regionCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="row.insuredCount != null">
|
|
|
+ InsuredCount = #{row.insuredCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="row.streetCode != null">
|
|
|
StreetCode = #{row.streetCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -333,7 +336,7 @@
|
|
|
CompanyCode = #{row.companyCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="row.companyModel != null">
|
|
|
- CompanyModel = #{row.companyModel,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{row.companyModel,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="row.workSituation != null">
|
|
|
WorkSituation = #{row.workSituation,jdbcType=VARCHAR},
|
|
@@ -357,7 +360,7 @@
|
|
|
FrName = #{row.frName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="row.validTime != null">
|
|
|
- ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{row.validTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="row.recordStatus != null">
|
|
|
RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
|
|
@@ -374,9 +377,6 @@
|
|
|
<if test="row.modifyTime != null">
|
|
|
ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="row.insuredCount != null">
|
|
|
- InsuredCount = #{row.insuredCount,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="row.businScope != null">
|
|
|
BusinScope = #{row.businScope,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -393,10 +393,11 @@
|
|
|
set CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
SiteID = #{row.siteID,jdbcType=VARCHAR},
|
|
|
RegionCode = #{row.regionCode,jdbcType=VARCHAR},
|
|
|
+ InsuredCount = #{row.insuredCount,jdbcType=INTEGER},
|
|
|
StreetCode = #{row.streetCode,jdbcType=VARCHAR},
|
|
|
CompanyName = #{row.companyName,jdbcType=VARCHAR},
|
|
|
CompanyCode = #{row.companyCode,jdbcType=VARCHAR},
|
|
|
- CompanyModel = #{row.companyModel,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{row.companyModel,jdbcType=INTEGER},
|
|
|
WorkSituation = #{row.workSituation,jdbcType=VARCHAR},
|
|
|
CompanyType = #{row.companyType,jdbcType=VARCHAR},
|
|
|
Address = #{row.address,jdbcType=VARCHAR},
|
|
@@ -404,13 +405,12 @@
|
|
|
UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
CompanyEmail = #{row.companyEmail,jdbcType=VARCHAR},
|
|
|
FrName = #{row.frName,jdbcType=VARCHAR},
|
|
|
- ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{row.validTime,jdbcType=VARCHAR},
|
|
|
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},
|
|
|
- InsuredCount = #{row.insuredCount,jdbcType=INTEGER},
|
|
|
BusinScope = #{row.businScope,jdbcType=LONGVARCHAR},
|
|
|
CompanyDesc = #{row.companyDesc,jdbcType=LONGVARCHAR}
|
|
|
<if test="example != null">
|
|
@@ -422,10 +422,11 @@
|
|
|
set CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
SiteID = #{row.siteID,jdbcType=VARCHAR},
|
|
|
RegionCode = #{row.regionCode,jdbcType=VARCHAR},
|
|
|
+ InsuredCount = #{row.insuredCount,jdbcType=INTEGER},
|
|
|
StreetCode = #{row.streetCode,jdbcType=VARCHAR},
|
|
|
CompanyName = #{row.companyName,jdbcType=VARCHAR},
|
|
|
CompanyCode = #{row.companyCode,jdbcType=VARCHAR},
|
|
|
- CompanyModel = #{row.companyModel,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{row.companyModel,jdbcType=INTEGER},
|
|
|
WorkSituation = #{row.workSituation,jdbcType=VARCHAR},
|
|
|
CompanyType = #{row.companyType,jdbcType=VARCHAR},
|
|
|
Address = #{row.address,jdbcType=VARCHAR},
|
|
@@ -433,13 +434,12 @@
|
|
|
UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
CompanyEmail = #{row.companyEmail,jdbcType=VARCHAR},
|
|
|
FrName = #{row.frName,jdbcType=VARCHAR},
|
|
|
- ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{row.validTime,jdbcType=VARCHAR},
|
|
|
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},
|
|
|
- InsuredCount = #{row.insuredCount,jdbcType=INTEGER}
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP}
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -453,6 +453,9 @@
|
|
|
<if test="regionCode != null">
|
|
|
RegionCode = #{regionCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="insuredCount != null">
|
|
|
+ InsuredCount = #{insuredCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="streetCode != null">
|
|
|
StreetCode = #{streetCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -463,7 +466,7 @@
|
|
|
CompanyCode = #{companyCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="companyModel != null">
|
|
|
- CompanyModel = #{companyModel,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{companyModel,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="workSituation != null">
|
|
|
WorkSituation = #{workSituation,jdbcType=VARCHAR},
|
|
@@ -487,7 +490,7 @@
|
|
|
FrName = #{frName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="validTime != null">
|
|
|
- ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{validTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="recordStatus != null">
|
|
|
RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
@@ -504,9 +507,6 @@
|
|
|
<if test="modifyTime != null">
|
|
|
ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="insuredCount != null">
|
|
|
- InsuredCount = #{insuredCount,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="businScope != null">
|
|
|
BusinScope = #{businScope,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -520,10 +520,11 @@
|
|
|
update pc_company
|
|
|
set SiteID = #{siteID,jdbcType=VARCHAR},
|
|
|
RegionCode = #{regionCode,jdbcType=VARCHAR},
|
|
|
+ InsuredCount = #{insuredCount,jdbcType=INTEGER},
|
|
|
StreetCode = #{streetCode,jdbcType=VARCHAR},
|
|
|
CompanyName = #{companyName,jdbcType=VARCHAR},
|
|
|
CompanyCode = #{companyCode,jdbcType=VARCHAR},
|
|
|
- CompanyModel = #{companyModel,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{companyModel,jdbcType=INTEGER},
|
|
|
WorkSituation = #{workSituation,jdbcType=VARCHAR},
|
|
|
CompanyType = #{companyType,jdbcType=VARCHAR},
|
|
|
Address = #{address,jdbcType=VARCHAR},
|
|
@@ -531,13 +532,12 @@
|
|
|
UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
CompanyEmail = #{companyEmail,jdbcType=VARCHAR},
|
|
|
FrName = #{frName,jdbcType=VARCHAR},
|
|
|
- ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{validTime,jdbcType=VARCHAR},
|
|
|
RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
- InsuredCount = #{insuredCount,jdbcType=INTEGER},
|
|
|
BusinScope = #{businScope,jdbcType=LONGVARCHAR},
|
|
|
CompanyDesc = #{companyDesc,jdbcType=LONGVARCHAR}
|
|
|
where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
@@ -546,10 +546,11 @@
|
|
|
update pc_company
|
|
|
set SiteID = #{siteID,jdbcType=VARCHAR},
|
|
|
RegionCode = #{regionCode,jdbcType=VARCHAR},
|
|
|
+ InsuredCount = #{insuredCount,jdbcType=INTEGER},
|
|
|
StreetCode = #{streetCode,jdbcType=VARCHAR},
|
|
|
CompanyName = #{companyName,jdbcType=VARCHAR},
|
|
|
CompanyCode = #{companyCode,jdbcType=VARCHAR},
|
|
|
- CompanyModel = #{companyModel,jdbcType=VARCHAR},
|
|
|
+ CompanyModel = #{companyModel,jdbcType=INTEGER},
|
|
|
WorkSituation = #{workSituation,jdbcType=VARCHAR},
|
|
|
CompanyType = #{companyType,jdbcType=VARCHAR},
|
|
|
Address = #{address,jdbcType=VARCHAR},
|
|
@@ -557,13 +558,12 @@
|
|
|
UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
CompanyEmail = #{companyEmail,jdbcType=VARCHAR},
|
|
|
FrName = #{frName,jdbcType=VARCHAR},
|
|
|
- ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{validTime,jdbcType=VARCHAR},
|
|
|
RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
- ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
- InsuredCount = #{insuredCount,jdbcType=INTEGER}
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP}
|
|
|
where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|