Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
warehouse
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
胡懿
warehouse
Commits
9afacc00
Commit
9afacc00
authored
Aug 03, 2023
by
zhanglt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘盈入库bug修复
parent
d78ed2b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ProfitWarehousingService.java
...e/profitwarehousing/service/ProfitWarehousingService.java
+3
-0
No files found.
src/main/java/com/jeeplus/modules/warehouse/profitwarehousing/service/ProfitWarehousingService.java
View file @
9afacc00
...
...
@@ -199,6 +199,7 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
//盘盈入库 保存 盘盈入库信息 ,并添加对应的台账信息
@Transactional
(
readOnly
=
false
)
public
void
inLedgerInfo
(
ProfitWarehousingInfo
profitWarehousingInfo
)
{
profitWarehousingInfo
=
profitWarehousingInfoMapper
.
get
(
profitWarehousingInfo
.
getId
());
QrCode
qrCode
=
qrCodeService
.
get
(
profitWarehousingInfo
.
getQrCode
().
getId
());
Ledger
ledger
=
new
Ledger
(
profitWarehousingInfo
.
getType
());
Ledger
oldLeger
=
ledgerMapper
.
findByType
(
ledger
);
...
...
@@ -213,6 +214,8 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
ledgerInfo
.
setQr
(
qrCode
);
//货架id
ledgerInfo
.
setShelvesIds
(
profitWarehousingInfo
.
getShelvesIds
());
//仓库id
ledgerInfo
.
setWarehouseIds
(
profitWarehousingInfo
.
getWarehouseIds
());
//盘盈入库单编码
ledgerInfo
.
setBatchNum
(
profitWarehousingInfo
.
getProfitWarehousing
().
getNumber
());
//单价
...
...
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