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
1def9590
Commit
1def9590
authored
Dec 03, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):设计年限功能修改
parent
6c3215c4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
7 deletions
+16
-7
JgOverDesignServiceLife.java
...os/boot/module/jg/api/entity/JgOverDesignServiceLife.java
+7
-1
JgOverDesignServiceLifeMapper.xml
...c/main/resources/mapper/JgOverDesignServiceLifeMapper.xml
+1
-1
JgOverDesignServiceLifeServiceImpl.java
.../biz/service/impl/JgOverDesignServiceLifeServiceImpl.java
+8
-5
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/JgOverDesignServiceLife.java
View file @
1def9590
...
...
@@ -172,12 +172,18 @@ public class JgOverDesignServiceLife extends BaseEntity {
@TableField
(
"use_registration_code"
)
private
String
useRegistrationCode
;
@TableField
(
exist
=
false
)
@TableField
(
"equ_list"
)
private
String
equList
;
@TableField
(
"equ_list_name"
)
private
String
equListName
;
@TableField
(
exist
=
false
)
private
String
equCategory
;
@TableField
(
exist
=
false
)
private
String
equCategoryName
;
/**
* 首次使用截止日期
*/
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgOverDesignServiceLifeMapper.xml
View file @
1def9590
...
...
@@ -41,7 +41,7 @@
ovds.use_registration_code AS useRegistrationCode,
ovds.next_execute_user_ids AS nextExecuteUserIds,
ovds.create_user_id AS createUserId,
ovds.next_t
ASk_id AS nextTAS
kId,
ovds.next_t
ask_id AS nextTas
kId,
ovds.USE_UNIT_NAME AS useUnitName,
jri.PRODUCT_NAME AS productName,
jri.EQU_CODE AS equCode,
...
...
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/JgOverDesignServiceLifeServiceImpl.java
View file @
1def9590
...
...
@@ -234,8 +234,10 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
.
findFirst
()
.
map
(
e
->
Objects
.
toString
(
e
.
get
(
key
),
""
))
.
orElse
(
""
);
overDesignServiceLife
.
setEquList
(
getFirstValue
.
apply
(
"equList"
));
overDesignServiceLife
.
setEquCategory
(
getFirstValue
.
apply
(
"equCategory"
));
overDesignServiceLife
.
setEquList
(
getFirstValue
.
apply
(
"equListCode"
));
overDesignServiceLife
.
setEquListName
(
getFirstValue
.
apply
(
"equList"
));
overDesignServiceLife
.
setEquCategory
(
getFirstValue
.
apply
(
"equCategoryCode"
));
overDesignServiceLife
.
setEquCategoryName
(
getFirstValue
.
apply
(
"equCategory"
));
boolean
hasId
=
StringUtils
.
isEmpty
(
overDesignDto
.
getSequenceNbr
());
//新增
if
(
hasId
)
{
...
...
@@ -275,7 +277,8 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
equip
.
setSafetyAssessmentReport
(
JSONObject
.
toJSONString
(
device
.
get
(
"safetyAssessmentReport"
)));
}
equipList
.
add
(
equip
);
overDesignServiceLife
.
setEquList
(
Objects
.
toString
(
device
.
get
(
"equList"
),
""
));
overDesignServiceLife
.
setEquList
(
Objects
.
toString
(
device
.
get
(
"equListCode"
),
""
));
overDesignServiceLife
.
setEquListName
(
Objects
.
toString
(
device
.
get
(
"equList"
),
""
));
});
//保存或更新检验信息
this
.
updateOrCreateInspectionDetection
(
equipmentLists
);
...
...
@@ -313,7 +316,7 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
BeanUtil
.
copyProperties
(
overDesignServiceLife
,
taskMessageDto
);
taskMessageDto
.
setEquipId
(
String
.
valueOf
(
map
.
get
(
"equipId"
)));
dto
.
setModel
(
taskMessageDto
);
dto
.
setTaskContent
(
String
.
format
(
"来自%s的业务办理,【申请单号:%s】"
,
ObjectUtils
.
isEmpty
(
overDesignServiceLife
.
getEquList
())
?
""
:
overDesignServiceLife
.
getEquList
(),
dto
.
setTaskContent
(
String
.
format
(
"来自%s的业务办理,【申请单号:%s】"
,
ObjectUtils
.
isEmpty
(
overDesignServiceLife
.
getEquList
Name
())
?
""
:
overDesignServiceLife
.
getEquListName
(),
overDesignServiceLife
.
getApplyNo
()));
dto
.
setTaskCode
(
overDesignServiceLife
.
getApplyNo
());
dto
.
setTaskType
(
String
.
valueOf
(
BusinessTypeEnum
.
JG_OVER_DESIGN_SERVICE_LIFE
.
getCode
()));
...
...
@@ -799,7 +802,7 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
dto
.
setNextExecuteUser
(
workflowResultDto
.
getNextExecutorRoleIds
());
dto
.
setTaskContent
(
String
.
format
(
"来自%s的业务办理,【申请单号:%s】"
,
ObjectUtils
.
isEmpty
(
jgOverDesignServiceLife
.
getEquList
())
?
""
:
jgOverDesignServiceLife
.
getEquList
(),
ObjectUtils
.
isEmpty
(
jgOverDesignServiceLife
.
getEquList
Name
())
?
""
:
jgOverDesignServiceLife
.
getEquListName
(),
jgOverDesignServiceLife
.
getApplyNo
()));
dto
.
setFlowCode
(
jgOverDesignServiceLife
.
getNextTaskId
());
list
.
add
(
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