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
c531aa85
Commit
c531aa85
authored
Dec 06, 2023
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(驻站消防员出勤): 接口增加参数,处理查询数据错误问题
parent
fdf28c3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
SignController.java
...n/amos/boot/module/jcs/biz/controller/SignController.java
+7
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/SignController.java
View file @
c531aa85
...
...
@@ -14,6 +14,7 @@ import com.yeejoin.amos.boot.module.common.api.entity.OrgUsr;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.OrgUsrServiceImpl
;
import
com.yeejoin.amos.boot.module.jcs.api.dto.SinStaticDto
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.Sign
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
...
...
@@ -193,10 +194,12 @@ public class SignController extends BaseController {
@PostMapping
(
value
=
"/center/static/page"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"中心级卡片驻站消防员出勤柱状图"
,
notes
=
"中心级卡片驻站消防员出勤柱状图"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
queryPeopleInfoForPage
(
@RequestBody
SinStaticDto
dto
)
{
ReginParams
reginParam
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
String
bizOrgCode
=
null
;
if
(
null
!=
reginParam
)
{
bizOrgCode
=
reginParam
.
getPersonIdentity
().
getCompanyBizOrgCode
();
String
bizOrgCode
=
dto
.
getBizOrgCode
();
if
(
StringUtils
.
isBlank
(
bizOrgCode
))
{
ReginParams
reginParam
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
if
(
null
!=
reginParam
)
{
bizOrgCode
=
reginParam
.
getPersonIdentity
().
getCompanyBizOrgCode
();
}
}
dto
.
setBizOrgCode
(
bizOrgCode
);
List
<
Map
<
String
,
Object
>>
res
=
signServiceImpl
.
queryPeopleInfo
(
dto
);
...
...
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