解决修改商品条码会导致条码丢失的bug
This commit is contained in:
@@ -96,6 +96,7 @@ public class MaterialExtendService {
|
||||
}
|
||||
}
|
||||
//针对多属性商品要考虑到有条码被删的情况,需要和原来的条码明细进行对比
|
||||
if(StringUtil.isNotEmpty(obj.getString("manySku"))) {
|
||||
//1.先查询原来的条码列表
|
||||
List<MaterialExtendVo4List> meList = materialExtendMapperEx.getDetailList(materialId);
|
||||
//2.构造新的条码列表map
|
||||
@@ -112,6 +113,7 @@ public class MaterialExtendService {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (null != deletedJson) {
|
||||
StringBuffer bf=new StringBuffer();
|
||||
for (int i = 0; i < deletedJson.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user