| | |
| | | |
| | | return UserBaseInfo(userId, userInfo.realname, baseInfo, companyInfo, specialInfo) |
| | | } |
| | | |
| | | override fun search(district: String?, sceneType: Int?, userType: Int?, page: Int, perPage: Int): BaseResponse<List<Userinfo>> { |
| | | val result = userinfoMapper.selectByExample(Example(Userinfo::class.java).apply { |
| | | createCriteria().apply { |
| | | district?.let { andEqualTo("extension1", it) } |
| | | sceneType?.let { andEqualTo("extension2", it) } |
| | | userType?.let { andEqualTo("usertypeid", it) } |
| | | } |
| | | }) |
| | | |
| | | return BaseResponse(true, data = result) |
| | | } |
| | | } |