|
@@ -12,18 +12,18 @@
|
|
|
<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" />
|
|
|
+ <result column="CompanyAddress" jdbcType="VARCHAR" property="companyAddress" />
|
|
|
<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="VARCHAR" property="validTime" />
|
|
|
+ <result column="ValidDate" jdbcType="TIMESTAMP" property="validDate" />
|
|
|
+ <result column="IsShortage" jdbcType="INTEGER" property="isShortage" />
|
|
|
<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="IsShortage" jdbcType="INTEGER" property="isShortage" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.hz.employmentsite.model.PcCompanyWithBLOBs">
|
|
|
<result column="BusinScope" jdbcType="LONGVARCHAR" property="businScope" />
|
|
@@ -89,9 +89,9 @@
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
CompanyID, SiteID, RegionCode, InsuredCount, StreetCode, CompanyName, CompanyCode,
|
|
|
- CompanyModel, WorkSituation, CompanyType, Address, UserName, UserMobile, CompanyEmail,
|
|
|
- FrName, ValidTime, RecordStatus, CreateUserID, CreateTime, ModifyUserID, ModifyTime,
|
|
|
- IsShortage
|
|
|
+ CompanyModel, WorkSituation, CompanyType, CompanyAddress, UserName, UserMobile, CompanyEmail,
|
|
|
+ FrName, ValidDate, IsShortage, RecordStatus, CreateUserID, CreateTime, ModifyUserID,
|
|
|
+ ModifyTime
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
BusinScope, CompanyDesc
|
|
@@ -148,20 +148,20 @@
|
|
|
insert into pc_company (CompanyID, SiteID, RegionCode,
|
|
|
InsuredCount, StreetCode, CompanyName,
|
|
|
CompanyCode, CompanyModel, WorkSituation,
|
|
|
- CompanyType, Address, UserName,
|
|
|
+ CompanyType, CompanyAddress, UserName,
|
|
|
UserMobile, CompanyEmail, FrName,
|
|
|
- ValidTime, RecordStatus, CreateUserID,
|
|
|
- CreateTime, ModifyUserID, ModifyTime,
|
|
|
- IsShortage, BusinScope, CompanyDesc
|
|
|
+ ValidDate, IsShortage, RecordStatus,
|
|
|
+ CreateUserID, CreateTime, ModifyUserID,
|
|
|
+ ModifyTime, BusinScope, CompanyDesc
|
|
|
)
|
|
|
values (#{companyID,jdbcType=VARCHAR}, #{siteID,jdbcType=VARCHAR}, #{regionCode,jdbcType=VARCHAR},
|
|
|
#{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},
|
|
|
+ #{companyType,jdbcType=VARCHAR}, #{companyAddress,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},
|
|
|
- #{isShortage,jdbcType=INTEGER}, #{businScope,jdbcType=LONGVARCHAR}, #{companyDesc,jdbcType=LONGVARCHAR}
|
|
|
+ #{validDate,jdbcType=TIMESTAMP}, #{isShortage,jdbcType=INTEGER}, #{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">
|
|
@@ -197,8 +197,8 @@
|
|
|
<if test="companyType != null">
|
|
|
CompanyType,
|
|
|
</if>
|
|
|
- <if test="address != null">
|
|
|
- Address,
|
|
|
+ <if test="companyAddress != null">
|
|
|
+ CompanyAddress,
|
|
|
</if>
|
|
|
<if test="userName != null">
|
|
|
UserName,
|
|
@@ -212,8 +212,11 @@
|
|
|
<if test="frName != null">
|
|
|
FrName,
|
|
|
</if>
|
|
|
- <if test="validTime != null">
|
|
|
- ValidTime,
|
|
|
+ <if test="validDate != null">
|
|
|
+ ValidDate,
|
|
|
+ </if>
|
|
|
+ <if test="isShortage != null">
|
|
|
+ IsShortage,
|
|
|
</if>
|
|
|
<if test="recordStatus != null">
|
|
|
RecordStatus,
|
|
@@ -230,9 +233,6 @@
|
|
|
<if test="modifyTime != null">
|
|
|
ModifyTime,
|
|
|
</if>
|
|
|
- <if test="isShortage != null">
|
|
|
- IsShortage,
|
|
|
- </if>
|
|
|
<if test="businScope != null">
|
|
|
BusinScope,
|
|
|
</if>
|
|
@@ -271,8 +271,8 @@
|
|
|
<if test="companyType != null">
|
|
|
#{companyType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="address != null">
|
|
|
- #{address,jdbcType=VARCHAR},
|
|
|
+ <if test="companyAddress != null">
|
|
|
+ #{companyAddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="userName != null">
|
|
|
#{userName,jdbcType=VARCHAR},
|
|
@@ -286,8 +286,11 @@
|
|
|
<if test="frName != null">
|
|
|
#{frName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="validTime != null">
|
|
|
- #{validTime,jdbcType=VARCHAR},
|
|
|
+ <if test="validDate != null">
|
|
|
+ #{validDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="isShortage != null">
|
|
|
+ #{isShortage,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="recordStatus != null">
|
|
|
#{recordStatus,jdbcType=INTEGER},
|
|
@@ -304,9 +307,6 @@
|
|
|
<if test="modifyTime != null">
|
|
|
#{modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="isShortage != null">
|
|
|
- #{isShortage,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="businScope != null">
|
|
|
#{businScope,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -354,8 +354,8 @@
|
|
|
<if test="row.companyType != null">
|
|
|
CompanyType = #{row.companyType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="row.address != null">
|
|
|
- Address = #{row.address,jdbcType=VARCHAR},
|
|
|
+ <if test="row.companyAddress != null">
|
|
|
+ CompanyAddress = #{row.companyAddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="row.userName != null">
|
|
|
UserName = #{row.userName,jdbcType=VARCHAR},
|
|
@@ -369,8 +369,11 @@
|
|
|
<if test="row.frName != null">
|
|
|
FrName = #{row.frName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="row.validTime != null">
|
|
|
- ValidTime = #{row.validTime,jdbcType=VARCHAR},
|
|
|
+ <if test="row.validDate != null">
|
|
|
+ ValidDate = #{row.validDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="row.isShortage != null">
|
|
|
+ IsShortage = #{row.isShortage,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="row.recordStatus != null">
|
|
|
RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
|
|
@@ -387,9 +390,6 @@
|
|
|
<if test="row.modifyTime != null">
|
|
|
ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="row.isShortage != null">
|
|
|
- IsShortage = #{row.isShortage,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="row.businScope != null">
|
|
|
BusinScope = #{row.businScope,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -413,18 +413,18 @@
|
|
|
CompanyModel = #{row.companyModel,jdbcType=INTEGER},
|
|
|
WorkSituation = #{row.workSituation,jdbcType=VARCHAR},
|
|
|
CompanyType = #{row.companyType,jdbcType=VARCHAR},
|
|
|
- Address = #{row.address,jdbcType=VARCHAR},
|
|
|
+ CompanyAddress = #{row.companyAddress,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=VARCHAR},
|
|
|
+ ValidDate = #{row.validDate,jdbcType=TIMESTAMP},
|
|
|
+ IsShortage = #{row.isShortage,jdbcType=INTEGER},
|
|
|
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},
|
|
|
- IsShortage = #{row.isShortage,jdbcType=INTEGER},
|
|
|
BusinScope = #{row.businScope,jdbcType=LONGVARCHAR},
|
|
|
CompanyDesc = #{row.companyDesc,jdbcType=LONGVARCHAR}
|
|
|
<if test="example != null">
|
|
@@ -443,18 +443,18 @@
|
|
|
CompanyModel = #{row.companyModel,jdbcType=INTEGER},
|
|
|
WorkSituation = #{row.workSituation,jdbcType=VARCHAR},
|
|
|
CompanyType = #{row.companyType,jdbcType=VARCHAR},
|
|
|
- Address = #{row.address,jdbcType=VARCHAR},
|
|
|
+ CompanyAddress = #{row.companyAddress,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=VARCHAR},
|
|
|
+ ValidDate = #{row.validDate,jdbcType=TIMESTAMP},
|
|
|
+ IsShortage = #{row.isShortage,jdbcType=INTEGER},
|
|
|
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},
|
|
|
- IsShortage = #{row.isShortage,jdbcType=INTEGER}
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP}
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -489,8 +489,8 @@
|
|
|
<if test="companyType != null">
|
|
|
CompanyType = #{companyType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="address != null">
|
|
|
- Address = #{address,jdbcType=VARCHAR},
|
|
|
+ <if test="companyAddress != null">
|
|
|
+ CompanyAddress = #{companyAddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="userName != null">
|
|
|
UserName = #{userName,jdbcType=VARCHAR},
|
|
@@ -504,8 +504,11 @@
|
|
|
<if test="frName != null">
|
|
|
FrName = #{frName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="validTime != null">
|
|
|
- ValidTime = #{validTime,jdbcType=VARCHAR},
|
|
|
+ <if test="validDate != null">
|
|
|
+ ValidDate = #{validDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="isShortage != null">
|
|
|
+ IsShortage = #{isShortage,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="recordStatus != null">
|
|
|
RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
@@ -522,9 +525,6 @@
|
|
|
<if test="modifyTime != null">
|
|
|
ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="isShortage != null">
|
|
|
- IsShortage = #{isShortage,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="businScope != null">
|
|
|
BusinScope = #{businScope,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -545,18 +545,18 @@
|
|
|
CompanyModel = #{companyModel,jdbcType=INTEGER},
|
|
|
WorkSituation = #{workSituation,jdbcType=VARCHAR},
|
|
|
CompanyType = #{companyType,jdbcType=VARCHAR},
|
|
|
- Address = #{address,jdbcType=VARCHAR},
|
|
|
+ CompanyAddress = #{companyAddress,jdbcType=VARCHAR},
|
|
|
UserName = #{userName,jdbcType=VARCHAR},
|
|
|
UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
CompanyEmail = #{companyEmail,jdbcType=VARCHAR},
|
|
|
FrName = #{frName,jdbcType=VARCHAR},
|
|
|
- ValidTime = #{validTime,jdbcType=VARCHAR},
|
|
|
+ ValidDate = #{validDate,jdbcType=TIMESTAMP},
|
|
|
+ IsShortage = #{isShortage,jdbcType=INTEGER},
|
|
|
RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
- IsShortage = #{isShortage,jdbcType=INTEGER},
|
|
|
BusinScope = #{businScope,jdbcType=LONGVARCHAR},
|
|
|
CompanyDesc = #{companyDesc,jdbcType=LONGVARCHAR}
|
|
|
where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
@@ -572,18 +572,18 @@
|
|
|
CompanyModel = #{companyModel,jdbcType=INTEGER},
|
|
|
WorkSituation = #{workSituation,jdbcType=VARCHAR},
|
|
|
CompanyType = #{companyType,jdbcType=VARCHAR},
|
|
|
- Address = #{address,jdbcType=VARCHAR},
|
|
|
+ CompanyAddress = #{companyAddress,jdbcType=VARCHAR},
|
|
|
UserName = #{userName,jdbcType=VARCHAR},
|
|
|
UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
CompanyEmail = #{companyEmail,jdbcType=VARCHAR},
|
|
|
FrName = #{frName,jdbcType=VARCHAR},
|
|
|
- ValidTime = #{validTime,jdbcType=VARCHAR},
|
|
|
+ ValidDate = #{validDate,jdbcType=TIMESTAMP},
|
|
|
+ IsShortage = #{isShortage,jdbcType=INTEGER},
|
|
|
RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
- ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
- IsShortage = #{isShortage,jdbcType=INTEGER}
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP}
|
|
|
where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|