This commit is contained in:
liang.chao 2025-08-19 17:50:00 +08:00
parent f15a1d5509
commit f1fd7db858
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@
where id = #{id} where id = #{id}
</delete> </delete>
<delete id="delTeamPersonOthers"> <delete id="delTeamPersonOthers">
delete from team_person where id = #{id} and is_team_leader = 1 delete from team_person where team_id = #{id} and is_team_leader = 1
</delete> </delete>
<delete id="delTeamPersonLeader"> <delete id="delTeamPersonLeader">
delete from team_person WHERE team_id = #{id} and is_team_leader = 0 delete from team_person WHERE team_id = #{id} and is_team_leader = 0