Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
10e50015
Commit
10e50015
authored
Mar 28, 2022
by
季圣华
Browse files
修改bug:解决其它入库无法自动创建序列号的问题
parent
5dd06747
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java
View file @
10e50015
...
@@ -358,6 +358,7 @@ public class DepotItemService {
...
@@ -358,6 +358,7 @@ public class DepotItemService {
if
(
StringUtil
.
isExist
(
rowObj
.
get
(
"depotId"
)))
{
if
(
StringUtil
.
isExist
(
rowObj
.
get
(
"depotId"
)))
{
Long
depotId
=
rowObj
.
getLong
(
"depotId"
);
Long
depotId
=
rowObj
.
getLong
(
"depotId"
);
if
(
BusinessConstants
.
SUB_TYPE_PURCHASE
.
equals
(
depotHead
.
getSubType
())||
if
(
BusinessConstants
.
SUB_TYPE_PURCHASE
.
equals
(
depotHead
.
getSubType
())||
BusinessConstants
.
SUB_TYPE_OTHER
.
equals
(
depotHead
.
getSubType
())||
BusinessConstants
.
SUB_TYPE_SALES_RETURN
.
equals
(
depotHead
.
getSubType
()))
{
BusinessConstants
.
SUB_TYPE_SALES_RETURN
.
equals
(
depotHead
.
getSubType
()))
{
serialNumberService
.
addSerialNumberByBill
(
depotHead
.
getNumber
(),
materialExtend
.
getMaterialId
(),
depotId
,
depotItem
.
getSnList
());
serialNumberService
.
addSerialNumberByBill
(
depotHead
.
getNumber
(),
materialExtend
.
getMaterialId
(),
depotId
,
depotItem
.
getSnList
());
}
}
...
...
Write
Preview
Supports
Markdown
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