日期:2014-05-17 浏览次数:20592 次
<update id="UPDATE_SON_TASK_INFO_BYMAP" parameterClass="java.util.Map">
update lckz_son_task t set
<isNotEmpty property="id">
t.id=#id#
</isNotEmpty>
<isNotEmpty prepend="," property="status">
t.status=#status#
</isNotEmpty>
where t.son_task_id=#sonTaskID#
</update>
<update id="UPDATE_SON_TASK_INFO_BYMAP" parameterClass="java.util.Map">
update lckz_son_task t
<dynamic prepend="set">
<isNotEmpty prepend="," property="id">
t.id=#id#
</isNotEmpty>
<isNotEmpty prepend="," property="status">
t.status=#status#
</isNotEmpty>
</dynamic>
where t.son_task_id=#sonTaskID#
</update>