优化用户的查询逻辑,针对逻辑删除

This commit is contained in:
jishenghua
2024-12-10 22:07:21 +08:00
parent 196aac12f3
commit 5ea6c63c32
4 changed files with 15 additions and 14 deletions

View File

@@ -72,7 +72,7 @@
</select>
<update id="batDeleteOrUpdateUser">
update jsh_user
set status=#{status}
set delete_flag = '1'
where id in (
<foreach collection="ids" item="id" separator=",">
#{id}