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
bccdbe91
Commit
bccdbe91
authored
Aug 09, 2023
by
zhanglt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘盈入库单bug修复
parent
4cc1695e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
ProfitWarehousingInfo.java
...house/profitwarehousing/entity/ProfitWarehousingInfo.java
+9
-1
ProfitWarehousingService.java
...e/profitwarehousing/service/ProfitWarehousingService.java
+3
-1
No files found.
src/main/java/com/jeeplus/modules/warehouse/profitwarehousing/entity/ProfitWarehousingInfo.java
View file @
bccdbe91
...
...
@@ -36,7 +36,7 @@ public class ProfitWarehousingInfo extends DataEntity<ProfitWarehousingInfo> {
private
int
num
;
// 数量
private
String
shelvesIds
;
// 货架ids
private
String
warehouseIds
;
// 仓库ids
private
String
updateFlag
;
// 0 : 未修改,1 : 已修改
private
List
<
Shelves
>
shelvesList
;
private
List
<
Warehouse
>
warehouseList
;
/**
...
...
@@ -49,6 +49,14 @@ public class ProfitWarehousingInfo extends DataEntity<ProfitWarehousingInfo> {
return
beginTime
;
}
public
String
getUpdateFlag
()
{
return
updateFlag
;
}
public
void
setUpdateFlag
(
String
updateFlag
)
{
this
.
updateFlag
=
updateFlag
;
}
public
void
setBeginTime
(
Date
beginTime
)
{
this
.
beginTime
=
beginTime
;
}
...
...
src/main/java/com/jeeplus/modules/warehouse/profitwarehousing/service/ProfitWarehousingService.java
View file @
bccdbe91
...
...
@@ -180,12 +180,14 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
profitWarehousingInfoMapper
.
update
(
profitWarehousingInfo
);
if
(
profitWarehousingInfo
.
getQrCode
()!=
null
){
//已入库的不修改
if
(!
Objects
.
equals
(
profitWarehousingInfo
.
getQrCode
().
getState
(),
"3"
)){
if
(
Objects
.
equals
(
profitWarehousingInfo
.
getQrCode
().
getState
(),
"0"
)){
if
(
StringUtils
.
isNotBlank
(
profitWarehousingInfo
.
getUpdateFlag
())
&&
Objects
.
equals
(
profitWarehousingInfo
.
getUpdateFlag
(),
"1"
))
cleanQr
(
profitWarehousingInfo
.
getId
());
}
}
}
}
else
{
cleanQr
(
profitWarehousingInfo
.
getId
());
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