更新商品条码
parent
fe65d7d462
commit
c2835cce9a
|
@ -1059,14 +1059,14 @@ public class WmInQmIController extends BaseController {
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
MvGoodsEntity mvgoods = systemService.findUniqueByProperty(
|
MvGoodsEntity mvgoods = systemService.findUniqueByProperty(
|
||||||
MvGoodsEntity.class, "goodsCode", wmInQmI.getGoodsId());
|
MvGoodsEntity.class, "goodsCode", wmImNoticeIEntity.getGoodsCode());
|
||||||
if (mvgoods != null) {
|
if (mvgoods != null) {
|
||||||
wmInQmI.setGoodsName(mvgoods.getGoodsName());
|
wmInQmI.setGoodsName(mvgoods.getGoodsName());
|
||||||
if (StringUtil.isNotEmpty(wmInQmI.getItemText())) {
|
if (StringUtil.isNotEmpty(wmInQmI.getItemText())) {
|
||||||
MdGoodsEntity mdGoodsEntity = systemService.findUniqueByProperty(
|
MdGoodsEntity mdGoodsEntity = systemService.findUniqueByProperty(
|
||||||
MdGoodsEntity.class, "shpBianMa", mvgoods.getGoodsId());
|
MdGoodsEntity.class, "shpBianMa", mvgoods.getGoodsId());
|
||||||
if (mdGoodsEntity != null) {
|
if (mdGoodsEntity != null) {
|
||||||
mdGoodsEntity.setShpTiaoMa(wmInQmI.getItemText());
|
mdGoodsEntity.setShpTiaoMa(wmInQmI.getItemText());//更新商品条码
|
||||||
systemService.updateEntitie(mdGoodsEntity);
|
systemService.updateEntitie(mdGoodsEntity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue