Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms_api
Project
Project
Details
Activity
Releases
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
高宇
wms_api
Commits
25efecb8
Commit
25efecb8
authored
Dec 24, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改退款
parent
d81590bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
StoreGoodsApplyServiceImpl.java
...regoodsapply/service/impl/StoreGoodsApplyServiceImpl.java
+6
-2
StoreGoodsLogServiceImpl.java
.../storegoodslog/service/impl/StoreGoodsLogServiceImpl.java
+1
-0
No files found.
src/main/java/org/rcisoft/bus/storegoodsapply/service/impl/StoreGoodsApplyServiceImpl.java
View file @
25efecb8
...
...
@@ -282,9 +282,13 @@ public class StoreGoodsApplyServiceImpl extends ServiceImpl<StoreGoodsApplyRepos
}
//修改子表状态
storeGoodsLogServiceImpl
.
updateStatus
(
storeGoodsApply
);
}
if
(
"3"
.
equals
(
storeGoodsApply
.
getIsReturn
())){
}
else
if
(
"3"
.
equals
(
storeGoodsApply
.
getIsReturn
())){
storeGoodsApply
.
setIsReturn
(
"2"
);
}
else
if
(
"1"
.
equals
(
storeGoodsApply
.
getIsReturn
())){
StoreGoodsApply
oldStoreGoodsApply
=
baseMapper
.
selectById
(
storeGoodsApply
.
getBusinessId
());
storeGoodsApply
.
setTotalOutPrice
(
oldStoreGoodsApply
.
getTotalOutPrice
().
subtract
(
storeGoodsApply
.
getTotalOutPrice
())
);
}
int
line
=
baseMapper
.
updateById
(
storeGoodsApply
);
...
...
src/main/java/org/rcisoft/bus/storegoodslog/service/impl/StoreGoodsLogServiceImpl.java
View file @
25efecb8
...
...
@@ -120,6 +120,7 @@ public class StoreGoodsLogServiceImpl extends ServiceImpl<StoreGoodsLogRepositor
StoreGoodsApply
storeGoodsApply
=
new
StoreGoodsApply
();
storeGoodsApply
.
setBusinessId
(
oldStoreGoodsLog
.
getApplyId
());
storeGoodsApply
.
setIsReturn
(
storeGoodsLog
.
getIsReturn
());
storeGoodsApply
.
setTotalOutPrice
(
storeGoodsLog
.
getTotalPrice
());
storeGoodsApplyServiceImpl
.
merge
(
storeGoodsApply
);
oldStoreGoodsLog
.
setIsReturn
(
"1"
);
...
...
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