|
@@ -282,6 +282,7 @@
|
|
<if test="photo != null">photo = #{photo},</if>
|
|
<if test="photo != null">photo = #{photo},</if>
|
|
<if test="pId != null">p_id = #{pId},</if>
|
|
<if test="pId != null">p_id = #{pId},</if>
|
|
<if test="specialDuty != null">special_duty = #{specialDuty},</if>
|
|
<if test="specialDuty != null">special_duty = #{specialDuty},</if>
|
|
|
|
+ <if test="leftDate != null">left_date = #{leftDate},</if>
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</update>
|
|
</update>
|
|
@@ -295,7 +296,7 @@
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<update id="reLeftTStaffmgrByIds" parameterType="Long">
|
|
<update id="reLeftTStaffmgrByIds" parameterType="Long">
|
|
- update t_staffmgr set del_flag = 0 where id = #{id}
|
|
|
|
|
|
+ update t_staffmgr set del_flag = 0 , LEFT_DATE = null where id = #{id}
|
|
</update>
|
|
</update>
|
|
<update id="deleteTStaffmgrByIds" parameterType="String">
|
|
<update id="deleteTStaffmgrByIds" parameterType="String">
|
|
update t_staffmgr set del_flag = 2 where id in
|
|
update t_staffmgr set del_flag = 2 where id in
|