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
66f0a30a
Commit
66f0a30a
authored
Mar 13, 2020
by
季圣华
Browse files
解决单据更新的时候无法更新基础商品数量的bug
parent
d7468255
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java
View file @
66f0a30a
...
...
@@ -498,9 +498,8 @@ public class DepotItemService {
try
{
String
Unit
=
tempUpdatedJson
.
get
(
"Unit"
).
toString
();
BigDecimal
oNumber
=
tempUpdatedJson
.
getBigDecimal
(
"OperNumber"
);
Long
mId
=
Long
.
parseLong
(
tempUpdatedJson
.
get
(
"MaterialId"
).
toString
());
//以下进行单位换算
String
unitName
=
materialService
.
findUnitName
(
mId
);
//查询计量单位名称
String
unitName
=
materialService
.
findUnitName
(
m
aterial
Id
);
//查询计量单位名称
if
(!
StringUtil
.
isEmpty
(
unitName
))
{
String
unitList
=
unitName
.
substring
(
0
,
unitName
.
indexOf
(
"("
));
String
ratioList
=
unitName
.
substring
(
unitName
.
indexOf
(
"("
));
...
...
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