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
5c599972
Commit
5c599972
authored
Jul 18, 2023
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
56675ac0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
PowerStationProcessStateEnum.java
...ot/module/hygf/api/Enum/PowerStationProcessStateEnum.java
+2
-2
PowerStationServiceImpl.java
...module/hygf/biz/service/impl/PowerStationServiceImpl.java
+3
-3
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/Enum/PowerStationProcessStateEnum.java
View file @
5c599972
...
@@ -11,8 +11,8 @@ import lombok.Getter;
...
@@ -11,8 +11,8 @@ import lombok.Getter;
@AllArgsConstructor
@AllArgsConstructor
public
enum
PowerStationProcessStateEnum
{
public
enum
PowerStationProcessStateEnum
{
进行中
(
"进行中"
,
"0"
,
"progress"
),
进行中
(
"进行中"
,
"0"
,
"progress"
),
通过
(
"通过"
,
"1"
,
"
yes
"
),
通过
(
"通过"
,
"1"
,
"
0
"
),
不通过
(
"不通过"
,
"2"
,
"
no
"
),
不通过
(
"不通过"
,
"2"
,
"
1
"
),
完成
(
"完成"
,
"3"
,
"complete"
),
完成
(
"完成"
,
"3"
,
"complete"
),
作废
(
"作废"
,
"4"
,
"reject"
);
作废
(
"作废"
,
"4"
,
"reject"
);
...
...
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 @
5c599972
...
@@ -61,8 +61,8 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
...
@@ -61,8 +61,8 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
DesignInformationServiceImpl
designInformationService
;
DesignInformationServiceImpl
designInformationService
;
private
static
final
String
IDX_REQUEST_STATE
=
"200"
;
private
static
final
String
IDX_REQUEST_STATE
=
"200"
;
private
static
final
String
VERIFY_RESULT_YES
=
"
yes
"
;
private
static
final
String
VERIFY_RESULT_YES
=
"
1
"
;
private
static
final
String
VERIFY_RESULT_NO
=
"
no
"
;
private
static
final
String
VERIFY_RESULT_NO
=
"
0
"
;
@Autowired
@Autowired
WorkflowFeignClient
workflowFeignClient
;
WorkflowFeignClient
workflowFeignClient
;
...
@@ -118,7 +118,7 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
...
@@ -118,7 +118,7 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
if
(
PowerStationNodeEnum
.
设计上传图纸
.
getCode
().
equals
(
nodeCode
)||
PowerStationNodeEnum
.
经销商上传图纸
.
getCode
().
equals
(
nodeCode
))
{
if
(
PowerStationNodeEnum
.
设计上传图纸
.
getCode
().
equals
(
nodeCode
)||
PowerStationNodeEnum
.
经销商上传图纸
.
getCode
().
equals
(
nodeCode
))
{
this
.
updateSeve
(
powerStation
.
getPeasantHouseholdId
(),
kv
);
this
.
updateSeve
(
powerStation
.
getPeasantHouseholdId
(),
kv
);
}
else
{
}
else
{
String
result
=
String
.
valueOf
(
kv
.
get
(
"
VERIFY_RESULT
"
));
String
result
=
String
.
valueOf
(
kv
.
get
(
"
approvalStatue
"
));
if
(
VERIFY_RESULT_NO
.
equals
(
result
))
{
if
(
VERIFY_RESULT_NO
.
equals
(
result
))
{
powerStation
.
setProcessStatus
(
PowerStationProcessStateEnum
.
不通过
.
getName
());
powerStation
.
setProcessStatus
(
PowerStationProcessStateEnum
.
不通过
.
getName
());
}
}
...
...
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