ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -140,7 +140,7 @@ </foreach> </update> <update id="updateDeptStatusNormal" parameterType="Long"> <update id="updateDeptStatusNormal" parameterType="Long"> update sys_dept set status = '0' where dept_id in <foreach collection="array" item="deptId" open="(" separator="," close=")"> #{deptId}