@@ -195,8 +195,6 @@ public class TenantProxyInfoServiceImpl extends ServiceImpl<TenantProxyInfoDao,
return baseMapper.queryUserList(param);
}
-
private SysUser getUser() {
//修改机构基础信息
return Optional.ofNullable(sysUserFeignService.queryUserInfo())
@@ -93,10 +93,15 @@
phone_ as phone
from sys_user
where tenant_id_ = -1
+ <if test="param.id != null ">
+ AND id_ = #{param.id}
+ </if>
+ <if test="param.search != null ">
AND (
`real_name_` LIKE CONCAT('%', #{param.search},'%')
OR `phone_` LIKE CONCAT('%', #{param.search},'%')
)
</select>
</mapper>