Commit 139e0f44 by Your Name

更新部门不能添加部门的问题

parent 281d04cd
......@@ -332,7 +332,7 @@ public class ZzglController {
zzglBmgwM.setUpId(0);
}
ZzglBmgwM bmgwM = zzglBmgwMMapper.selectById(zzglBmgwM.getUpId());
if(bmgwM.getType() !=1){
if(bmgwM.getType() ==1){
return ResultUtil.error("部门名称上级不能为岗位");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment