Commit 519521aa by tangzhaoqian Committed by 284718418@qq.com

绩效、审批、员工bug修复

parent e580d97a
...@@ -727,6 +727,11 @@ public class LoginController { ...@@ -727,6 +727,11 @@ public class LoginController {
e.printStackTrace(); e.printStackTrace();
} }
Integer isLeader = zzglBmgwMMapper.selectCount(new QueryWrapper<ZzglBmgwM>().lambda()
.eq(ZzglBmgwM::getLeader, qyzxEmpLogin1.getId())
.eq(ZzglBmgwM::getOrgCode, qyzxEmpLogin1.getOrgId())) > 0 ? 0 : 1;
qyzxEmpLogin1.setIsLeader(isLeader);
Integer isLeader = zzglBmgwMMapper Integer isLeader = zzglBmgwMMapper
.selectCount(new QueryWrapper<ZzglBmgwM>().lambda().eq(ZzglBmgwM::getLeader, qyzxEmpLogin1.getId()) .selectCount(new QueryWrapper<ZzglBmgwM>().lambda().eq(ZzglBmgwM::getLeader, qyzxEmpLogin1.getId())
.eq(ZzglBmgwM::getOrgCode, qyzxEmpLogin1.getOrgId())) > 0 ? 0 : 1; .eq(ZzglBmgwM::getOrgCode, qyzxEmpLogin1.getOrgId())) > 0 ? 0 : 1;
......
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