共享库存修改

This commit is contained in:
GYJ
2024-06-24 15:25:06 +08:00
parent b9b35849c3
commit 063d5731f3
4 changed files with 19 additions and 13 deletions

View File

@@ -9,7 +9,8 @@ import java.util.List;
*/
@Data
public class StockV2Vo {
private Integer id;
private String id;
private Integer skuId;
private Integer proId;
private String img;
private String name;
@@ -24,7 +25,7 @@ public class StockV2Vo {
public StockV2Vo(Integer proId, Integer skuId, String name, String unitName,String specSnap, Object number,Object stockNumber, Integer isDistribute) {
this.proId = proId;
this.id = skuId;
this.skuId = skuId;
this.name = name;
this.unitName = unitName;
this.specSnap = specSnap;
@@ -35,7 +36,8 @@ 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) {
this.id = id;
this.id = id.toString() + "-" + proId.toString();
this.skuId = id;
this.proId = proId;
this.img = img;
this.name = name;