Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
a5209be3
Commit
a5209be3
authored
Nov 16, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_oracle_sherlock' into 'dev_oracle'
允许手工数据源 See merge request root/atms!192
parents
c64c1e24
7708296c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TemplateGroupServiceImpl.java
...c/taxtech/atms/service/impl/TemplateGroupServiceImpl.java
+2
-2
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/TemplateGroupServiceImpl.java
View file @
a5209be3
...
@@ -266,7 +266,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
...
@@ -266,7 +266,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
cellTemplate
.
setIsReadOnly
(
cell
.
getCellStyle
().
getLocked
());
cellTemplate
.
setIsReadOnly
(
cell
.
getCellStyle
().
getLocked
());
cellTemplateList
.
add
(
cellTemplate
);
cellTemplateList
.
add
(
cellTemplate
);
//todo: 这里没有Config数据只有在上传模板以后,在界面里面可以配置公式
//todo: 这里没有Config数据只有在上传模板以后,在界面里面可以配置公式
if
(!
cell
.
getCellStyle
().
getLocked
()
&&
hasKeyIn
(
cell
))
{
if
(!
cell
.
getCellStyle
().
getLocked
()
&&
hasKeyIn
(
cell
)
&&
allowManual
)
{
cell
.
setCellValue
(
StringUtils
.
EMPTY
);
cell
.
setCellValue
(
StringUtils
.
EMPTY
);
addManualConfig
(
cellTemplate
,
template
,
cell
,
now
,
cellTemplateConfigList
);
addManualConfig
(
cellTemplate
,
template
,
cell
,
now
,
cellTemplateConfigList
);
}
}
...
@@ -402,7 +402,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
...
@@ -402,7 +402,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
cellTemplate
.
setIsReadOnly
(
cell
.
getCellStyle
().
getLocked
()
?
true
:
false
);
cellTemplate
.
setIsReadOnly
(
cell
.
getCellStyle
().
getLocked
()
?
true
:
false
);
cellTemplateList
.
add
(
cellTemplate
);
cellTemplateList
.
add
(
cellTemplate
);
//todo: 这里没有Config数据只有在上传模板以后,在界面里面可以配置公式
//todo: 这里没有Config数据只有在上传模板以后,在界面里面可以配置公式
if
(!
cell
.
getCellStyle
().
getLocked
()
&&
hasKeyIn
(
cell
))
{
if
(!
cell
.
getCellStyle
().
getLocked
()
&&
hasKeyIn
(
cell
)
&&
allowManual
)
{
cell
.
setCellValue
(
StringUtils
.
EMPTY
);
cell
.
setCellValue
(
StringUtils
.
EMPTY
);
addManualConfig
(
cellTemplate
,
template
,
cell
,
now
,
cellTemplateConfigList
);
addManualConfig
(
cellTemplate
,
template
,
cell
,
now
,
cellTemplateConfigList
);
}
}
...
...
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