fixed:“用户管理”里面,点击“员工工号”报错:“参数:rowld不能为空”

This commit is contained in:
weizhiqiang 2024-11-16 11:27:24 +08:00
parent 5727a49470
commit dbd57feffb

View file

@ -90,7 +90,9 @@ public class SysEveUserStaffServiceImpl extends SkyeyeBusinessServiceImpl<SysEve
if (sysEveUserStaffQuery.getBindAccount() == WhetherEnum.DISABLE_USING.getKey()) {
// 未绑定账号
String userIdKey = MybatisPlusUtil.toColumns(SysEveUserStaff::getUserId);
wrapper.isNull(userIdKey).or().eq(userIdKey, StrUtil.EMPTY);
wrapper.and(wra -> {
wra.isNull(userIdKey).or().eq(userIdKey, StrUtil.EMPTY);
});
}
}