Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
Overview
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
reyun
manager
Commits
3ec39b60
Commit
3ec39b60
authored
5 years ago
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理标签页名称
parent
0d1277f3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
ContractServiceImpl.java
src/main/java/common/service/impl/ContractServiceImpl.java
+10
-1
No files found.
src/main/java/common/service/impl/ContractServiceImpl.java
View file @
3ec39b60
...
...
@@ -116,6 +116,15 @@ public class ContractServiceImpl implements ContractService {
put
(
"ABTEST"
,
"abtest"
);
}};
public
static
final
Map
<
String
,
String
>
SHEET_NAMES_RESERVE
=
new
HashMap
()
{{
put
(
"tkio"
,
"TrackingIO"
);
put
(
"dmp"
,
"DMP"
);
put
(
"fake"
,
"防作弊卫士"
);
put
(
"adi"
,
"ADI"
);
put
(
"ads"
,
"ADS"
);
put
(
"abtest"
,
"ABTEST"
);
}};
Logger
logger
=
LoggerFactory
.
getLogger
(
ContractServiceImpl
.
class
);
@Autowired
...
...
@@ -2121,7 +2130,7 @@ public class ContractServiceImpl implements ContractService {
return
ResultModel
.
ERROR
(
"模板标签页名称错误"
);
}
if
(!
sheetName
.
equalsIgnoreCase
(
platformexcl
))
{
if
(!
sheetName
.
equalsIgnoreCase
(
SHEET_NAMES_RESERVE
.
get
(
platformexcl
)
))
{
return
ResultModel
.
ERROR
(
"请上传对应项目模板处理的数据"
);
}
...
...
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