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
89f4297f
Commit
89f4297f
authored
Nov 10, 2021
by
kongfm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
警情状态展示字段
parent
db24cc45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
AlertCalledDto.java
.../yeejoin/amos/boot/module/tzs/api/dto/AlertCalledDto.java
+5
-0
AlertBeanDtoVoUtils.java
...n/amos/boot/module/tzs/biz/utils/AlertBeanDtoVoUtils.java
+5
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/api/dto/AlertCalledDto.java
View file @
89f4297f
...
...
@@ -26,6 +26,9 @@ public class AlertCalledDto extends BaseDto {
@ApiModelProperty
(
value
=
"警情状态 (0 未结案 1 结案)"
)
private
Boolean
alertStatus
;
@ApiModelProperty
(
value
=
"警情状态 结案/ 未结案"
)
private
String
alertStatusStr
;
@ApiModelProperty
(
value
=
"警情来源类型"
)
private
String
alertSource
;
...
...
@@ -158,4 +161,6 @@ public class AlertCalledDto extends BaseDto {
@ApiModelProperty
(
value
=
"现场照片"
)
private
List
<
AttachmentDto
>
images
;
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/utils/AlertBeanDtoVoUtils.java
View file @
89f4297f
...
...
@@ -30,6 +30,11 @@ public class AlertBeanDtoVoUtils {
AlertCalledDto
target
=
new
AlertCalledDto
();
// 把原对象数据拷贝到新对象
BeanUtils
.
copyProperties
(
source
,
target
);
if
(
source
.
getAlertStatus
())
{
target
.
setAlertStatusStr
(
"已结案"
);
}
else
{
target
.
setAlertStatusStr
(
"未结案"
);
}
// 返回新对象
return
target
;
}
catch
(
Exception
e
)
{
...
...
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