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
71fb1223
Commit
71fb1223
authored
Dec 04, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改审核状态
parent
b51782cb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
PowerStationServiceImpl.java
...module/hygf/biz/service/impl/PowerStationServiceImpl.java
+1
-1
SurveyInformationServiceImpl.java
...e/hygf/biz/service/impl/SurveyInformationServiceImpl.java
+2
-1
UnitInfoServiceImpl.java
...oot/module/hygf/biz/service/impl/UnitInfoServiceImpl.java
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PowerStationServiceImpl.java
View file @
71fb1223
...
@@ -193,7 +193,7 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
...
@@ -193,7 +193,7 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
// 1. 业务相关数据落表
// 1. 业务相关数据落表
PowerStation
powerStation
=
this
.
baseMapper
.
selectById
(
stationId
);
PowerStation
powerStation
=
this
.
baseMapper
.
selectById
(
stationId
);
PowerStationNodeEnum
nodeByCode
=
PowerStationNodeEnum
.
getNodeByCode
(
nodeCode
);
PowerStationNodeEnum
nodeByCode
=
PowerStationNodeEnum
.
getNodeByCode
(
nodeCode
);
String
result
=
String
.
valueOf
(
kv
.
get
(
"approvalStatu
e
"
));
String
result
=
String
.
valueOf
(
kv
.
get
(
"approvalStatu
s
"
));
boolean
flag
=
true
;
boolean
flag
=
true
;
if
(
PowerStationNodeEnum
.
设计上传图纸
.
getCode
().
equals
(
nodeCode
)||
PowerStationNodeEnum
.
经销商上传图纸
.
getCode
().
equals
(
nodeCode
))
{
if
(
PowerStationNodeEnum
.
设计上传图纸
.
getCode
().
equals
(
nodeCode
)||
PowerStationNodeEnum
.
经销商上传图纸
.
getCode
().
equals
(
nodeCode
))
{
this
.
updateSeve
(
nodeCode
,
powerStation
.
getPeasantHouseholdId
(),
kv
);
this
.
updateSeve
(
nodeCode
,
powerStation
.
getPeasantHouseholdId
(),
kv
);
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/SurveyInformationServiceImpl.java
View file @
71fb1223
...
@@ -274,6 +274,7 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
...
@@ -274,6 +274,7 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
powerStationService
.
savePowerStation
(
powerStation
,
true
,
powerStation
.
getOwnersName
(),
""
);
powerStationService
.
savePowerStation
(
powerStation
,
true
,
powerStation
.
getOwnersName
(),
""
);
}
}
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
throw
new
BaseException
(
"获取工作流节点失败!"
,
"400"
,
"获取工作流节点失败!"
);
throw
new
BaseException
(
"获取工作流节点失败!"
,
"400"
,
"获取工作流节点失败!"
);
}
}
}
}
...
@@ -395,7 +396,7 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
...
@@ -395,7 +396,7 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
Map
<
String
,
Object
>
flowLoggerMap
=
workflowFeignClient
.
getFlowLogger
(
processInstanceId
).
getResult
();
Map
<
String
,
Object
>
flowLoggerMap
=
workflowFeignClient
.
getFlowLogger
(
processInstanceId
).
getResult
();
List
<
LinkedHashMap
>
flowLogger
=
(
List
<
LinkedHashMap
>)
flowLoggerMap
.
get
(
"flowLogger"
);
List
<
LinkedHashMap
>
flowLogger
=
(
List
<
LinkedHashMap
>)
flowLoggerMap
.
get
(
"flowLogger"
);
flowLogger
=
flowLogger
.
stream
().
map
(
i
->
{
flowLogger
=
flowLogger
.
stream
().
map
(
i
->
{
i
.
put
(
"approvalStatue"
,
i
.
get
(
"approvalStatu
e
"
).
toString
());
i
.
put
(
"approvalStatue"
,
i
.
get
(
"approvalStatu
s
"
).
toString
());
return
i
;
return
i
;
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
LoggerDto
loggerDto
=
new
LoggerDto
();
LoggerDto
loggerDto
=
new
LoggerDto
();
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/UnitInfoServiceImpl.java
View file @
71fb1223
...
@@ -520,7 +520,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
...
@@ -520,7 +520,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
DealerReviewEnum
nodeByCode
=
DealerReviewEnum
.
getNodeByCode
(
nodeCode
);
DealerReviewEnum
nodeByCode
=
DealerReviewEnum
.
getNodeByCode
(
nodeCode
);
String
approvalStatue
=
""
;
String
approvalStatue
=
""
;
if
(
DealerReviewEnum
.
经销商管理员审核
.
getCode
().
equals
(
nodeCode
))
{
if
(
DealerReviewEnum
.
经销商管理员审核
.
getCode
().
equals
(
nodeCode
))
{
String
result
=
String
.
valueOf
(
kv
.
get
(
"approvalStatu
e
"
));
String
result
=
String
.
valueOf
(
kv
.
get
(
"approvalStatu
s
"
));
if
(
VERIFY_RESULT_NO
.
equals
(
result
))
{
if
(
VERIFY_RESULT_NO
.
equals
(
result
))
{
// 1. 更新经销商状态
// 1. 更新经销商状态
unitInfo
.
setAuditStatus
(
3
);
unitInfo
.
setAuditStatus
(
3
);
...
...
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