Commit 9bc1ac79 by Your Name Committed by chenzg

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

parent 5e1fb59d
......@@ -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