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
a91ceab9
Commit
a91ceab9
authored
Nov 15, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
9168f093
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
EquipmentMessageDto.java
...oin/amos/boot/module/ymt/api/dto/EquipmentMessageDto.java
+4
-4
EquipmentCategoryServiceImpl.java
...le/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
+13
-13
No files found.
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/dto/EquipmentMessageDto.java
View file @
a91ceab9
...
...
@@ -29,10 +29,10 @@ public class EquipmentMessageDto {
* 注册登记
*/
private
IdxBizJgRegisterInfo
registerInfo
;
//
/**
//
* 维保备案
//
*/
//
private IdxBizJgMaintenanceRecordInfo maintenanceRecordInfo;
/**
* 维保备案
*/
private
IdxBizJgMaintenanceRecordInfo
maintenanceRecordInfo
;
/**
* 监管信息
*/
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
a91ceab9
...
...
@@ -2237,19 +2237,19 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
idxBizJgRegisterInfoService
.
update
(
registerInfo
,
lambda
);
}
}
//
// 维保信息
//
if (!ObjectUtils.isEmpty(data.getMaintenanceRecordInfo())) {
//
IdxBizJgMaintenanceRecordInfo maintenanceRecordInfo = data.getMaintenanceRecordInfo();
//
maintenanceRecordInfo.setRecDate(date);
//
if (saveStatus == 1) {
//
maintenanceRecordInfo.setRecord(supervisoryCode);
//
idxBizJgMaintenanceRecordInfoService.save(maintenanceRecordInfo);
//
} else {
//
LambdaQueryWrapper<IdxBizJgMaintenanceRecordInfo> lambda = new QueryWrapper<IdxBizJgMaintenanceRecordInfo>().lambda();
//
lambda.eq(IdxBizJgMaintenanceRecordInfo::getRecord, supervisoryCode);
//
idxBizJgMaintenanceRecordInfoService.update(maintenanceRecordInfo, lambda);
//
}
//
}
// 维保信息
if
(!
ObjectUtils
.
isEmpty
(
data
.
getMaintenanceRecordInfo
()))
{
IdxBizJgMaintenanceRecordInfo
maintenanceRecordInfo
=
data
.
getMaintenanceRecordInfo
();
maintenanceRecordInfo
.
setRecDate
(
date
);
if
(
saveStatus
==
1
)
{
maintenanceRecordInfo
.
setRecord
(
supervisoryCode
);
idxBizJgMaintenanceRecordInfoService
.
save
(
maintenanceRecordInfo
);
}
else
{
LambdaQueryWrapper
<
IdxBizJgMaintenanceRecordInfo
>
lambda
=
new
QueryWrapper
<
IdxBizJgMaintenanceRecordInfo
>().
lambda
();
lambda
.
eq
(
IdxBizJgMaintenanceRecordInfo:
:
getRecord
,
supervisoryCode
);
idxBizJgMaintenanceRecordInfoService
.
update
(
maintenanceRecordInfo
,
lambda
);
}
}
// 其他信息
if
(!
ObjectUtils
.
isEmpty
(
data
.
getOtherInfo
()))
{
IdxBizJgOtherInfo
otherInfo
=
data
.
getOtherInfo
();
...
...
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