| | |
| | | import cn.flightfeather.supervision.domain.ds2.entity.UserinfoTZ |
| | | import cn.flightfeather.supervision.domain.ds2.mapper.UserMapMapper |
| | | import org.springframework.stereotype.Repository |
| | | import tk.mybatis.mapper.entity.Example |
| | | |
| | | @Repository |
| | | class UserMapRep( |
| | |
| | | // 找到飞羽监管中的场景信息 |
| | | return scenseMapper.selectByPrimaryKey(userInfoSp.dGuid) |
| | | } |
| | | |
| | | /** |
| | | * 通过飞羽监管用户id查询飞羽环境用户id |
| | | */ |
| | | fun findBySVUserId(idList: List<String?>): List<UserMap?> { |
| | | return userMapMapper.selectByExample(Example(UserMap::class.java).apply { |
| | | createCriteria().andIn("svUserId", idList) |
| | | }) |
| | | } |
| | | } |