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
a8b1de4d
Commit
a8b1de4d
authored
Jan 26, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改工作流
parent
dfb525ab
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
1 deletion
+70
-1
PowerStationEnum.java
...join/amos/boot/module/hygf/api/Enum/PowerStationEnum.java
+66
-0
NumberUtil.java
...om/yeejoin/amos/boot/module/hygf/api/util/NumberUtil.java
+4
-1
PowerStationServiceImpl.java
...module/hygf/biz/service/impl/PowerStationServiceImpl.java
+0
-0
UnitInfoServiceImpl.java
...oot/module/hygf/biz/service/impl/UnitInfoServiceImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/Enum/PowerStationEnum.java
0 → 100644
View file @
a8b1de4d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
Enum
;
import
lombok.AllArgsConstructor
;
import
lombok.Getter
;
/**
* @description: 验收状态枚举
*/
@Getter
@AllArgsConstructor
@SuppressWarnings
(
"ALL"
)
public
enum
PowerStationEnum
{
经销商确认
(
"经销商确认"
,
"1"
,
"hygf_02"
,
""
),
设计审核
(
"设计审核"
,
"2"
,
"hygf_03"
,
"hygf/Sjsh"
),
投融审核
(
"投融审核"
,
"3"
,
"hygf_05"
,
"hygf/Sjsh"
),
法务审核
(
"法务审核"
,
"4"
,
"hygf_07"
,
"hygf/Sjsh"
),
设计上传典型图纸
(
"设计上传典型图纸"
,
"5"
,
"hygf_09"
,
"hygf/Trsh"
),
经销商设计上传设计图纸
(
"经销商设计上传设计图纸"
,
"6"
,
"hygf_10"
,
"hygf/Fwsh"
),
设计图纸审核
(
"设计图纸审核"
,
"7"
,
"hygf_11"
,
"hygf/Sjsh"
),
完成
(
"完成"
,
"11"
,
"hygf_13"
,
""
);
/**
* 名称,描述
*/
private
final
String
name
;
/**
* 编码
*/
private
final
String
code
;
//节点key
private
final
String
key
;
//路由r
private
final
String
routing
;
public
static
PowerStationEnum
getNodeByCode
(
String
code
)
{
PowerStationEnum
acceptanceStatusEnum
=
null
;
for
(
PowerStationEnum
type
:
PowerStationEnum
.
values
())
{
if
(
code
.
equals
(
type
.
getCode
()))
{
acceptanceStatusEnum
=
type
;
break
;
}
}
return
acceptanceStatusEnum
;
}
public
static
String
getNodeByKey
(
String
Key
)
{
PowerStationEnum
acceptanceStatusEnum
=
null
;
for
(
PowerStationEnum
type
:
PowerStationEnum
.
values
())
{
if
(
type
.
getKey
().
contains
(
Key
))
{
acceptanceStatusEnum
=
type
;
break
;
}
}
return
acceptanceStatusEnum
.
getRouting
();
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/util/NumberUtil.java
View file @
a8b1de4d
...
...
@@ -40,13 +40,16 @@ public class NumberUtil {
needQueryResProductList
.
put
(
"num"
,
num
);
return
num
;
}
else
{
int
num
=
1000
+
rand
.
nextInt
(
1
00
)
+
1
;
int
num
=
rand
.
nextInt
(
90
00
)
+
1
;
needQueryResProductList
.
put
(
"num"
,
num
);
return
num
;
}
}
public
static
String
getCode
(
String
type
,
String
code
,
String
address
){
...
...
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 @
a8b1de4d
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/UnitInfoServiceImpl.java
View file @
a8b1de4d
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