Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
huluobin
bailuntec-cost
Commits
d46cd2cc
Commit
d46cd2cc
authored
Jul 04, 2023
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--story=1010559 --user=简曙勤 【费用系统】导入计划单增加所属项目和所属曲期并修复导入异常
https://www.tapd.cn/55346466/s/1013452
parent
f3466a3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CostPlanServiceFactory.java
...le/cost/service/impl/costplan/CostPlanServiceFactory.java
+2
-2
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costplan/CostPlanServiceFactory.java
View file @
d46cd2cc
...
@@ -183,14 +183,14 @@ public class CostPlanServiceFactory {
...
@@ -183,14 +183,14 @@ public class CostPlanServiceFactory {
//公司主体映射
//公司主体映射
Map
<
String
,
CostCompanyDomain
>
costCompanyDomainMap
=
getCostCompanyService
().
costCompanyMap
();
Map
<
String
,
CostCompanyDomain
>
costCompanyDomainMap
=
getCostCompanyService
().
costCompanyMap
();
UserDao
userDao
=
getUserDao
();
UserDao
userDao
=
getUserDao
();
for
(
int
i
=
1
;
i
<
sheet
.
getLastRowNum
();
i
++)
{
for
(
int
i
=
1
;
i
<
=
sheet
.
getLastRowNum
();
i
++)
{
Row
row
=
sheet
.
getRow
(
i
);
Row
row
=
sheet
.
getRow
(
i
);
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
for
(
int
j
=
0
;
j
<
firstRow
.
getLastCellNum
();
j
++)
{
for
(
int
j
=
0
;
j
<
firstRow
.
getLastCellNum
();
j
++)
{
String
costPlanField
=
CostPlanEnumVo
.
getCostPlanField
(
sheetName
,
firstRow
.
getCell
(
j
).
toString
());
String
costPlanField
=
CostPlanEnumVo
.
getCostPlanField
(
sheetName
,
firstRow
.
getCell
(
j
).
toString
());
if
(!
costPlanField
.
equals
(
""
))
{
if
(!
costPlanField
.
equals
(
""
))
{
if
((!
costPlanField
.
equals
(
"costRemark"
)
&&
!
costPlanField
.
equals
(
"customerNum"
))
&&
(
row
.
getCell
(
j
)
==
null
||
row
.
getCell
(
j
).
toString
().
trim
().
equals
(
""
)))
{
if
((!
costPlanField
.
equals
(
"costRemark"
)
&&
!
costPlanField
.
equals
(
"customerNum"
)
&&
!
costPlanField
.
equals
(
"projectType"
)
)
&&
(
row
.
getCell
(
j
)
==
null
||
row
.
getCell
(
j
).
toString
().
trim
().
equals
(
""
)))
{
throw
new
BizException
(
"请填写必填项"
);
throw
new
BizException
(
"请填写必填项"
);
}
}
if
(
costPlanField
.
equals
(
"costRemark"
)
&&
sheetName
.
equals
(
"付款"
)
&&
(
row
.
getCell
(
j
)
==
null
||
row
.
getCell
(
j
).
toString
().
trim
().
equals
(
""
)))
{
if
(
costPlanField
.
equals
(
"costRemark"
)
&&
sheetName
.
equals
(
"付款"
)
&&
(
row
.
getCell
(
j
)
==
null
||
row
.
getCell
(
j
).
toString
().
trim
().
equals
(
""
)))
{
...
...
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