|
@@ -14,6 +14,7 @@
|
|
|
<result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="ModifyUserID" jdbcType="VARCHAR" property="modifyUserID" />
|
|
|
<result column="ModifyTime" jdbcType="TIMESTAMP" property="modifyTime" />
|
|
|
+ <result column="TaskStatus" jdbcType="INTEGER" property="taskStatus" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
@@ -75,7 +76,7 @@
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
DotaskID, WorkTypeID, RegionCode, StreetCode, Content, SiteID, DotaskName, FinishTime,
|
|
|
- CreateUserID, CreateTime, ModifyUserID, ModifyTime
|
|
|
+ CreateUserID, CreateTime, ModifyUserID, ModifyTime, TaskStatus
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.hz.employmentsite.model.PcDotaskExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -111,13 +112,13 @@
|
|
|
insert into pc_dotask (DotaskID, WorkTypeID, RegionCode,
|
|
|
StreetCode, Content, SiteID,
|
|
|
DotaskName, FinishTime, CreateUserID,
|
|
|
- CreateTime, ModifyUserID, ModifyTime
|
|
|
- )
|
|
|
+ CreateTime, ModifyUserID, ModifyTime,
|
|
|
+ TaskStatus)
|
|
|
values (#{dotaskID,jdbcType=VARCHAR}, #{workTypeID,jdbcType=INTEGER}, #{regionCode,jdbcType=VARCHAR},
|
|
|
#{streetCode,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{siteID,jdbcType=VARCHAR},
|
|
|
#{dotaskName,jdbcType=VARCHAR}, #{finishTime,jdbcType=TIMESTAMP}, #{createUserID,jdbcType=VARCHAR},
|
|
|
- #{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}
|
|
|
- )
|
|
|
+ #{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ #{taskStatus,jdbcType=INTEGER})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcDotask">
|
|
|
insert into pc_dotask
|
|
@@ -158,6 +159,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
ModifyTime,
|
|
|
</if>
|
|
|
+ <if test="taskStatus != null">
|
|
|
+ TaskStatus,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="dotaskID != null">
|
|
@@ -196,6 +200,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
#{modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="taskStatus != null">
|
|
|
+ #{taskStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.hz.employmentsite.model.PcDotaskExample" resultType="java.lang.Long">
|
|
@@ -243,6 +250,9 @@
|
|
|
<if test="row.modifyTime != null">
|
|
|
ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="row.taskStatus != null">
|
|
|
+ TaskStatus = #{row.taskStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -261,7 +271,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},
|
|
|
+ TaskStatus = #{row.taskStatus,jdbcType=INTEGER}
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -302,6 +313,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="taskStatus != null">
|
|
|
+ TaskStatus = #{taskStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where DotaskID = #{dotaskID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
@@ -317,7 +331,8 @@
|
|
|
CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
- ModifyTime = #{modifyTime,jdbcType=TIMESTAMP}
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ TaskStatus = #{taskStatus,jdbcType=INTEGER}
|
|
|
where DotaskID = #{dotaskID,jdbcType=VARCHAR}
|
|
|
- </update>
|
|
|
+ </update>
|
|
|
</mapper>
|