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
10a385da
Commit
10a385da
authored
Aug 10, 2021
by
季圣华
Browse files
优化商品模块
parent
019859fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/controller/MaterialExtendController.java
View file @
10a385da
...
...
@@ -6,6 +6,7 @@ import com.jsh.erp.datasource.entities.MaterialExtend;
import
com.jsh.erp.datasource.vo.MaterialExtendVo4List
;
import
com.jsh.erp.service.materialExtend.MaterialExtendService
;
import
com.jsh.erp.utils.BaseResponseInfo
;
import
com.jsh.erp.utils.StringUtil
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -47,7 +48,9 @@ public class MaterialExtendController {
item
.
put
(
"id"
,
md
.
getId
());
item
.
put
(
"barCode"
,
md
.
getBarCode
());
item
.
put
(
"commodityUnit"
,
md
.
getCommodityUnit
());
item
.
put
(
"sku"
,
md
.
getSku
());
if
(
StringUtil
.
isNotEmpty
(
md
.
getSku
())){
item
.
put
(
"sku"
,
md
.
getSku
());
}
item
.
put
(
"purchaseDecimal"
,
md
.
getPurchaseDecimal
());
item
.
put
(
"commodityDecimal"
,
md
.
getCommodityDecimal
());
item
.
put
(
"wholesaleDecimal"
,
md
.
getWholesaleDecimal
());
...
...
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