Commit fb51d3a1 by 邓实川

部门判空

parent 2f7d76b6
...@@ -681,6 +681,7 @@ public class LoginController { ...@@ -681,6 +681,7 @@ public class LoginController {
Integer upId = gw.getUpId(); Integer upId = gw.getUpId();
ZzglBmgwM bm = ZzglBmgwM.builder().build() ZzglBmgwM bm = ZzglBmgwM.builder().build()
.selectOne(new LambdaQueryWrapper<ZzglBmgwM>().eq(ZzglBmgwM::getId, upId)); .selectOne(new LambdaQueryWrapper<ZzglBmgwM>().eq(ZzglBmgwM::getId, upId));
if (bm != null && bm.getName() != null)
qysDto.setBmName(bm.getName()); qysDto.setBmName(bm.getName());
} }
} }
......
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