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
cff16125
Commit
cff16125
authored
May 19, 2022
by
季圣华
Browse files
优化单据明细的查询条件
parent
24ee142f
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java
View file @
cff16125
...
...
@@ -847,17 +847,11 @@ public class DepotItemService {
goToType
=
BusinessConstants
.
SUB_TYPE_PURCHASE_ORDER
;
}
}
else
{
if
(
BusinessConstants
.
PURCHASE_STATUS_SKIPING
.
equals
(
depotHead
.
getPurchaseStatus
()))
{
if
(
BusinessConstants
.
SUB_TYPE_SALES_ORDER
.
equals
(
depotHead
.
getSubType
()))
{
goToType
=
BusinessConstants
.
SUB_TYPE_PURCHASE_ORDER
;
}
}
else
{
if
(
BusinessConstants
.
SUB_TYPE_PURCHASE_ORDER
.
equals
(
depotHead
.
getSubType
()))
{
goToType
=
BusinessConstants
.
SUB_TYPE_PURCHASE
;
}
if
(
BusinessConstants
.
SUB_TYPE_SALES_ORDER
.
equals
(
depotHead
.
getSubType
()))
{
goToType
=
BusinessConstants
.
SUB_TYPE_SALES
;
}
if
(
BusinessConstants
.
SUB_TYPE_PURCHASE_ORDER
.
equals
(
depotHead
.
getSubType
()))
{
goToType
=
BusinessConstants
.
SUB_TYPE_PURCHASE
;
}
if
(
BusinessConstants
.
SUB_TYPE_SALES_ORDER
.
equals
(
depotHead
.
getSubType
()))
{
goToType
=
BusinessConstants
.
SUB_TYPE_SALES
;
}
}
BigDecimal
count
=
depotItemMapperEx
.
getFinishNumber
(
meId
,
linkNumber
,
goToType
);
...
...
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