소스 검색

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

James 1 년 전
부모
커밋
30217a479c
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      base-modules/service-system/service-system-biz/src/main/resources/mapper/system/SysDeptMapper.xml

+ 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>