Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
head_group
xyqb-user2
Commits
b8b2a0c4
Commit
b8b2a0c4
authored
Nov 17, 2021
by
guangjing.gao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'KA-29' of
http://git.quantgroup.cn/head_group/xyqb-user2
into KA-29
parents
ff1448d3
ffd6b016
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
change-log.md
change-log.md
+18
-0
UserController.java
...n/quantgroup/xyqb/controller/external/UserController.java
+3
-0
TenantController.java
...n/quantgroup/xyqb/controller/tenant/TenantController.java
+1
-0
No files found.
change-log.md
View file @
b8b2a0c4
##KA-29/2021-11-12
###ToB积分时代-电商saas产研开发专项-用户中心
```
package
cn
.
quantgroup
.
xyqb
.
controller
.
internal
.
user
.
InnerController
修改
findUserDetailByUserId
方法增加
Integer
tenantId
(
租户
Id
)参数,并修改逻辑判断。
修改
修改
findByUuid
方法为
findByUuidInfo
方法增加
Integer
tenantId
(
租户
Id
)参数,并修改逻辑判断。
修改
findByPhoneNo
方法增加
Integer
tenantId
(
租户
Id
)参数,并修改逻辑判断。
修改
findUserDetailByPhone
方法增加
Integer
tenantId
(
租户
Id
)参数,并修改逻辑判断。
修改
findUserDetailByUserId
方法增加
Integer
tenantId
(
租户
Id
)参数,并修改逻辑判断。
package
cn
.
quantgroup
.
xyqb
.
controller
.
external
.
UserController
;
修改
userCenterIndex
方法增加
头部信息
qg
-
tenant
-
id
(
租户
Id
)参数,并修改逻辑判断。
新增
package
cn
.
quantgroup
.
xyqb
.
controller
.
tenant
.
TenantController
新增接口方法
findTenantByUserId
;通过
userId
(
Long
)
获取租户
id
列表
```
##KA-28/2021-11-02
###修改日志格式
##KA-27/2021-11-01
...
...
src/main/java/cn/quantgroup/xyqb/controller/external/UserController.java
View file @
b8b2a0c4
...
...
@@ -482,7 +482,10 @@ public class UserController implements IBaseController {
brief
.
setName
(
userDetail
.
getName
());
brief
.
setSex
(
Optional
.
ofNullable
(
userDetail
.
getGender
()).
orElse
(
cn
.
quantgroup
.
xyqb
.
model
.
Gender
.
UNKNOWN
).
ordinal
()
+
""
);
brief
.
setPhoneNo
(
userDetail
.
getPhoneNo
().
substring
(
0
,
3
)
+
"****"
+
userDetail
.
getPhoneNo
().
substring
(
7
,
11
));
}
else
{
return
JsonResult
.
buildSuccessResult
(
""
,
brief
);
}
String
tenantId
=
getCurrentTenantIdRedis
();
if
(
tenantId
!=
null
&&
!
TenantUtil
.
TENANT_DEFAULT
.
equals
(
Integer
.
parseInt
(
tenantId
)))
{
brief
=
tenantService
.
getTenantCustomerInfo
(
userDetail
,
Integer
.
parseInt
(
tenantId
));
...
...
src/main/java/cn/quantgroup/xyqb/controller/tenant/TenantController.java
View file @
b8b2a0c4
...
...
@@ -28,6 +28,7 @@ public class TenantController {
* 根据用户ID查询租户列表
* @param userId
* @return
* @Yapi http://yapi.quantgroups.com/project/17/interface/api/30068
*/
@PostMapping
(
"/userIdTenantList"
)
public
JsonResult
findTenantByUserId
(
Long
userId
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment