Commit f069d751 by 墨竹

feat:状态修改

parent 167dab9e
...@@ -522,7 +522,7 @@ ...@@ -522,7 +522,7 @@
update tab_haoban_staff update tab_haoban_staff
set add_num = add_num +1, set add_num = add_num +1,
update_time = now() update_time = now()
where staff_id = #{staffId} where staff_id = #{staffId} and status_flag = 1
</update> </update>
...@@ -531,6 +531,7 @@ ...@@ -531,6 +531,7 @@
<set> <set>
add_num = 0,update_time = now() add_num = 0,update_time = now()
</set> </set>
where status_flag = 1
</update> </update>
</mapper> </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