批量导入库存bug fix
This commit is contained in:
@@ -35,8 +35,13 @@ public class StockV2Vo {
|
||||
}
|
||||
|
||||
public StockV2Vo(Integer id, Integer proId,String img,String name,String unitName, String type, String specSnap,
|
||||
Object isStock, Object number, Integer isDistribute, Integer isPauseSale) {
|
||||
Object isStock, Object number, Integer isDistribute, Integer isPauseSale, boolean isPro) {
|
||||
this.id = id.toString() + "-" + proId.toString();
|
||||
if (isPro) {
|
||||
this.id += proId;
|
||||
} else {
|
||||
this.id += id;
|
||||
}
|
||||
this.skuId = id;
|
||||
this.proId = proId;
|
||||
this.img = img;
|
||||
|
||||
Reference in New Issue
Block a user