Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
二
二医大银行收款回单
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JAVA
二医大银行收款回单
Merge requests
!359
Jiangxiaoming
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Jiangxiaoming
jiangxiaoming
into
dev
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
jiangxiaoming
requested to merge
jiangxiaoming
into
dev
8 months ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
70f4ef65
2 commits,
8 months ago
1 file
+
2
−
2
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ServiceSite/src/main/java/com/seasky/ledgerincome/interfaces/controller/InvoiceControllerImpl.java
+
2
−
2
Options
@@ -105,8 +105,8 @@ public class InvoiceControllerImpl extends BaseControllerImpl implements Invoice
Map
<
Integer
,
String
>
map
=
listener
.
getMap
().
get
(
0
);
map
.
values
().
forEach
(
e
->
titles
.
add
(
e
));
String
header
=
StringUtils
.
join
(
titles
,
","
);
if
(!(
"购买方名称,购买方编号,销售方名称,销售编号,开票内容,
发
票类型,发票代码,发票号码,开票日期,凭证号,"
+
"凭证日期,接收人工号,申请部门,
开
票类型,分项行号,项目代码,项目名称,规格型号,单位,数量,单价,金额,税率,税额"
).
equals
(
header
)
if
(!(
"购买方名称,购买方编号,销售方名称,销售编号,开票内容,
开
票类型,发票代码,发票号码,开票日期,凭证号,"
+
"凭证日期,接收人工号,申请部门,
发
票类型,分项行号,项目代码,项目名称,规格型号,单位,数量,单价,金额,税率,税额"
).
equals
(
header
)
)
{
throw
ExceptionUtil
.
getException
(
null
,
"表头不正确"
);
}
Map
<
Integer
,
String
>
checkMap
=
command
.
importExcel
(
list
);