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
cb4ec316
Commit
cb4ec316
authored
Jan 17, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
并网详情
parent
b42be983
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
1 deletion
+28
-1
BasicGridAcceptanceDto.java
...amos/boot/module/hygf/api/dto/BasicGridAcceptanceDto.java
+4
-0
BasicGridAcceptanceMapper.xml
...main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
+1
-0
BasicGridAcceptanceController.java
...le/hygf/biz/controller/BasicGridAcceptanceController.java
+5
-0
HygfOnGridController.java
...boot/module/hygf/biz/controller/HygfOnGridController.java
+18
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/BasicGridAcceptanceDto.java
View file @
cb4ec316
...
...
@@ -70,4 +70,8 @@ public class BasicGridAcceptanceDto extends BaseDto {
//并网日期
private
Date
gridConnectionTime
;
//并网登记id
private
Long
fOnGridId
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
View file @
cb4ec316
...
...
@@ -14,6 +14,7 @@
<select
id=
"selectPageList"
resultType=
"com.yeejoin.amos.boot.module.hygf.api.dto.BasicGridAcceptanceDto"
>
SELECT
hogaa.sequence_nbr fOnGridId,
hbga.sequence_nbr sequenceNbr,
hbga.work_order_id workOrderId,
hbga.work_order_power_station_id workOrderPowerStationId,
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/BasicGridAcceptanceController.java
View file @
cb4ec316
...
...
@@ -170,4 +170,9 @@ public class BasicGridAcceptanceController extends BaseController {
public
ResponseModel
<
List
<
BasicGridAcceptanceDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
Collections
.
emptyList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/HygfOnGridController.java
View file @
cb4ec316
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.HygfOnGrid
;
import
com.yeejoin.amos.boot.module.hygf.api.mapper.HygfOnGridMapper
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
...
...
@@ -30,7 +32,8 @@ public class HygfOnGridController extends BaseController {
@Autowired
HygfOnGridServiceImpl
hygfOnGridServiceImpl
;
@Autowired
HygfOnGridMapper
hygfOnGridMapper
;
/**
* 新增并网信息
*
...
...
@@ -113,4 +116,18 @@ public class HygfOnGridController extends BaseController {
public
ResponseModel
<
List
<
HygfOnGridDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
hygfOnGridServiceImpl
.
queryForHygfOnGridList
());
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/getHygfOnGridbyid"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个并网信息"
,
notes
=
"根据sequenceNbr查询单个并网信息"
)
public
ResponseModel
<
HygfOnGrid
>
getHygfOnGridbyid
(
@RequestParam
(
required
=
false
)
Long
sequenceNbr
)
{
HygfOnGrid
da
=
new
HygfOnGrid
();
if
(
sequenceNbr
!=
null
){
da
=
hygfOnGridMapper
.
selectById
(
sequenceNbr
);
}
return
ResponseHelper
.
buildResponse
(
da
);
}
}
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