Commit 63f2fe6d authored by ZWT's avatar ZWT

得到的

parent c202fe3d
......@@ -211,8 +211,7 @@ public class SysUserService {
//修改用户和组织机构关系为失效
SysUserOrganizationRelMapper relMapper = context.getBean(SysUserOrganizationRelMapper.class);
Date date = new Date();
SysUserOrganizationRelEnt relEntity = relMapper.selectOne(new QueryWrapper<SysUserOrganizationRelEnt>()
.lambda()
SysUserOrganizationRelEnt relEntity = relMapper.selectOne(new LambdaQueryWrapper<SysUserOrganizationRelEnt>()
.eq(SysUserOrganizationRelEnt::getUserId, userId)
.le(SysUserOrganizationRelEnt::getEffectTime, date)
.ge(SysUserOrganizationRelEnt::getEndTime, date));
......
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