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
da2a9ce6
Commit
da2a9ce6
authored
Jul 25, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):改造告知
parent
9fc0d93c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
JgReformNoticeDto.java
...eejoin/amos/boot/module/jg/api/dto/JgReformNoticeDto.java
+3
-0
JgReformNotice.java
...eejoin/amos/boot/module/jg/api/entity/JgReformNotice.java
+6
-0
JgReformNoticeServiceImpl.java
...module/jg/biz/service/impl/JgReformNoticeServiceImpl.java
+3
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgReformNoticeDto.java
View file @
da2a9ce6
...
...
@@ -166,6 +166,9 @@ public class JgReformNoticeDto extends BaseDto {
@ApiModelProperty
(
value
=
"设备类别名称"
)
private
String
equCategoryName
;
@ApiModelProperty
(
value
=
"工程装置名称"
)
private
String
projectContraption
;
/* ---------------- -------------- */
@ApiModelProperty
(
value
=
"告知设备列表"
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgReformNotice.java
View file @
da2a9ce6
...
...
@@ -177,6 +177,12 @@ public class JgReformNotice extends BaseEntity {
private
String
constructionManagerId
;
/**
* 工程装置名称
*/
@TableField
(
"project_contraption"
)
private
String
projectContraption
;
/**
* 施工负责人手机
*/
@TableField
(
"construction_manager_phone"
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgReformNoticeServiceImpl.java
View file @
da2a9ce6
...
...
@@ -425,14 +425,15 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
notice
.
setCreateUserName
(
reginParams
.
getUserModel
().
getRealName
());
notice
.
setCreateUserId
(
reginParams
.
getUserModel
().
getUserId
());
notice
.
setCreateUserCompanyName
(
reginParams
.
getCompany
().
getCompanyName
());
notice
.
setProjectContraption
(
String
.
valueOf
(
jsonObject
.
get
(
"projectContraption"
)));
String
equListCode
=
String
.
valueOf
(
jsonObject
.
get
(
"EQU_LIST_CODE"
));
String
equCategoryCode
=
String
.
valueOf
(
jsonObject
.
get
(
"EQU_CATEGORY_CODE"
));
notice
.
setEquListCode
(
equListCode
);
EquipmentCategory
equipmentCategory1
=
equipmentCategoryMapper
.
selectOne
(
new
LambdaQueryWrapper
<
EquipmentCategory
>().
eq
(
EquipmentCategory:
:
getCode
,
equListCode
));
notice
.
setEquListName
(
equipmentCategory1
.
getName
());
notice
.
setEquListName
(
ValidationUtil
.
isEmpty
(
equipmentCategory1
)
?
null
:
equipmentCategory1
.
getName
());
notice
.
setEquCategoryCode
(
equCategoryCode
);
EquipmentCategory
equipmentCategory2
=
equipmentCategoryMapper
.
selectOne
(
new
LambdaQueryWrapper
<
EquipmentCategory
>().
eq
(
EquipmentCategory:
:
getCode
,
equCategoryCode
));
notice
.
setEquCategoryName
(
equipmentCategory2
.
getName
());
notice
.
setEquCategoryName
(
ValidationUtil
.
isEmpty
(
equipmentCategory2
)
?
null
:
equipmentCategory2
.
getName
());
// 统计用
notice
.
setReceiveCompanyOrgCode
(
companyBo
.
getOrgCode
());
...
...
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