Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
youjj
cloud-platform
Commits
617d3b30
Commit
617d3b30
authored
Dec 17, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改客户管理
parent
1e8a4014
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
AppStaffUserBiz.java
...om/github/wxiaoqi/security/admin/biz/AppStaffUserBiz.java
+1
-1
AppUserDetailBiz.java
...m/github/wxiaoqi/security/admin/biz/AppUserDetailBiz.java
+5
-0
AppUserDetailMapper.java
...ub/wxiaoqi/security/admin/mapper/AppUserDetailMapper.java
+2
-0
AppUserDetailMapper.xml
...e-admin/src/main/resources/mapper/AppUserDetailMapper.xml
+6
-0
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/AppStaffUserBiz.java
View file @
617d3b30
...
@@ -104,7 +104,7 @@ public class AppStaffUserBiz extends BaseBiz<AppStaffUserMapper, AppStaffUser> {
...
@@ -104,7 +104,7 @@ public class AppStaffUserBiz extends BaseBiz<AppStaffUserMapper, AppStaffUser> {
public
void
addAppStaffUser
(
AppStaffUserDTO
staffUserDTO
){
public
void
addAppStaffUser
(
AppStaffUserDTO
staffUserDTO
){
log
.
info
(
"staffUserDTO={}"
,
staffUserDTO
);
log
.
info
(
"staffUserDTO={}"
,
staffUserDTO
);
AppUserVo
superAppUserVo
=
appUserDetailBiz
.
getUserInfoById
(
staffUserDTO
.
getSuId
());
AppUserVo
superAppUserVo
=
appUserDetailBiz
.
getUserInfoById
(
staffUserDTO
.
getSuId
());
AppUserVo
userInfoById
=
appUserDetailBiz
.
getUser
InfoById
(
staffUserDTO
.
getUid
());
AppUserVo
userInfoById
=
appUserDetailBiz
.
getUser
(
staffUserDTO
.
getUid
());
log
.
info
(
"userInfoById={}"
,
userInfoById
);
log
.
info
(
"userInfoById={}"
,
userInfoById
);
AppStaffUser
appStaffUser
=
new
AppStaffUser
();
AppStaffUser
appStaffUser
=
new
AppStaffUser
();
...
...
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/AppUserDetailBiz.java
View file @
617d3b30
...
@@ -192,4 +192,9 @@ public class AppUserDetailBiz extends BaseBiz<AppUserDetailMapper, AppUserDetail
...
@@ -192,4 +192,9 @@ public class AppUserDetailBiz extends BaseBiz<AppUserDetailMapper, AppUserDetail
List
<
UserStaffBo
>
staffBos
=
mapper
.
findAllStaffsByCompanyIdAndPostionId
(
staffStatisticsFindDTO
);
List
<
UserStaffBo
>
staffBos
=
mapper
.
findAllStaffsByCompanyIdAndPostionId
(
staffStatisticsFindDTO
);
return
CollectionUtils
.
isEmpty
(
staffBos
)?
Collections
.
EMPTY_LIST
:
staffBos
;
return
CollectionUtils
.
isEmpty
(
staffBos
)?
Collections
.
EMPTY_LIST
:
staffBos
;
}
}
public
AppUserVo
getUser
(
Integer
userId
)
{
return
mapper
.
getUser
(
userId
);
}
}
}
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/mapper/AppUserDetailMapper.java
View file @
617d3b30
...
@@ -33,4 +33,6 @@ public interface AppUserDetailMapper extends Mapper<AppUserDetail> {
...
@@ -33,4 +33,6 @@ public interface AppUserDetailMapper extends Mapper<AppUserDetail> {
List
<
AppUserVo
>
getUserByUserIdList
(
@Param
(
"userIds"
)
List
<
Integer
>
userIds
);
List
<
AppUserVo
>
getUserByUserIdList
(
@Param
(
"userIds"
)
List
<
Integer
>
userIds
);
List
<
UserStaffBo
>
findAllStaffsByCompanyIdAndPostionId
(
StaffStatisticsFindDTO
staffStatisticsFindDTO
);
List
<
UserStaffBo
>
findAllStaffsByCompanyIdAndPostionId
(
StaffStatisticsFindDTO
staffStatisticsFindDTO
);
AppUserVo
getUser
(
Integer
userId
);
}
}
\ No newline at end of file
ace-modules/ace-admin/src/main/resources/mapper/AppUserDetailMapper.xml
View file @
617d3b30
...
@@ -322,4 +322,10 @@ from `app_user_detail` as `aud` left join `app_user_login` as `aul` on aul.id=
...
@@ -322,4 +322,10 @@ from `app_user_detail` as `aud` left join `app_user_login` as `aul` on aul.id=
) as `sell` on sell.user_id=saff.userId
) as `sell` on sell.user_id=saff.userId
order by sell.sellAmount desc
order by sell.sellAmount desc
</select>
</select>
<select
id=
"getUserInfo"
resultMap=
"AppUserVoMap"
>
select l.im_userid,l.username,l.wx_openid,l.unionid,l.openid,l.status,l.id_number,l.certification_status,d.* from app_user_login l
left join app_user_detail d
on d.userid = l.id
where l.id = #{userId} limit 1
</select>
</mapper>
</mapper>
\ No newline at end of file
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