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
4aa74410
Commit
4aa74410
authored
Jan 19, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
启用停用、维修告知完成列表返回
parent
752c6557
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
1 deletion
+31
-1
JgEnableDisable.java
...ejoin/amos/boot/module/jg/api/entity/JgEnableDisable.java
+8
-0
JgMaintainNotice.java
...join/amos/boot/module/jg/api/entity/JgMaintainNotice.java
+11
-1
JgEnableDisableServiceImpl.java
...odule/jg/biz/service/impl/JgEnableDisableServiceImpl.java
+5
-0
JgMaintainNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgMaintainNoticeServiceImpl.java
+7
-0
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/entity/JgEnableDisable.java
View file @
4aa74410
...
...
@@ -153,4 +153,12 @@ public class JgEnableDisable extends BaseEntity {
@TableField
(
exist
=
false
)
private
String
supervisoryCode
;
@TableField
(
exist
=
false
)
private
String
equCategory
;
@TableField
(
exist
=
false
)
private
String
productName
;
@TableField
(
exist
=
false
)
private
String
address
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgMaintainNotice.java
View file @
4aa74410
...
...
@@ -257,7 +257,7 @@ public class JgMaintainNotice extends BaseEntity {
private
String
useUnitName
;
/**
* 维修类型(1
一般维修,2
重点维修)
* 维修类型(1
0000一般维修,10001
重点维修)
*/
@TableField
(
"maintain_type"
)
private
String
maintainType
;
...
...
@@ -332,4 +332,14 @@ public class JgMaintainNotice extends BaseEntity {
@TableField
(
exist
=
false
)
private
String
supervisoryCode
;
/**
* 维修类型名称
*/
@TableField
(
exist
=
false
)
private
String
maintainTypeDesc
;
/**
* 设备地址
*/
@TableField
(
exist
=
false
)
private
String
fullAddress
;
}
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/JgEnableDisableServiceImpl.java
View file @
4aa74410
...
...
@@ -110,6 +110,11 @@ public class JgEnableDisableServiceImpl extends BaseService<JgEnableDisableDto,
String
instanceId
=
""
;
jgEnableDisable
.
setEquList
(
"null"
.
equals
(
record
)
?
"null"
:
map
.
get
(
"equListDesc"
).
toString
());
jgEnableDisable
.
setSupervisoryCode
(
"null"
.
equals
(
record
)
?
"null"
:
map
.
get
(
"supervisoryCode"
).
toString
());
jgEnableDisable
.
setEquCategory
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"equCategoryDesc"
))
?
null
:
map
.
get
(
"equCategoryDesc"
).
toString
());
jgEnableDisable
.
setProductName
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"productName"
))
?
null
:
map
.
get
(
"productName"
).
toString
());
jgEnableDisable
.
setAddress
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"fullAddress"
))
?
null
:
map
.
get
(
"fullAddress"
).
toString
());
if
(
SUBMIT_TYPE_FLOW
.
equals
(
submit
))
{
if
(
map
.
containsKey
(
"instanceId"
)
&&
!
ObjectUtils
.
isEmpty
(
map
.
get
(
"instanceId"
))){
// 只调用执行API,返回下个节点信息,用于填充业务字段
...
...
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/JgMaintainNoticeServiceImpl.java
View file @
4aa74410
...
...
@@ -9,6 +9,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
import
com.yeejoin.amos.boot.biz.common.service.IDataDictionaryService
;
import
com.yeejoin.amos.boot.biz.common.service.impl.DataDictionaryServiceImpl
;
import
com.yeejoin.amos.boot.biz.common.utils.DateUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgMaintainNoticeDto
;
...
...
@@ -92,6 +93,9 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
RedisUtils
redisUtils
;
@Autowired
DataDictionaryServiceImpl
iDataDictionaryService
;
@Autowired
private
TzBaseUnitLicenceMapper
baseUnitLicenceMapper
;
@Autowired
...
...
@@ -453,6 +457,9 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
dto
.
setCreateUserName
(
reginParams
.
getUserModel
().
getRealName
());
dto
.
setCreateUserId
(
reginParams
.
getUserModel
().
getUserId
());
DataDictionary
dictionary
=
iDataDictionaryService
.
getByCode
(
dto
.
getMaintainType
(),
"WXLX"
);
dto
.
setMaintainTypeDesc
(
dictionary
.
getName
());
dto
.
setFullAddress
(
dto
.
getProvinceName
()
+
dto
.
getCityName
()
+
dto
.
getCountyName
()
+
dto
.
getStreetName
()
+
dto
.
getAddress
());
list
.
add
(
dto
);
equipList
.
add
(
jgRelationEquip
);
});
...
...
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