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
24ab2df4
Commit
24ab2df4
authored
May 05, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
82550849
68c95a13
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
17 deletions
+34
-17
EquipmentCategoryEnum.java
...amos/boot/module/tzs/api/enums/EquipmentCategoryEnum.java
+33
-16
EquipmentCategoryServiceImpl.java
...le/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/api/enums/EquipmentCategoryEnum.java
View file @
24ab2df4
...
@@ -11,30 +11,47 @@ import java.util.Map;
...
@@ -11,30 +11,47 @@ import java.util.Map;
public
enum
EquipmentCategoryEnum
{
public
enum
EquipmentCategoryEnum
{
/**
/**
*
*行政区划分及对应初始监管码
*
*行政区划分及对应初始监管码
*/
*/
XZQHDT
(
"行政区划电梯"
,
"XZQHDT"
),
XZQHDT
(
"行政区划电梯"
,
"XZQHDT"
,
"行政区划电梯"
),
XZQH
(
"行政区划"
,
"XZQH"
),
XZQH
(
"行政区划"
,
"XZQH"
,
"行政区划"
),
BLW
(
"补零位"
,
"0"
),
BLW
(
"补零位"
,
"0"
,
"补零位"
),
JGM
(
"监管码初始码"
,
"0000001"
),
JGM
(
"监管码初始码"
,
"0000001"
,
"监管码初始码"
),
CSM
(
"96333初始码"
,
"00001"
),
XXCSM
(
"西咸96333初始码"
,
"85000"
,
"31"
),
YJL
(
"已拒领"
,
"6037"
),
BJCSM
(
"宝鸡96333初始码"
,
"13000"
,
"32"
),
YRL
(
"已认领"
,
"6035"
),
XYCSM
(
"咸阳96333初始码"
,
"75000"
,
"33"
),
DRL
(
"待认领"
,
"6036"
),
TCCSM
(
"铜川96333初始码"
,
"05000"
,
"34"
),
CSZT
(
"初始状态"
,
"0"
),
WNCSM
(
"渭南96333初始码"
,
"13000"
,
"35"
),
YSY
(
"已使用"
,
"1"
),
YACSM
(
"延安96333初始码"
,
"11000"
,
"36"
),
WSY
(
"未使用"
,
"2"
),
YUCSM
(
"榆林96333初始码"
,
"10000"
,
"37"
),
BF
(
"报废"
,
"6"
);
HZCSM
(
"汉中96333初始码"
,
"09000"
,
"38"
),
AKCSM
(
"安康96333初始码"
,
"11000"
,
"39"
),
SLCSM
(
"商洛96333初始码"
,
"06000"
,
"40"
),
YLCSM
(
"杨凌96333初始码"
,
"70000"
,
"41"
),
HCCSM
(
"韩城96333初始码"
,
"08000"
,
"42"
),
SMCSM
(
"神木96333初始码"
,
"06000"
,
"43"
),
FGCSM
(
"府谷96333初始码"
,
"02000"
,
"44"
),
YJL
(
"已拒领"
,
"6037"
,
"已拒领"
),
YRL
(
"已认领"
,
"6035"
,
"已认领"
),
DRL
(
"待认领"
,
"6036"
,
"待认领"
),
CSZT
(
"初始状态"
,
"0"
,
"初始状态"
),
YSY
(
"已使用"
,
"1"
,
"已使用"
),
WSY
(
"未使用"
,
"2"
,
"未使用"
),
BF
(
"报废"
,
"6"
,
"报废"
);
private
String
name
;
private
String
name
;
private
String
code
;
private
String
code
;
public
static
Map
<
String
,
String
>
getName
=
new
HashMap
<>();
private
String
value
;
public
static
Map
<
String
,
String
>
getCode
=
new
HashMap
<>();
public
static
Map
<
String
,
String
>
getName
=
new
HashMap
<>();
public
static
Map
<
String
,
String
>
getCode
=
new
HashMap
<>();
public
static
Map
<
String
,
String
>
getValue
=
new
HashMap
<>();
static
{
static
{
for
(
EquipmentCategoryEnum
e
:
EquipmentCategoryEnum
.
values
()){
for
(
EquipmentCategoryEnum
e
:
EquipmentCategoryEnum
.
values
())
{
getName
.
put
(
e
.
code
,
e
.
name
);
getName
.
put
(
e
.
code
,
e
.
name
);
getCode
.
put
(
e
.
name
,
e
.
code
);
getCode
.
put
(
e
.
name
,
e
.
code
);
getValue
.
put
(
e
.
value
,
e
.
code
);
}
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
24ab2df4
...
@@ -455,7 +455,7 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
...
@@ -455,7 +455,7 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
zero
.
append
(
num
);
zero
.
append
(
num
);
elevatorCode
.
append
(
zero
);
elevatorCode
.
append
(
zero
);
}
else
{
}
else
{
elevatorCode
.
append
(
EquipmentCategoryEnum
.
CSM
.
getCode
(
));
elevatorCode
.
append
(
EquipmentCategoryEnum
.
getValue
.
get
(
elevator
));
}
}
return
elevatorCode
.
toString
();
return
elevatorCode
.
toString
();
}
}
...
...
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