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
aa3add26
Commit
aa3add26
authored
Apr 24, 2023
by
高建强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
场站新增归地片区名称属性
parent
3abe5d4a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
StationBasicDto.java
...ejoin/amos/boot/module/jxiop/api/dto/StationBasicDto.java
+1
-1
StationBasic.java
...ejoin/amos/boot/module/jxiop/api/entity/StationBasic.java
+2
-2
StationBasicServiceImpl.java
...odule/jxiop/biz/service/impl/StationBasicServiceImpl.java
+4
-4
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/dto/StationBasicDto.java
View file @
aa3add26
...
@@ -73,7 +73,7 @@ public class StationBasicDto extends BaseDto {
...
@@ -73,7 +73,7 @@ public class StationBasicDto extends BaseDto {
private
String
area
;
private
String
area
;
@ApiModelProperty
(
value
=
"所属地区名称"
)
@ApiModelProperty
(
value
=
"所属地区名称"
)
private
String
belongA
reaName
;
private
String
a
reaName
;
private
List
<
StationCoordinateDto
>
stationCoordinate
;
private
List
<
StationCoordinateDto
>
stationCoordinate
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/entity/StationBasic.java
View file @
aa3add26
...
@@ -98,8 +98,8 @@ public class StationBasic extends BaseEntity {
...
@@ -98,8 +98,8 @@ public class StationBasic extends BaseEntity {
/**
/**
* 所属地区名称
* 所属地区名称
*/
*/
@TableField
(
"
belong_
area_name"
)
@TableField
(
"area_name"
)
private
String
belongA
reaName
;
private
String
a
reaName
;
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
List
<
Integer
>
belongArealist
;
private
List
<
Integer
>
belongArealist
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/StationBasicServiceImpl.java
View file @
aa3add26
...
@@ -83,8 +83,8 @@ public class StationBasicServiceImpl extends BaseService<StationBasicDto,Station
...
@@ -83,8 +83,8 @@ public class StationBasicServiceImpl extends BaseService<StationBasicDto,Station
}
}
CompanyModel
companyModel
=
new
CompanyModel
();
CompanyModel
companyModel
=
new
CompanyModel
();
//单位
//单位
companyModel
=
personBasicServiceImpl
.
getCompanyModel
(
Long
.
parseLong
(
stationBasic
.
get
Belong
Area
()));
companyModel
=
personBasicServiceImpl
.
getCompanyModel
(
Long
.
parseLong
(
stationBasic
.
getArea
()));
stationBasic
.
set
Belong
AreaName
(
companyModel
.
getCompanyName
());
stationBasic
.
setAreaName
(
companyModel
.
getCompanyName
());
//场站基本信息
//场站基本信息
this
.
save
(
stationBasic
);
this
.
save
(
stationBasic
);
...
@@ -109,8 +109,8 @@ public class StationBasicServiceImpl extends BaseService<StationBasicDto,Station
...
@@ -109,8 +109,8 @@ public class StationBasicServiceImpl extends BaseService<StationBasicDto,Station
}
}
CompanyModel
companyModel
=
new
CompanyModel
();
CompanyModel
companyModel
=
new
CompanyModel
();
//单位
//单位
companyModel
=
personBasicServiceImpl
.
getCompanyModel
(
Long
.
parseLong
(
stationBasic
.
get
Belong
Area
()));
companyModel
=
personBasicServiceImpl
.
getCompanyModel
(
Long
.
parseLong
(
stationBasic
.
getArea
()));
stationBasic
.
set
Belong
AreaName
(
companyModel
.
getCompanyName
());
stationBasic
.
setAreaName
(
companyModel
.
getCompanyName
());
//场站基本信息
//场站基本信息
stationBasicMapper
.
updateById
(
stationBasic
);
stationBasicMapper
.
updateById
(
stationBasic
);
...
...
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