Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
f3216073
Commit
f3216073
authored
Jul 04, 2024
by
hezhuozhi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
bd2d94ff
c19ec00e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
EnergyAccessController.java
...t/module/jxiop/biz/controller/EnergyAccessController.java
+6
-5
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/EnergyAccessController.java
View file @
f3216073
...
@@ -2,7 +2,6 @@ package com.yeejoin.amos.boot.module.jxiop.biz.controller;
...
@@ -2,7 +2,6 @@ package com.yeejoin.amos.boot.module.jxiop.biz.controller;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.interceptors.PermissionInterceptor
;
import
com.yeejoin.amos.boot.module.jxiop.biz.service.impl.EnergyAccessServiceImpl
;
import
com.yeejoin.amos.boot.module.jxiop.biz.service.impl.EnergyAccessServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
...
@@ -12,6 +11,8 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -12,6 +11,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -28,17 +29,17 @@ public class EnergyAccessController extends BaseController {
...
@@ -28,17 +29,17 @@ public class EnergyAccessController extends BaseController {
@RequestMapping
(
value
=
"/getInstalledCapacity"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/getInstalledCapacity"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取并网容量"
,
notes
=
"获取并网容量"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取并网容量"
,
notes
=
"获取并网容量"
)
public
Page
<
Map
<
String
,
Object
>>
getInstalledCapacity
(
String
current
,
String
pageSize
,
String
code
,
String
sourceStationId
,
String
tp
)
{
public
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
getInstalledCapacity
(
String
current
,
String
pageSize
,
String
code
,
String
sourceStationId
,
String
tp
)
{
logger
.
info
(
"获取并网容量接口入参:current ={},pageSize ={},code = {},sourceStationId = {},tp = {}"
,
current
,
pageSize
,
code
,
sourceStationId
,
tp
);
logger
.
info
(
"获取并网容量接口入参:current ={},pageSize ={},code = {},sourceStationId = {},tp = {}"
,
current
,
pageSize
,
code
,
sourceStationId
,
tp
);
return
energyAccessServiceImpl
.
getInstalledCapacity
(
current
,
pageSize
,
code
,
sourceStationId
,
tp
);
return
ResponseHelper
.
buildResponse
(
energyAccessServiceImpl
.
getInstalledCapacity
(
current
,
pageSize
,
code
,
sourceStationId
,
tp
)
);
}
}
@RequestMapping
(
value
=
"/getQuotaCompleteInfo"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/getQuotaCompleteInfo"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取片区指标完成情况"
,
notes
=
"获取片区指标完成情况"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取片区指标完成情况"
,
notes
=
"获取片区指标完成情况"
)
public
Page
<
Map
<
String
,
Object
>>
getQuotaCompleteInfo
(
String
current
,
String
pageSize
,
String
code
,
String
sourceStationId
,
String
tp
)
{
public
ResponseModel
<
Page
<
Map
<
String
,
Object
>
>>
getQuotaCompleteInfo
(
String
current
,
String
pageSize
,
String
code
,
String
sourceStationId
,
String
tp
)
{
logger
.
info
(
"获取片区指标完成情况入参:current ={},pageSize ={},code = {},sourceStationId = {},tp = {}"
,
current
,
pageSize
,
code
,
sourceStationId
,
tp
);
logger
.
info
(
"获取片区指标完成情况入参:current ={},pageSize ={},code = {},sourceStationId = {},tp = {}"
,
current
,
pageSize
,
code
,
sourceStationId
,
tp
);
return
energyAccessServiceImpl
.
getQuotaCompleteInfo
(
current
,
pageSize
,
code
,
sourceStationId
,
tp
);
return
ResponseHelper
.
buildResponse
(
energyAccessServiceImpl
.
getQuotaCompleteInfo
(
current
,
pageSize
,
code
,
sourceStationId
,
tp
)
);
}
}
}
}
...
...
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