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
cb2fea7c
Commit
cb2fea7c
authored
Sep 15, 2021
by
chenhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'chenhao' into developer
parents
dfb7cb9f
9d2a10ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
FirefightersThoughtController.java
.../common/biz/controller/FirefightersThoughtController.java
+4
-2
OrgUsrServiceImpl.java
...oot/module/common/biz/service/impl/OrgUsrServiceImpl.java
+10
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/FirefightersThoughtController.java
View file @
cb2fea7c
...
...
@@ -66,7 +66,9 @@ public class FirefightersThoughtController extends BaseController {
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防员思想谈话记录"
,
notes
=
"新增消防员思想谈话记录"
)
public
ResponseModel
<
FirefightersThought
>
saveFirefightersThought
(
HttpServletRequest
request
,
@RequestBody
FirefightersThought
firefightersThought
){
iFirefightersThoughtService
.
save
(
firefightersThought
);
if
(!
firefightersThought
.
getAttachments
().
isEmpty
()){
/*bug 2883 消防人员,新增思想状态保存报错 2021-09-15 陈召 开始*/
if
(
firefightersThought
.
getAttachments
()
!=
null
&&
!
firefightersThought
.
getAttachments
().
isEmpty
()){
/*bug 2883 消防人员,新增思想状态保存报错 2021-09-15 陈召 开始*/
sourceFileService
.
saveAttachments
(
firefightersThought
.
getSequenceNbr
(),
firefightersThought
.
getAttachments
());
}
return
ResponseHelper
.
buildResponse
(
firefightersThought
);
...
...
@@ -104,7 +106,7 @@ public class FirefightersThoughtController extends BaseController {
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防员思想谈话记录"
,
notes
=
"修改消防员思想谈话记录"
)
public
ResponseModel
<
FirefightersThought
>
updateByIdFirefightersThought
(
HttpServletRequest
request
,
@RequestBody
FirefightersThought
firefightersThought
){
if
(!
firefightersThought
.
getAttachments
().
isEmpty
()){
if
(
firefightersThought
.
getAttachments
()
!=
null
&&
!
firefightersThought
.
getAttachments
().
isEmpty
()){
sourceFileService
.
saveAttachments
(
firefightersThought
.
getSequenceNbr
(),
firefightersThought
.
getAttachments
());
}
iFirefightersThoughtService
.
updateById
(
firefightersThought
);
...
...
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 @
cb2fea7c
...
...
@@ -551,11 +551,11 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
}
// 机场人员AMOS角色丢失修正, by litw end 2021年9月10日
result
=
Bean
.
BeantoMap
(
orgUsr
);
/*bug 2869 部门为空人员详情报空指针 2021-09-1
4
陈召 开始*/
if
(
getById
(
orgUsr
.
getParentId
())
!=
null
){
/*bug 2869 部门为空人员详情报空指针 2021-09-1
5
陈召 开始*/
if
(
orgUsr
.
getParentId
()
!=
null
){
result
.
put
(
"parenName"
,
getById
(
orgUsr
.
getParentId
()).
getBizOrgName
());
}
/*bug 2869 部门为空人员详情报空指针 2021-09-1
4
陈召 结束*/
/*bug 2869 部门为空人员详情报空指针 2021-09-1
5
陈召 结束*/
// 放入所有动态表单数据
for
(
DynamicFormColumn
alertForm
:
alertForms
)
{
result
.
put
(
alertForm
.
getFieldCode
(),
null
);
...
...
@@ -772,7 +772,13 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
List
<
FormValue
>
formValue
=
getFormValueDetail
(
id
);
OrgPersonFormDto
orgPersonFormVo
=
new
OrgPersonFormDto
(
formValue
);
BeanUtils
.
copyProperties
(
orgUsr
,
orgPersonFormVo
);
orgPersonFormVo
.
setParentName
(
getById
(
orgUsr
.
getParentId
()).
getBizOrgName
());
/*bug 2869 部门为空人员详情报空指针 2021-09-15 陈召 开始*/
if
(
orgUsr
.
getParentId
()
!=
null
){
orgPersonFormVo
.
setParentName
(
getById
(
orgUsr
.
getParentId
()).
getBizOrgName
());
}
/*bug 2869 部门为空人员详情报空指针 2021-09-15 陈召 结束*/
return
orgPersonFormVo
;
}
...
...
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