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
53594d82
Commit
53594d82
authored
May 12, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求:3309
parent
0a0688a2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
107 additions
and
17 deletions
+107
-17
ITzsUserInfoService.java
...amos/boot/module/tcm/api/service/ITzsUserInfoService.java
+5
-0
TzsUserInfoController.java
...boot/module/tcm/biz/controller/TzsUserInfoController.java
+15
-1
TzsUserInfoServiceImpl.java
...t/module/tcm/biz/service/impl/TzsUserInfoServiceImpl.java
+87
-16
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-api/src/main/java/com/yeejoin/amos/boot/module/tcm/api/service/ITzsUserInfoService.java
View file @
53594d82
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tcm
.
api
.
service
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
...
...
@@ -40,6 +41,10 @@ public interface ITzsUserInfoService extends IService<TzsUserInfo> {
Boolean
personnelTransferOut
(
String
userSeqNbrs
);
JSONObject
statisticsOfPersonnelTypes
(
String
type
);
JSONObject
statisticsOfPersonnelTypesByPatentCode
(
String
parentId
);
Map
<
String
,
Integer
>
getArrangementStatistic
(
String
companyCode
);
Map
<
String
,
Object
>
getCompanyType
();
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/controller/TzsUserInfoController.java
View file @
53594d82
...
...
@@ -377,8 +377,22 @@ public class TzsUserInfoController extends BaseController {
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/statisticsOfPersonnelTypes"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"人员类型统计"
,
notes
=
"人员类型统计"
)
public
ResponseModel
<
JSONObject
>
statisticsOfPersonnelTypes
(
@RequestParam
(
value
=
"type"
)
String
type
)
{
return
ResponseHelper
.
buildResponse
(
tzsUserInfoService
.
statisticsOfPersonnelTypes
(
type
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/statisticsOfPersonnelTypesByPatentCode"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"人员类型统计"
,
notes
=
"人员类型统计"
)
public
ResponseModel
<
JSONObject
>
statisticsOfPersonnelTypesByPatentCode
(
@RequestParam
(
value
=
"parentId"
)
String
parentId
)
{
return
ResponseHelper
.
buildResponse
(
tzsUserInfoService
.
statisticsOfPersonnelTypesByPatentCode
(
parentId
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/historicalOperatorHandling"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"
需求3309 人员管理调整后:历史的维保人员(作业人员含电梯维修资质的刷入子类型:持证人员)"
,
notes
=
"
需求3309 人员管理调整后:历史的维保人员(作业人员含电梯维修资质的刷入子类型:持证人员)"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"
【调用一次即可】需求3309 人员管理调整后:历史的维保人员(作业人员含电梯维修资质的刷入子类型:持证人员)"
,
notes
=
"【调用一次即可】
需求3309 人员管理调整后:历史的维保人员(作业人员含电梯维修资质的刷入子类型:持证人员)"
)
public
ResponseModel
<
Object
>
historicalOperatorHandling
()
{
// userinfo表中旧的post字段保存了旧字典值6618(维保人员)
List
<
Long
>
sesqNbrs
=
tzsUserInfoService
.
getBaseMapper
()
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzsUserInfoServiceImpl.java
View file @
53594d82
This diff is collapsed.
Click to expand it.
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