|
@@ -22,6 +22,7 @@
|
|
|
<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" />
|
|
@@ -88,7 +89,7 @@
|
|
|
<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
|
|
|
+ ValidTime, RecordStatus, CreateUserID, CreateTime, ModifyUserID, ModifyTime, InsuredCount
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
BusinScope, CompanyDesc
|
|
@@ -148,16 +149,16 @@
|
|
|
Address, UserName, UserMobile,
|
|
|
CompanyEmail, FrName, ValidTime,
|
|
|
RecordStatus, CreateUserID, CreateTime,
|
|
|
- ModifyUserID, ModifyTime, BusinScope,
|
|
|
- CompanyDesc)
|
|
|
+ ModifyUserID, ModifyTime, InsuredCount,
|
|
|
+ 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})
|
|
|
+ #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{insuredCount,jdbcType=INTEGER},
|
|
|
+ #{businScope,jdbcType=LONGVARCHAR}, #{companyDesc,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcCompanyWithBLOBs">
|
|
|
insert into pc_company
|
|
@@ -222,6 +223,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
ModifyTime,
|
|
|
</if>
|
|
|
+ <if test="insuredCount != null">
|
|
|
+ InsuredCount,
|
|
|
+ </if>
|
|
|
<if test="businScope != null">
|
|
|
BusinScope,
|
|
|
</if>
|
|
@@ -290,6 +294,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
#{modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="insuredCount != null">
|
|
|
+ #{insuredCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="businScope != null">
|
|
|
#{businScope,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -367,6 +374,9 @@
|
|
|
<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>
|
|
@@ -400,6 +410,7 @@
|
|
|
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">
|
|
@@ -427,7 +438,8 @@
|
|
|
CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
- ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP}
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ InsuredCount = #{row.insuredCount,jdbcType=INTEGER}
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -492,6 +504,9 @@
|
|
|
<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>
|
|
@@ -522,6 +537,7 @@
|
|
|
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,7 +562,8 @@
|
|
|
CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
- ModifyTime = #{modifyTime,jdbcType=TIMESTAMP}
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ InsuredCount = #{insuredCount,jdbcType=INTEGER}
|
|
|
where CompanyID = #{companyID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|