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
0fc23279
Commit
0fc23279
authored
Sep 12, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加并网 验收 身份
parent
ce82fb58
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
AcceptanceCheckController.java
...module/hygf/biz/controller/AcceptanceCheckController.java
+5
-4
BasicGridAcceptanceController.java
...le/hygf/biz/controller/BasicGridAcceptanceController.java
+0
-0
AcceptanceCheckServiceImpl.java
...ule/hygf/biz/service/impl/AcceptanceCheckServiceImpl.java
+2
-1
BasicGridAcceptanceServiceImpl.java
...hygf/biz/service/impl/BasicGridAcceptanceServiceImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/AcceptanceCheckController.java
View file @
0fc23279
...
@@ -7,10 +7,10 @@ import com.yeejoin.amos.boot.module.hygf.api.entity.AcceptanceCheck;
...
@@ -7,10 +7,10 @@ import com.yeejoin.amos.boot.module.hygf.api.entity.AcceptanceCheck;
import
com.yeejoin.amos.boot.module.hygf.api.entity.HygfRectificationOrder
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.HygfRectificationOrder
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
...
@@ -205,7 +205,8 @@ public class AcceptanceCheckController extends BaseController {
...
@@ -205,7 +205,8 @@ public class AcceptanceCheckController extends BaseController {
@RequestParam
(
required
=
false
,
value
=
"ownersName"
)
String
ownersName
,
@RequestParam
(
required
=
false
,
value
=
"ownersName"
)
String
ownersName
,
@RequestParam
(
required
=
false
,
value
=
"acceptanceCheckStatus"
)
String
acceptanceCheckStatus
,
@RequestParam
(
required
=
false
,
value
=
"acceptanceCheckStatus"
)
String
acceptanceCheckStatus
,
@RequestParam
(
required
=
false
,
value
=
"type"
)
String
type
,
@RequestParam
(
required
=
false
,
value
=
"type"
)
String
type
,
@RequestParam
(
required
=
false
,
value
=
"acceptanceTime"
)
String
acceptanceTime
)
throws
Exception
{
@RequestParam
(
required
=
false
,
value
=
"acceptanceTime"
)
String
acceptanceTime
,
@RequestParam
(
required
=
false
,
value
=
"province"
)
String
province
)
throws
Exception
{
//当前登录人所属场站
//当前登录人所属场站
// UserUnitInformationDto userUnitInformationDto=personnelBusinessMapper.getUserUnitInformationDto( getUserInfo().getUserId());
// UserUnitInformationDto userUnitInformationDto=personnelBusinessMapper.getUserUnitInformationDto( getUserInfo().getUserId());
...
@@ -234,7 +235,7 @@ public class AcceptanceCheckController extends BaseController {
...
@@ -234,7 +235,7 @@ public class AcceptanceCheckController extends BaseController {
basicGridNodes
.
add
(
"ys-zichan"
);
basicGridNodes
.
add
(
"ys-zichan"
);
}
}
}
}
Page
<
AcceptanceCheckDto
>
page
=
acceptanceCheckServiceImpl
.
selectPage
(
null
,
null
,
current
,
size
,
projectAddress
,
powerStationCode
,
ownersName
,
acceptanceCheckStatus
,
acceptanceTime
,
""
,
basicGridNodes
,
type
);
Page
<
AcceptanceCheckDto
>
page
=
acceptanceCheckServiceImpl
.
selectPage
(
null
,
null
,
current
,
size
,
projectAddress
,
powerStationCode
,
ownersName
,
acceptanceCheckStatus
,
acceptanceTime
,
""
,
basicGridNodes
,
type
,
province
);
//根据角色及当前节点判断是否有操作权限
//根据角色及当前节点判断是否有操作权限
if
(
basicGridNodes
!=
null
){
if
(
basicGridNodes
!=
null
){
for
(
AcceptanceCheckDto
e
:
page
.
getRecords
())
{
for
(
AcceptanceCheckDto
e
:
page
.
getRecords
())
{
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/BasicGridAcceptanceController.java
View file @
0fc23279
This diff is collapsed.
Click to expand it.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/AcceptanceCheckServiceImpl.java
View file @
0fc23279
...
@@ -73,7 +73,7 @@ public class AcceptanceCheckServiceImpl extends BaseService<AcceptanceCheckDto,A
...
@@ -73,7 +73,7 @@ public class AcceptanceCheckServiceImpl extends BaseService<AcceptanceCheckDto,A
public
Page
<
AcceptanceCheckDto
>
selectPage
(
Long
regionCompanyId
,
Long
amosDealerId
,
int
current
,
int
size
,
public
Page
<
AcceptanceCheckDto
>
selectPage
(
Long
regionCompanyId
,
Long
amosDealerId
,
int
current
,
int
size
,
String
projectAddress
,
String
powerStationCode
,
String
ownersName
,
String
acceptanceCheckStatus
,
String
projectAddress
,
String
powerStationCode
,
String
ownersName
,
String
acceptanceCheckStatus
,
String
gridConnectionTime
,
String
formType
,
List
<
String
>
basicGridNodes
,
String
type
)
throws
Exception
{
String
gridConnectionTime
,
String
formType
,
List
<
String
>
basicGridNodes
,
String
type
,
String
province
)
throws
Exception
{
PageHelper
.
startPage
(
current
,
size
);
PageHelper
.
startPage
(
current
,
size
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Date
date
=
null
;
Date
date
=
null
;
...
@@ -90,6 +90,7 @@ public class AcceptanceCheckServiceImpl extends BaseService<AcceptanceCheckDto,A
...
@@ -90,6 +90,7 @@ public class AcceptanceCheckServiceImpl extends BaseService<AcceptanceCheckDto,A
map
.
put
(
"amosDealerId"
,
amosDealerId
);
map
.
put
(
"amosDealerId"
,
amosDealerId
);
map
.
put
(
"basicGridNodes"
,
basicGridNodes
);
map
.
put
(
"basicGridNodes"
,
basicGridNodes
);
map
.
put
(
"type"
,
type
);
map
.
put
(
"type"
,
type
);
map
.
put
(
"province"
,
province
);
List
<
AcceptanceCheckDto
>
list
=
acceptanceCheckMapper
.
selectPageList
(
map
);
List
<
AcceptanceCheckDto
>
list
=
acceptanceCheckMapper
.
selectPageList
(
map
);
if
(
list
!=
null
&&
list
.
size
()
>
0
)
{
if
(
list
!=
null
&&
list
.
size
()
>
0
)
{
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/BasicGridAcceptanceServiceImpl.java
View file @
0fc23279
This diff is collapsed.
Click to expand it.
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