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
a19d66e3
Commit
a19d66e3
authored
Jun 09, 2023
by
zhanglt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘盈入库模块,bug修复
parent
cbb65015
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
ProfitWarehousingService.java
...e/profitwarehousing/service/ProfitWarehousingService.java
+3
-0
ProfitWarehousingController.java
...se/profitwarehousing/web/ProfitWarehousingController.java
+7
-0
No files found.
src/main/java/com/jeeplus/modules/warehouse/profitwarehousing/service/ProfitWarehousingService.java
View file @
a19d66e3
...
...
@@ -93,6 +93,9 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
ProfitWarehousingInfo
profitWarehousingInfo
=
profitWarehousingInfoMapper
.
get
(
infoId
);
// String numSeq = CodeUtil.code("WZBM", StaticNumSeq.WZBM);
Wzcode
wzcode
=
wzcodeService
.
findByCode
(
profitWarehousingInfo
.
getType
().
getCode
());
int
intNum
=
wzcode
.
getIntNum
();
intNum
=
intNum
+
1
;
wzcode
.
setIntNum
(
intNum
);
QrCode
qrCode
=
new
QrCode
();
qrCode
.
setProfitWarehousingInfo
(
profitWarehousingInfo
);
qrCode
.
setComeFlag
(
"1"
);
...
...
src/main/java/com/jeeplus/modules/warehouse/profitwarehousing/web/ProfitWarehousingController.java
View file @
a19d66e3
...
...
@@ -287,7 +287,14 @@ public class ProfitWarehousingController extends BaseController {
j
.
setMsg
(
"二维码不存在"
);
return
j
;
}
if
(
Objects
.
equals
(
profitWarehousingInfo1
.
getQrCode
().
getState
(),
"0"
)){
profitWarehousingService
.
cleanQr
(
profitWarehousingInfoId
);
//保存
}
else
{
j
.
setSuccess
(
false
);
j
.
setMsg
(
"该物资已入账不能清除二维码"
);
return
j
;
}
j
.
setSuccess
(
true
);
j
.
setMsg
(
"清除二维码成功"
);
return
j
;
...
...
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