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
653b492d
Commit
653b492d
authored
Jun 01, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增:气瓶信息同步方法
parent
f9acd47f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
SyncCylinderDataService.java
...mos/api/openapi/face/service/SyncCylinderDataService.java
+0
-2
TmCylinderInfoService.java
.../amos/api/openapi/face/service/TmCylinderInfoService.java
+2
-2
No files found.
amos-boot-data/amos-boot-data-openapi/src/main/java/com/yeejoin/amos/api/openapi/face/service/SyncCylinderDataService.java
View file @
653b492d
...
...
@@ -94,6 +94,4 @@ public class SyncCylinderDataService
public
void
syncCylinderTag
(
List
<
CylinderTagsDto
>
cylinderTagsDtos
)
{
}
public
void
syncCylinderInfo
(
List
<
CylinderInfoDto
>
cylinderInfoDtos
)
{
}
}
amos-boot-data/amos-boot-data-openapi/src/main/java/com/yeejoin/amos/api/openapi/face/service/TmCylinderInfoService.java
View file @
653b492d
...
...
@@ -63,7 +63,7 @@ public class TmCylinderInfoService extends BaseService<TmCylinderInfoModel, TmCy
// TODO Auto-generated method stub
if
(
ValidationUtil
.
isEmpty
(
model
))
throw
new
BadRequest
(
"气瓶基本信息数据为空."
);
syncCylinderInfo
(
model
);
for
(
TmCylinderInfoModel
cylinderInfoModel
:
model
)
{
cylinderInfoModel
.
setRecDate
(
new
Date
());
cylinderInfoModel
.
setAppId
(
getAppId
());
...
...
@@ -72,7 +72,7 @@ public class TmCylinderInfoService extends BaseService<TmCylinderInfoModel, TmCy
return
"OK"
;
}
@Transactional
(
rollbackFor
=
{
Exception
.
class
})
private
void
syncCylinder
UnitModel
(
List
<
TmCylinderInfoModel
>
model
)
{
private
void
syncCylinder
Info
(
List
<
TmCylinderInfoModel
>
model
)
{
List
<
CylinderInfoDto
>
cylinderInfoDto
=
Bean
.
toModels
(
model
,
CylinderInfoDto
.
class
);
syncCylinderDataService
.
syncCylinderInfo
(
cylinderInfoDto
);
}
...
...
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