Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qianhe-ydsj
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
qianhe-ydsj
Commits
f20676c9
Commit
f20676c9
authored
Nov 29, 2025
by
wangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025-11-29 wj 修改
parent
e65e133b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
10 deletions
+44
-10
qianhe-ydsj/src/main/java/com/qianhe/controller/SjFybpZbController.java
+44
-10
qianhe-ydsj/src/main/resources/static/fybp_drmb.xlsx
+0
-0
No files found.
qianhe-ydsj/src/main/java/com/qianhe/controller/SjFybpZbController.java
View file @
f20676c9
...
@@ -596,27 +596,61 @@ public class SjFybpZbController extends BaseController
...
@@ -596,27 +596,61 @@ public class SjFybpZbController extends BaseController
// 通过循环,逐行取出表中每行数据
// 通过循环,逐行取出表中每行数据
for
(
int
i
=
0
;
i
<=
lastRowNum
;
i
++)
{
//跳过第一行和第二行
for
(
int
i
=
0
;
i
<=
lastRowNum
;
i
++)
{
//跳过第一行和第二行
if
(
i
==
0
||
i
==
1
){
if
(
i
<=
4
){
continue
;
continue
;
}
}
// 获取行
// 获取行
XSSFRow
row
=
sheet
.
getRow
(
i
);
XSSFRow
row
=
sheet
.
getRow
(
i
);
SjFybp
cb
=
new
SjFybp
();
System
.
out
.
println
(
row
);
SjFybp
cb1
=
new
SjFybp
();
cb1
.
setFylx
(
"三基标杆打造"
);
//项目金额
//项目金额
String
fylx
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
0
));
String
fyje1
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
3
));
cb
.
setFylx
(
fylx
);
cb1
.
setFyje
(
new
BigDecimal
(
fyje1
));
//项目内容
String
fyms1
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
4
));
cb1
.
setFyms
(
fyms1
);
list
.
add
(
cb1
);
SjFybp
cb2
=
new
SjFybp
();
cb2
.
setFylx
(
"“三个最强”全员练兵"
);
//项目金额
String
fyje2
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
5
));
cb2
.
setFyje
(
new
BigDecimal
(
fyje2
));
//项目内容
String
fyms2
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
6
));
cb2
.
setFyms
(
fyms2
);
list
.
add
(
cb2
);
SjFybp
cb3
=
new
SjFybp
();
cb3
.
setFylx
(
"三标建设5S管理"
);
//项目金额
//项目金额
String
fyje
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
));
String
fyje3
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
7
));
cb
.
setFyje
(
new
BigDecimal
(
fyje
));
cb3
.
setFyje
(
new
BigDecimal
(
fyje3
));
//项目内容
String
fyms3
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
8
));
cb3
.
setFyms
(
fyms3
);
list
.
add
(
cb3
);
SjFybp
cb4
=
new
SjFybp
();
cb4
.
setFylx
(
"基层板站建设"
);
//项目金额
String
fyje4
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
9
));
cb4
.
setFyje
(
new
BigDecimal
(
fyje4
));
//项目内容
//项目内容
String
fyms
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
2
));
String
fyms4
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
10
));
cb
.
setFyms
(
fyms
);
cb4
.
setFyms
(
fyms4
);
list
.
add
(
cb4
);
list
.
add
(
cb
);
SjFybp
cb5
=
new
SjFybp
();
cb5
.
setFylx
(
"其他"
);
//项目金额
String
fyje5
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
11
));
cb5
.
setFyje
(
new
BigDecimal
(
fyje5
));
//项目内容
String
fyms5
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
12
));
cb5
.
setFyms
(
fyms5
);
list
.
add
(
cb5
);
}
}
// if(list.size()>0){
// if(list.size()>0){
// sjGfjsZsdwkhpjService.pledit(list);
// sjGfjsZsdwkhpjService.pledit(list);
...
...
qianhe-ydsj/src/main/resources/static/fybp_drmb.xlsx
View file @
f20676c9
No preview for this file type
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