Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
a1d59d6d
Commit
a1d59d6d
authored
Mar 11, 2022
by
李腾威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG
parent
d3d14724
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
0 deletions
+29
-0
OrgUsrMapper.java
...join/amos/boot/module/common/api/mapper/OrgUsrMapper.java
+2
-0
OrgUsrMapper.xml
...ule-common-api/src/main/resources/mapper/OrgUsrMapper.xml
+6
-0
OrgUsrController.java
...s/boot/module/common/biz/controller/OrgUsrController.java
+13
-0
OrgUsrServiceImpl.java
...oot/module/common/biz/service/impl/OrgUsrServiceImpl.java
+8
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/mapper/OrgUsrMapper.java
View file @
a1d59d6d
...
...
@@ -86,6 +86,8 @@ public interface OrgUsrMapper extends BaseMapper<OrgUsr> {
int
amosIdExist
(
String
amosId
);
int
amosIdExistTeam
(
String
amosId
);
void
updatelistByParentId
(
String
codex
,
String
code
);
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/OrgUsrMapper.xml
View file @
a1d59d6d
...
...
@@ -655,6 +655,12 @@ GROUP BY
) AS total;
</select>
<select
id=
"amosIdExistTeam"
resultType=
"int"
>
SELECT count(*) AS num FROM cb_firefighters WHERE amos_user_id = #{amosId} and is_delete = 0;
</select>
<update
id=
"updatelistByParentId"
>
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/OrgUsrController.java
View file @
a1d59d6d
...
...
@@ -579,6 +579,19 @@ public class OrgUsrController extends BaseController {
}
/**
* 判断关联账户是否已关联-队伍
*
* @param
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/getAmosIdTeam/{amosId}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"判断关联账户是否已关联"
,
notes
=
"判断关联账户是否已关联"
)
public
ResponseModel
<
Object
>
getAmosIdTeam
(
@PathVariable
String
amosId
)
{
return
ResponseHelper
.
buildResponse
(
iOrgUsrService
.
amosIdExistTeam
(
amosId
));
}
/**
* 根据机场人员id获取amos平台人员id
*
* @param
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/OrgUsrServiceImpl.java
View file @
a1d59d6d
...
...
@@ -1766,6 +1766,14 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
return
true
;
}
public
Object
amosIdExistTeam
(
String
amosId
)
{
int
num
=
orgUsrMapper
.
amosIdExistTeam
(
amosId
);
if
(
num
>
0
)
{
return
false
;
}
return
true
;
}
/**
* 获取对应公司组下面的人员信息
*
...
...
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