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
8baa6b2a
Commit
8baa6b2a
authored
Feb 21, 2022
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决水源信息中excle导入没有装备code 的问题
parent
bf981480
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
ExcelServiceImpl.java
...os/boot/module/jcs/biz/service/impl/ExcelServiceImpl.java
+19
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/ExcelServiceImpl.java
View file @
8baa6b2a
...
...
@@ -1047,6 +1047,25 @@ public class ExcelServiceImpl {
item
.
setEquipName
(
equipCategory
[
0
]);
item
.
setEquipCategoryId
(
Long
.
parseLong
(
equipCategory
[
2
]));
item
.
setEquipCategoryName
(
equipCategory
[
3
]);
switch
(
equipCategory
[
3
])
{
case
"天然水源"
:
item
.
setEquipCategoryCode
(
"93060300"
);
break
;
case
"水源-消火栓"
:
item
.
setEquipCategoryCode
(
"93060400"
);
break
;
case
"消火栓"
:
item
.
setEquipCategoryCode
(
"93060400"
);
break
;
case
"消防水池"
:
item
.
setEquipCategoryCode
(
"93060100"
);
break
;
case
"消防水鹤"
:
item
.
setEquipCategoryCode
(
"93060200"
);
break
;
default
:
break
;
}
}
if
(
item
.
getContactUser
()
!=
null
)
{
String
[]
contactUser
=
item
.
getContactUser
().
split
(
"@"
);
...
...
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