解决商品明细保存的bug(加上非空判断)
This commit is contained in:
@@ -107,8 +107,10 @@ public class MaterialExtendService {
|
|||||||
bf.append(",");
|
bf.append(",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(StringUtil.isNotEmpty(bf.toString())) {
|
||||||
this.batchDeleteMaterialExtendByIds(bf.toString(), request);
|
this.batchDeleteMaterialExtendByIds(bf.toString(), request);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (null != insertedJson) {
|
if (null != insertedJson) {
|
||||||
for (int i = 0; i < insertedJson.size(); i++) {
|
for (int i = 0; i < insertedJson.size(); i++) {
|
||||||
MaterialExtend materialExtend = new MaterialExtend();
|
MaterialExtend materialExtend = new MaterialExtend();
|
||||||
|
|||||||
Reference in New Issue
Block a user