Commit 7656a581 by dengshichuan

Merge branch 'dsc' into 'develop'

部门判空

See merge request 8timerv2/8timerapiv200!254
parents 2f7d76b6 fb51d3a1
......@@ -681,11 +681,12 @@ public class LoginController {
Integer upId = gw.getUpId();
ZzglBmgwM bm = ZzglBmgwM.builder().build()
.selectOne(new LambdaQueryWrapper<ZzglBmgwM>().eq(ZzglBmgwM::getId, upId));
qysDto.setBmName(bm.getName());
if (bm != null && bm.getName() != null)
qysDto.setBmName(bm.getName());
}
}
}
if (qys.size() == 0)
return ResultUtil.error("没有任何公司可以查看!");
qyzxEmpLogin1.setQys(qys);
......
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