Pre Merge pull request !582 from 光速蜗牛/master
This commit is contained in:
commit
d6d2e27ede
|
|
@ -97,7 +97,7 @@ public interface SysDeptMapper
|
||||||
*
|
*
|
||||||
* @param deptIds 部门ID组
|
* @param deptIds 部门ID组
|
||||||
*/
|
*/
|
||||||
public void updateDeptStatusNormal(Long[] deptIds);
|
public void updateDeptStatusNormal(@Param("deptIds") Long[] deptIds);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据ID查询所有子部门
|
* 根据ID查询所有子部门
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<update id="updateDeptStatusNormal" parameterType="Long">
|
<update id="updateDeptStatusNormal" parameterType="Long">
|
||||||
update sys_dept set status = '0' where dept_id in
|
update sys_dept set status = '0' where dept_id in
|
||||||
<foreach collection="array" item="deptId" open="(" separator="," close=")">
|
<foreach collection="deptIds" item="deptId" open="(" separator="," close=")">
|
||||||
#{deptId}
|
#{deptId}
|
||||||
</foreach>
|
</foreach>
|
||||||
</update>
|
</update>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user