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
ccf364cc
Commit
ccf364cc
authored
Aug 30, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加整改类型
parent
1f5f3c6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
1 deletion
+34
-1
HygfRectificationOrderController.java
...hygf/biz/controller/HygfRectificationOrderController.java
+34
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/HygfRectificationOrderController.java
View file @
ccf364cc
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.module.hygf.api.Enum.RectificationOrderEnum
;
import
com.yeejoin.amos.boot.module.hygf.api.Enum.RectificationOrderEnum
;
...
@@ -153,6 +155,16 @@ public class HygfRectificationOrderController extends BaseController {
...
@@ -153,6 +155,16 @@ public class HygfRectificationOrderController extends BaseController {
for
(
Long
aLong
:
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
keySet
())
{
for
(
Long
aLong
:
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
keySet
())
{
List
<
Long
>
longs
=
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
get
(
aLong
);
List
<
Long
>
longs
=
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
get
(
aLong
);
page
.
getRecords
().
forEach
(
e
->{
page
.
getRecords
().
forEach
(
e
->{
if
(
e
.
getRectificationIdea
()
!=
null
&&
e
.
getRectificationIdea
().
size
()
>
0
)
{
List
<
String
>
types
=
new
ArrayList
<>();
e
.
getRectificationIdea
().
forEach
(
t
->
{
JSONObject
jsonObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
t
));
types
.
add
(
jsonObject
.
getString
(
"type"
));
});
e
.
setRectificationType
(
String
.
join
(
","
,
types
));
}
if
(
longs
.
contains
(
areaId
)
&&
e
.
getRectificationSource
().
equals
(
"area"
)){
if
(
longs
.
contains
(
areaId
)
&&
e
.
getRectificationSource
().
equals
(
"area"
)){
e
.
setIsAudit
(
"0"
);
e
.
setIsAudit
(
"0"
);
}
else
if
(
longs
.
contains
(
engineeringId
)
&&
e
.
getRectificationSource
().
equals
(
"engineering"
)){
}
else
if
(
longs
.
contains
(
engineeringId
)
&&
e
.
getRectificationSource
().
equals
(
"engineering"
)){
...
@@ -219,9 +231,21 @@ public class HygfRectificationOrderController extends BaseController {
...
@@ -219,9 +231,21 @@ public class HygfRectificationOrderController extends BaseController {
}
}
Page
<
HygfRectificationOrder
>
page
=
hygfRectificationOrderServiceImpl
.
queryForHygfRectificationOrderPage
(
current
,
size
,
workOrderPowerStationNodes
,
peasantHouseholeId
,
status
);
Page
<
HygfRectificationOrder
>
page
=
hygfRectificationOrderServiceImpl
.
queryForHygfRectificationOrderPage
(
current
,
size
,
workOrderPowerStationNodes
,
peasantHouseholeId
,
status
);
for
(
Long
aLong
:
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
keySet
())
{
for
(
Long
aLong
:
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
keySet
())
{
List
<
Long
>
longs
=
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
get
(
aLong
);
List
<
Long
>
longs
=
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
get
(
aLong
);
page
.
getRecords
().
forEach
(
e
->{
page
.
getRecords
().
forEach
(
e
->{
if
(
e
.
getRectificationIdea
()
!=
null
&&
e
.
getRectificationIdea
().
size
()
>
0
)
{
List
<
String
>
types
=
new
ArrayList
<>();
e
.
getRectificationIdea
().
forEach
(
t
->
{
JSONObject
jsonObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
t
));
types
.
add
(
jsonObject
.
getString
(
"type"
));
});
e
.
setRectificationType
(
String
.
join
(
","
,
types
));
}
if
(
longs
.
contains
(
areaId
)
&&
e
.
getRectificationSource
().
equals
(
"bw-area"
)
&&
rectificationSource
.
contains
(
e
.
getRectificationSource
())){
if
(
longs
.
contains
(
areaId
)
&&
e
.
getRectificationSource
().
equals
(
"bw-area"
)
&&
rectificationSource
.
contains
(
e
.
getRectificationSource
())){
e
.
setIsAudit
(
"0"
);
e
.
setIsAudit
(
"0"
);
}
else
if
(
longs
.
contains
(
engineeringId
)
&&
e
.
getRectificationSource
().
equals
(
"bw-engineering"
)&&
rectificationSource
.
contains
(
e
.
getRectificationSource
())){
}
else
if
(
longs
.
contains
(
engineeringId
)
&&
e
.
getRectificationSource
().
equals
(
"bw-engineering"
)&&
rectificationSource
.
contains
(
e
.
getRectificationSource
())){
...
@@ -240,7 +264,6 @@ public class HygfRectificationOrderController extends BaseController {
...
@@ -240,7 +264,6 @@ public class HygfRectificationOrderController extends BaseController {
}
}
/**
/**
* 列表分页查询
* 列表分页查询
*
*
...
@@ -301,6 +324,16 @@ public class HygfRectificationOrderController extends BaseController {
...
@@ -301,6 +324,16 @@ public class HygfRectificationOrderController extends BaseController {
for
(
Long
aLong
:
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
keySet
())
{
for
(
Long
aLong
:
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
keySet
())
{
List
<
Long
>
longs
=
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
get
(
aLong
);
List
<
Long
>
longs
=
reginParams
.
getUserModel
().
getOrgRoleSeqs
().
get
(
aLong
);
page
.
getRecords
().
forEach
(
e
->{
page
.
getRecords
().
forEach
(
e
->{
if
(
e
.
getRectificationIdea
()
!=
null
&&
e
.
getRectificationIdea
().
size
()
>
0
)
{
List
<
String
>
types
=
new
ArrayList
<>();
e
.
getRectificationIdea
().
forEach
(
t
->
{
JSONObject
jsonObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
t
));
types
.
add
(
jsonObject
.
getString
(
"type"
));
});
e
.
setRectificationType
(
String
.
join
(
","
,
types
));
}
if
(
longs
.
contains
(
areaId
)
&&
e
.
getRectificationSource
().
equals
(
"ys-area"
)
&&
rectificationSource
.
contains
(
e
.
getRectificationSource
())
){
if
(
longs
.
contains
(
areaId
)
&&
e
.
getRectificationSource
().
equals
(
"ys-area"
)
&&
rectificationSource
.
contains
(
e
.
getRectificationSource
())
){
e
.
setIsAudit
(
"0"
);
e
.
setIsAudit
(
"0"
);
}
else
if
(
longs
.
contains
(
tourongId
)
&&
e
.
getRectificationSource
().
equals
(
"ys-tourong"
)&&
rectificationSource
.
contains
(
e
.
getRectificationSource
())){
}
else
if
(
longs
.
contains
(
tourongId
)
&&
e
.
getRectificationSource
().
equals
(
"ys-tourong"
)&&
rectificationSource
.
contains
(
e
.
getRectificationSource
())){
...
...
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