Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
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
platform
hp-smart
Commits
06370558
Commit
06370558
authored
Feb 26, 2024
by
yukang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料导入层级逻辑新增
parent
3b9c29b6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ServiceHPSC001.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC001.java
+1
-1
ExcelUtils.java
src/main/java/com/baosight/hpjx/util/ExcelUtils.java
+2
-2
No files found.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC001.java
View file @
06370558
...
...
@@ -169,7 +169,7 @@ public class ServiceHPSC001 extends ServiceBase {
return
eiInfo
;
}
eiInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
eiInfo
.
setMsg
(
"
删除
成功!"
);
eiInfo
.
setMsg
(
"
提交
成功!"
);
return
eiInfo
;
}
...
...
src/main/java/com/baosight/hpjx/util/ExcelUtils.java
View file @
06370558
...
...
@@ -266,8 +266,8 @@ public class ExcelUtils {
if
(
HPSC002
.
getLv
()
==
2
&&
HPSC002
.
getPrdtType
()
!=
4
)
{
sb
.
append
(
"导入失败:数据错误"
+(
i
+
1
)+
"条,层级关系错误,当前层级只能导入部件清单!!"
);
checkStatus
=
true
;
}
else
if
(
HPSC002
.
getLv
()
==
3
&&
HPSC002
.
getPrdtType
()
!=
3
)
{
sb
.
append
(
"导入失败:数据错误"
+(
i
+
1
)+
"条,层级关系错误,当前层级只能导入零件清单!!"
);
}
else
if
(
HPSC002
.
getLv
()
==
3
&&
(
HPSC002
.
getPrdtType
()
!=
3
||
HPSC002
.
getPrdtType
()
!=
5
)
)
{
sb
.
append
(
"导入失败:数据错误"
+(
i
+
1
)+
"条,层级关系错误,当前层级只能导入零件
或耗材
清单!!"
);
checkStatus
=
true
;
}
//完善数据
...
...
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