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
1b4f39c5
Commit
1b4f39c5
authored
Aug 29, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xiugaibug
parent
a3cb6e46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
AcceptanceCheckController.java
...module/hygf/biz/controller/AcceptanceCheckController.java
+3
-3
AcceptanceCheckServiceImpl.java
...ule/hygf/biz/service/impl/AcceptanceCheckServiceImpl.java
+5
-2
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 @
1b4f39c5
...
...
@@ -201,9 +201,9 @@ public class AcceptanceCheckController extends BaseController {
@RequestParam
(
required
=
false
,
value
=
"projectAddress"
)
String
projectAddress
,
@RequestParam
(
required
=
false
,
value
=
"powerStationCode"
)
String
powerStationCode
,
@RequestParam
(
required
=
false
,
value
=
"ownersName"
)
String
ownersName
,
@RequestParam
(
required
=
false
,
value
=
"
gridStatus"
)
String
grid
Status
,
@RequestParam
(
required
=
false
,
value
=
"
acceptanceCheckStatus"
)
String
acceptanceCheck
Status
,
@RequestParam
(
required
=
false
,
value
=
"type"
)
String
type
,
@RequestParam
(
required
=
false
,
value
=
"
gridConnectionTime"
)
String
gridConnection
Time
)
throws
Exception
{
@RequestParam
(
required
=
false
,
value
=
"
acceptanceTime"
)
String
acceptance
Time
)
throws
Exception
{
//当前登录人所属场站
// UserUnitInformationDto userUnitInformationDto=personnelBusinessMapper.getUserUnitInformationDto( getUserInfo().getUserId());
...
...
@@ -232,7 +232,7 @@ public class AcceptanceCheckController extends BaseController {
basicGridNodes
.
add
(
"ys-zichan"
);
}
}
Page
<
AcceptanceCheckDto
>
page
=
acceptanceCheckServiceImpl
.
selectPage
(
null
,
null
,
current
,
size
,
projectAddress
,
powerStationCode
,
ownersName
,
gridStatus
,
gridConnection
Time
,
""
,
basicGridNodes
,
type
);
Page
<
AcceptanceCheckDto
>
page
=
acceptanceCheckServiceImpl
.
selectPage
(
null
,
null
,
current
,
size
,
projectAddress
,
powerStationCode
,
ownersName
,
acceptanceCheckStatus
,
acceptance
Time
,
""
,
basicGridNodes
,
type
);
//根据角色及当前节点判断是否有操作权限
if
(
basicGridNodes
!=
null
){
for
(
AcceptanceCheckDto
e
:
page
.
getRecords
())
{
...
...
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 @
1b4f39c5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
cn.hutool.core.collection.CollectionUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
com.github.pagehelper.PageHelper
;
...
...
@@ -56,7 +59,7 @@ public class AcceptanceCheckServiceImpl extends BaseService<AcceptanceCheckDto,A
public
Page
<
AcceptanceCheckDto
>
selectPage
(
Long
regionCompanyId
,
Long
amosDealerId
,
int
current
,
int
size
,
String
projectAddress
,
String
powerStationCode
,
String
ownersName
,
String
grid
Status
,
String
projectAddress
,
String
powerStationCode
,
String
ownersName
,
String
acceptanceCheck
Status
,
String
gridConnectionTime
,
String
formType
,
List
<
String
>
basicGridNodes
,
String
type
)
throws
Exception
{
PageHelper
.
startPage
(
current
,
size
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
...
...
@@ -67,7 +70,7 @@ public class AcceptanceCheckServiceImpl extends BaseService<AcceptanceCheckDto,A
map
.
put
(
"projectAddress"
,
projectAddress
);
map
.
put
(
"powerStationCode"
,
powerStationCode
);
map
.
put
(
"ownersName"
,
ownersName
);
map
.
put
(
"
gridStatus"
,
grid
Status
);
map
.
put
(
"
acceptanceCheckStatus"
,
acceptanceCheck
Status
);
map
.
put
(
"gridConnectionTime"
,
gridConnectionTime
);
map
.
put
(
"formType"
,
formType
);
map
.
put
(
"regionCompanyId"
,
regionCompanyId
);
...
...
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