<update id="updateEmpsByConditionSet" >
update emptest
<set>
<if test="ename!=null">
ename = #{ename},
</if>
<if test="job != null">
job = #{job},
</if>
<if test="hiredate!=null">
hiredate = #{hiredate}
</if>
</set>
where empno = #{empno}
</update>