Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
dca0d12b
Commit
dca0d12b
authored
Jul 25, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-25 修复实时库存存货类型大类
parent
36fb83f6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
ServiceHGKC010.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC010.java
+3
-0
HGKCUtils.java
src/main/java/com/baosight/hggp/hg/kc/utils/HGKCUtils.java
+1
-0
No files found.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC010.java
View file @
dca0d12b
...
...
@@ -213,6 +213,7 @@ public class ServiceHGKC010 extends ServiceBase {
String
inventType
=
""
;
String
inventCode
=
""
;
String
inventName
=
""
;
Integer
inventTypeDetail
=
0
;
EiInfo
inInfo
=
new
EiInfo
();
try
{
inInfo
.
set
(
HGKC010
.
FIELD_WH_CODE
,
hpkc010
.
getWhCode
());
...
...
@@ -236,6 +237,7 @@ public class ServiceHGKC010 extends ServiceBase {
inventType
=
hppz005
.
getInventType
();
inventCode
=
hppz005
.
getInventCode
();
inventName
=
hppz005
.
getInventName
();
inventTypeDetail
=
hppz005
.
getInventTypeDetail
();
}
catch
(
Exception
e
){
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"库存更新失败!"
);
throw
new
PlatException
(
"存货档案ID异常,找不到对应的存货档案!"
);
...
...
@@ -244,6 +246,7 @@ public class ServiceHGKC010 extends ServiceBase {
hpkc010
.
setInventType
(
inventType
.
toString
());
hpkc010
.
setInventCode
(
inventCode
);
hpkc010
.
setInventName
(
inventName
);
hpkc010
.
setInventTypeDetail
(
inventTypeDetail
);
//hpkc010.setVersion(new Integer(1));
}
...
...
src/main/java/com/baosight/hggp/hg/kc/utils/HGKCUtils.java
View file @
dca0d12b
...
...
@@ -318,6 +318,7 @@ public class HGKCUtils {
newKc010
.
setMaterial
(
dbPz005
.
getMaterial
());
newKc010
.
setUnit
(
dbPz005
.
getUnit
());
newKc010
.
setDeleteFlag
(
DeleteFlagEnum
.
UN_REMOVE
.
getCode
());
newKc010
.
setInventTypeDetail
(
dbPz005
.
getInventTypeDetail
());
DaoUtils
.
insert
(
HGKC010
.
INSERT
,
newKc010
);
}
...
...
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