Commit 175ae9cf by Your Name Committed by chenzg

更新部门下不能新增岗位员工

parent 850ba0fb
...@@ -333,7 +333,7 @@ public class ZzglController { ...@@ -333,7 +333,7 @@ public class ZzglController {
} }
ZzglBmgwM bmgwM = zzglBmgwMMapper.selectById(zzglBmgwM.getUpId()); ZzglBmgwM bmgwM = zzglBmgwMMapper.selectById(zzglBmgwM.getUpId());
if(bmgwM !=null) { if(bmgwM !=null) {
if (bmgwM.getType() != 1) { if (bmgwM.getType() != 0) {
return ResultUtil.error("部门名称上级不能为岗位"); 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