Commit f069d751 by 墨竹

feat:状态修改

parent 167dab9e
......@@ -522,7 +522,7 @@
update tab_haoban_staff
set add_num = add_num +1,
update_time = now()
where staff_id = #{staffId}
where staff_id = #{staffId} and status_flag = 1
</update>
......@@ -531,6 +531,7 @@
<set>
add_num = 0,update_time = now()
</set>
where status_flag = 1
</update>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment