Explorar o código

Merge branch 'system-zyj' of uskycloud/usky-cloud into system-165

James hai 1 ano
pai
achega
30217a479c

+ 3 - 3
base-modules/service-system/service-system-biz/src/main/resources/mapper/system/SysDeptMapper.xml

@@ -156,10 +156,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 	    </foreach>
 	</update>
 	 
-	<update id="updateDeptStatusNormal" parameterType="Long">
+	<update id="updateDeptStatusNormal" parameterType="java.util.List">
  	    update sys_dept set status = '0' where dept_id in 
- 	    <foreach collection="array" item="deptId" open="(" separator="," close=")">
-        	#{deptId}
+ 	    <foreach collection="deptIds" item="item" index="index" open="(" separator="," close=")">
+        	#{item}
         </foreach>
 	</update>