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
b7238e57
Commit
b7238e57
authored
Mar 05, 2024
by
liulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产下料、销售出库、生产领料优化
parent
c24e7588
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ServiceHPKC002.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002.java
+3
-3
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002.java
View file @
b7238e57
...
...
@@ -104,14 +104,14 @@ public class ServiceHPKC002 extends ServiceBase {
HPKC002
dbKc002
=
dbMapKc002
.
get
(
fKc002
.
getReqNo
());
HPKC002
newKc002
=
BeanUtils
.
copy
(
dbKc002
,
HPKC002
.
class
);
newKc002
.
setReqNo
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
HPKC002_NUMBER
));
newKc002
.
setAmount
(
dbKc002
.
getAmount
()
.
negate
()
);
newKc002
.
setWeight
(
dbKc002
.
getWeight
()
.
negate
()
);
newKc002
.
setAmount
(
dbKc002
.
getAmount
());
newKc002
.
setWeight
(
dbKc002
.
getWeight
());
newKc002
.
setOldReqNo
(
dbKc002
.
getReqNo
());
newKc002
.
setDeleteFlag
(
CommonConstant
.
YesNo
.
YES_1
);
DaoUtils
.
insert
(
HPKC002
.
INSERT
,
newKc002
);
// 修改库存
HPKCTools
.
updateStock
(
dbKc002
.
getWhCode
(),
dbKc002
.
getInventRecordId
(),
dbKc002
.
getAmount
()
.
negate
(),
dbKc002
.
getUnitWeight
(),
dbKc002
.
getWeight
().
negate
());
dbKc002
.
getAmount
()
,
dbKc002
.
getUnitWeight
(),
dbKc002
.
getWeight
());
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
...
...
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