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
7a0c2c7c
Commit
7a0c2c7c
authored
Jun 16, 2023
by
zhanglt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘盈入库修改接口bug修复
parent
a4aa24b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
ProfitWarehousingService.java
...e/profitwarehousing/service/ProfitWarehousingService.java
+8
-1
No files found.
src/main/java/com/jeeplus/modules/warehouse/profitwarehousing/service/ProfitWarehousingService.java
View file @
7a0c2c7c
...
...
@@ -8,6 +8,7 @@ import java.io.IOException;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Objects
;
import
com.jeeplus.common.config.Global
;
import
com.jeeplus.common.utils.io.FileUtil
;
...
...
@@ -166,7 +167,13 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
}
else
{
profitWarehousingInfo
.
preUpdate
();
profitWarehousingInfoMapper
.
update
(
profitWarehousingInfo
);
cleanQr
(
profitWarehousingInfo
.
getId
());
}
if
(
profitWarehousingInfo
.
getQrCode
()!=
null
){
//已入库的不修改
if
(!
Objects
.
equals
(
profitWarehousingInfo
.
getQrCode
().
getState
(),
"3"
)){
cleanQr
(
profitWarehousingInfo
.
getId
());
}
}
}
}
else
{
profitWarehousingInfoMapper
.
delete
(
profitWarehousingInfo
);
}
...
...
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