public int deleteSysStudentStuIds(Long[] stuIds);
<delete id="deleteSysStudentStuIds" parameterType="String">
delete from sys_student where stu_id in
<foreach item="stuId" collection="array" open="(" separator="," close=")">
#{stuId}
</foreach>
</delete>
@Delete("<script>
delete from sys_student where stu_id in
<foreach collection='array' item='stuId' open='(' separator=',' close=')'>#{stuId}</foreach>
</script>")
void delete(Long[] stuIds);
版权说明 : 本文为转载文章, 版权归原作者所有 版权申明
原文链接 : https://code100.blog.csdn.net/article/details/123010914
内容来源于网络,如有侵权,请联系作者删除!