Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-soil
Overview
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
wangweidong
patzn-cloud-service-soil
Commits
2412152c
Commit
2412152c
authored
Jan 13, 2021
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
土工平台修改
parent
76d40b8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
SoilExperimentServiceImpl.java
...ice/lims/soil/service/impl/SoilExperimentServiceImpl.java
+21
-21
No files found.
src/main/java/com/patzn/cloud/service/lims/soil/service/impl/SoilExperimentServiceImpl.java
View file @
2412152c
...
@@ -613,27 +613,27 @@ public class SoilExperimentServiceImpl extends BaseServiceImpl<SoilExperimentMap
...
@@ -613,27 +613,27 @@ public class SoilExperimentServiceImpl extends BaseServiceImpl<SoilExperimentMap
// xssfSheet.setForceFormulaRecalculation(true);
// xssfSheet.setForceFormulaRecalculation(true);
for
(
SoilOriginalTemplateConfig
config:
configList
)
{
//
for (SoilOriginalTemplateConfig config:configList) {
if
(
StringUtils
.
isBlank
(
config
.
getFormula
())){
//
if(StringUtils.isBlank(config.getFormula())){
continue
;
//
continue;
}
//
}
if
(
null
==
config
.
getMergeRowNum
()){
//
if (null == config.getMergeRowNum()){
continue
;
//
continue;
}
//
}
if
(
null
==
config
.
getColumnPlace
()){
//
if (null == config.getColumnPlace()){
continue
;
//
continue;
}
//
}
//
XSSFRow
xssfRow
=
xssfSheet
.
getRow
(
config
.
getMergeRowNum
());
//
XSSFRow xssfRow = xssfSheet.getRow(config.getMergeRowNum());
if
(
null
==
xssfRow
){
//
if (null == xssfRow){
continue
;
//
continue;
}
//
}
XSSFCell
cell
=
xssfRow
.
getCell
(
config
.
getColumnPlace
());
//
XSSFCell cell = xssfRow.getCell(config.getColumnPlace());
if
(
null
==
cell
){
//
if (null == cell){
continue
;
//
continue;
}
//
}
cell
.
setCellFormula
(
config
.
getFormula
());
//
cell.setCellFormula(config.getFormula());
}
//
}
int
index
=
0
;
int
index
=
0
;
...
...
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