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
a59abcd9
Commit
a59abcd9
authored
Jun 09, 2023
by
yyq1988
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
8718313b
a19d66e3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
ProfitWarehousingInfoMapper.xml
...fitwarehousing/mapper/xml/ProfitWarehousingInfoMapper.xml
+1
-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/mapper/xml/ProfitWarehousingInfoMapper.xml
View file @
a59abcd9
...
...
@@ -9,6 +9,7 @@
a.name AS "name",
a.type AS "type.id",
type.name AS "type.name",
type.code AS "type.code",
a.marking AS "marking",
a.shelves_id AS "shelves.id",
shelves.name AS "shelves.name",
...
...
src/main/java/com/jeeplus/modules/warehouse/profitwarehousing/service/ProfitWarehousingService.java
View file @
a59abcd9
...
...
@@ -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 @
a59abcd9
...
...
@@ -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