|
@@ -16,6 +16,7 @@
|
|
|
<result column="ModifyTime" jdbcType="TIMESTAMP" property="modifyTime" />
|
|
|
<result column="isSendCompany" jdbcType="BIT" property="isSendCompany" />
|
|
|
<result column="isSendUser" jdbcType="BIT" property="isSendUser" />
|
|
|
+ <result column="remark" jdbcType="VARCHAR" property="remark" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
@@ -78,7 +79,7 @@
|
|
|
<sql id="Base_Column_List">
|
|
|
RecommendMgtID, PostID, JobHuntID, RecommendType, EntryState, OfficialAccountsID,
|
|
|
PostIsRead, JobPeopleIsRead, CreateUserID, CreateTime, ModifyUserID, ModifyTime,
|
|
|
- isSendCompany, isSendUser
|
|
|
+ isSendCompany, isSendUser, remark
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.hz.employmentsite.model.PcRecommendMgtExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -115,12 +116,14 @@
|
|
|
RecommendType, EntryState, OfficialAccountsID,
|
|
|
PostIsRead, JobPeopleIsRead, CreateUserID,
|
|
|
CreateTime, ModifyUserID, ModifyTime,
|
|
|
- isSendCompany, isSendUser)
|
|
|
+ isSendCompany, isSendUser, remark
|
|
|
+ )
|
|
|
values (#{recommendMgtID,jdbcType=VARCHAR}, #{postID,jdbcType=VARCHAR}, #{jobHuntID,jdbcType=VARCHAR},
|
|
|
#{recommendType,jdbcType=INTEGER}, #{entryState,jdbcType=INTEGER}, #{officialAccountsID,jdbcType=VARCHAR},
|
|
|
#{postIsRead,jdbcType=INTEGER}, #{jobPeopleIsRead,jdbcType=INTEGER}, #{createUserID,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
- #{isSendCompany,jdbcType=BIT}, #{isSendUser,jdbcType=BIT})
|
|
|
+ #{isSendCompany,jdbcType=BIT}, #{isSendUser,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcRecommendMgt">
|
|
|
insert into pc_recommend_mgt
|
|
@@ -167,6 +170,9 @@
|
|
|
<if test="isSendUser != null">
|
|
|
isSendUser,
|
|
|
</if>
|
|
|
+ <if test="remark != null">
|
|
|
+ remark,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="recommendMgtID != null">
|
|
@@ -211,6 +217,9 @@
|
|
|
<if test="isSendUser != null">
|
|
|
#{isSendUser,jdbcType=BIT},
|
|
|
</if>
|
|
|
+ <if test="remark != null">
|
|
|
+ #{remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.hz.employmentsite.model.PcRecommendMgtExample" resultType="java.lang.Long">
|
|
@@ -264,6 +273,9 @@
|
|
|
<if test="row.isSendUser != null">
|
|
|
isSendUser = #{row.isSendUser,jdbcType=BIT},
|
|
|
</if>
|
|
|
+ <if test="row.remark != null">
|
|
|
+ remark = #{row.remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -284,7 +296,8 @@
|
|
|
ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
isSendCompany = #{row.isSendCompany,jdbcType=BIT},
|
|
|
- isSendUser = #{row.isSendUser,jdbcType=BIT}
|
|
|
+ isSendUser = #{row.isSendUser,jdbcType=BIT},
|
|
|
+ remark = #{row.remark,jdbcType=VARCHAR}
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -331,6 +344,9 @@
|
|
|
<if test="isSendUser != null">
|
|
|
isSendUser = #{isSendUser,jdbcType=BIT},
|
|
|
</if>
|
|
|
+ <if test="remark != null">
|
|
|
+ remark = #{remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where RecommendMgtID = #{recommendMgtID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
@@ -348,7 +364,8 @@
|
|
|
ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
isSendCompany = #{isSendCompany,jdbcType=BIT},
|
|
|
- isSendUser = #{isSendUser,jdbcType=BIT}
|
|
|
+ isSendUser = #{isSendUser,jdbcType=BIT},
|
|
|
+ remark = #{remark,jdbcType=VARCHAR}
|
|
|
where RecommendMgtID = #{recommendMgtID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|