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
d4cf55ed
Commit
d4cf55ed
authored
Feb 26, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
7a5979cf
06370558
Hide 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 @
d4cf55ed
...
@@ -169,7 +169,7 @@ public class ServiceHPSC001 extends ServiceBase {
...
@@ -169,7 +169,7 @@ public class ServiceHPSC001 extends ServiceBase {
return
eiInfo
;
return
eiInfo
;
}
}
eiInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
eiInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
eiInfo
.
setMsg
(
"
删除
成功!"
);
eiInfo
.
setMsg
(
"
提交
成功!"
);
return
eiInfo
;
return
eiInfo
;
}
}
...
...
src/main/java/com/baosight/hpjx/util/ExcelUtils.java
View file @
d4cf55ed
...
@@ -266,8 +266,8 @@ public class ExcelUtils {
...
@@ -266,8 +266,8 @@ public class ExcelUtils {
if
(
HPSC002
.
getLv
()
==
2
&&
HPSC002
.
getPrdtType
()
!=
4
)
{
if
(
HPSC002
.
getLv
()
==
2
&&
HPSC002
.
getPrdtType
()
!=
4
)
{
sb
.
append
(
"导入失败:数据错误"
+(
i
+
1
)+
"条,层级关系错误,当前层级只能导入部件清单!!"
);
sb
.
append
(
"导入失败:数据错误"
+(
i
+
1
)+
"条,层级关系错误,当前层级只能导入部件清单!!"
);
checkStatus
=
true
;
checkStatus
=
true
;
}
else
if
(
HPSC002
.
getLv
()
==
3
&&
HPSC002
.
getPrdtType
()
!=
3
)
{
}
else
if
(
HPSC002
.
getLv
()
==
3
&&
(
HPSC002
.
getPrdtType
()
!=
3
||
HPSC002
.
getPrdtType
()
!=
5
)
)
{
sb
.
append
(
"导入失败:数据错误"
+(
i
+
1
)+
"条,层级关系错误,当前层级只能导入零件清单!!"
);
sb
.
append
(
"导入失败:数据错误"
+(
i
+
1
)+
"条,层级关系错误,当前层级只能导入零件
或耗材
清单!!"
);
checkStatus
=
true
;
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