@@ -107,7 +107,7 @@
<update id="updateAidByAid">
update public_examine a ,(select id,name from admin where id=#{aid})b
set a.aid=b.id ,a.aname =b.name
- where a.aid = #{oldAid}
+ where a.aid = #{oldAid} and a.status=0
</update>