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
5fd221b7
Commit
5fd221b7
authored
Dec 07, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改水源导入
parent
b221a19f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
WaterResourceServiceImpl.java
...ule/common/biz/service/impl/WaterResourceServiceImpl.java
+3
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/WaterResourceServiceImpl.java
View file @
5fd221b7
...
@@ -163,7 +163,7 @@ public class WaterResourceServiceImpl extends BaseService<WaterResourceDto, Wate
...
@@ -163,7 +163,7 @@ public class WaterResourceServiceImpl extends BaseService<WaterResourceDto, Wate
break
;
break
;
case
"natural"
:
case
"natural"
:
// 新增基础信息
// 新增基础信息
model
.
setIsIot
(
fals
e
);
model
.
setIsIot
(
tru
e
);
createWithModel
(
model
);
createWithModel
(
model
);
WaterResourceNaturalDto
waterResourceNaturalDto
=
new
WaterResourceNaturalDto
();
WaterResourceNaturalDto
waterResourceNaturalDto
=
new
WaterResourceNaturalDto
();
BeanUtils
.
copyProperties
(
model
,
waterResourceNaturalDto
);
BeanUtils
.
copyProperties
(
model
,
waterResourceNaturalDto
);
...
@@ -172,6 +172,7 @@ public class WaterResourceServiceImpl extends BaseService<WaterResourceDto, Wate
...
@@ -172,6 +172,7 @@ public class WaterResourceServiceImpl extends BaseService<WaterResourceDto, Wate
waterResourceNaturalService
.
createWithModel
(
waterResourceNaturalDto
);
waterResourceNaturalService
.
createWithModel
(
waterResourceNaturalDto
);
break
;
break
;
case
"industryPool"
:
case
"industryPool"
:
case
"waterTank"
:
case
"pool"
:
case
"pool"
:
// 新增基础信息
// 新增基础信息
model
.
setIsIot
(
true
);
model
.
setIsIot
(
true
);
...
@@ -183,6 +184,7 @@ public class WaterResourceServiceImpl extends BaseService<WaterResourceDto, Wate
...
@@ -183,6 +184,7 @@ public class WaterResourceServiceImpl extends BaseService<WaterResourceDto, Wate
waterResourcePoolService
.
createWithModel
(
waterResourcePoolDto
);
waterResourcePoolService
.
createWithModel
(
waterResourcePoolDto
);
break
;
break
;
}
}
// 新增物联信息
// 新增物联信息
// if (model.getIsIot()) {
// if (model.getIsIot()) {
// WaterResourceIotDto waterResourceIotDto = new WaterResourceIotDto();
// WaterResourceIotDto waterResourceIotDto = new WaterResourceIotDto();
...
...
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