master:修改nextNo初始值;
parent
7f544d7daa
commit
1496dafd53
|
|
@ -420,7 +420,7 @@ public class GtAndFhbBizController extends BaseController {
|
|||
.setStoreProdId(storeProd.getId()).setStandard(gtStandardSizeList.contains(Constants.SIZE_LIST.get(j)) ? 1 : 0)
|
||||
// 销售价格以FHB价格为准
|
||||
.setPrice(smivo.getSalePrice())
|
||||
.setOtherSnPrefix(otherSnPrefix).setNextSn(0));
|
||||
.setOtherSnPrefix(otherSnPrefix).setNextSn(1));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -326,7 +326,7 @@ public class GtAndTyBiz2Controller extends BaseController {
|
|||
// TY系统条码前缀
|
||||
final String otherSnPrefix = tyProdImportVO.getTySnPrefix() + Constants.SIZE_LIST.get(j);
|
||||
prodColorSizeList.add(new StoreProductColorSize().setSize(Constants.SIZE_LIST.get(j)).setStoreColorId(storeColor.getId())
|
||||
.setStoreProdId(storeProd.getId()).setPrice(tyProdImportVO.getPrice()).setOtherSnPrefix(otherSnPrefix).setNextSn(0)
|
||||
.setStoreProdId(storeProd.getId()).setPrice(tyProdImportVO.getPrice()).setOtherSnPrefix(otherSnPrefix).setNextSn(1)
|
||||
.setStandard(gtStandardSizeList.contains(Constants.SIZE_LIST.get(j)) ? 1 : 0));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -374,7 +374,7 @@ public class GtAndTyBizController extends BaseController {
|
|||
// TY系统条码前缀
|
||||
final String otherSnPrefix = tyProdImportVO.getTySnPrefix() + Constants.SIZE_LIST.get(j);
|
||||
prodColorSizeList.add(new StoreProductColorSize().setSize(Constants.SIZE_LIST.get(j)).setStoreColorId(storeColor.getId())
|
||||
.setStoreProdId(storeProd.getId()).setPrice(tyProdImportVO.getPrice()).setOtherSnPrefix(otherSnPrefix).setNextSn(0)
|
||||
.setStoreProdId(storeProd.getId()).setPrice(tyProdImportVO.getPrice()).setOtherSnPrefix(otherSnPrefix).setNextSn(1)
|
||||
.setStandard(gtStandardSizeList.contains(Constants.SIZE_LIST.get(j)) ? 1 : 0));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@ public class StoreProductServiceImpl implements IStoreProductService {
|
|||
// 不存在则新增
|
||||
dbProdColorSizeList.add(new StoreProductColorSize().setSize(updateColorSize.getSize()).setStoreProdId(storeProdId)
|
||||
.setStandard(updateColorSize.getStandard()).setStoreColorId(storeColorMap.get(updateColorSize.getColorName()))
|
||||
.setPrice(updateColorSize.getPrice()).setNextSn(0));
|
||||
.setPrice(updateColorSize.getPrice()).setNextSn(1));
|
||||
}
|
||||
});
|
||||
this.storeProdColorSizeMapper.insertOrUpdate(dbProdColorSizeList);
|
||||
|
|
@ -502,7 +502,7 @@ public class StoreProductServiceImpl implements IStoreProductService {
|
|||
this.storeProdColorMapper.insert(prodColorList);
|
||||
// 新增档口颜色尺码对应价格
|
||||
List<StoreProductColorSize> prodColorSizeList = createDTO.getSizeList().stream().map(x -> new StoreProductColorSize().setSize(x.getSize()).setStoreProdId(storeProdId)
|
||||
.setStandard(x.getStandard()).setStoreColorId(storeColorMap.get(x.getColorName())).setPrice(x.getPrice()).setNextSn(0))
|
||||
.setStandard(x.getStandard()).setStoreColorId(storeColorMap.get(x.getColorName())).setPrice(x.getPrice()).setNextSn(1))
|
||||
.collect(Collectors.toList());
|
||||
this.storeProdColorSizeMapper.insert(prodColorSizeList);
|
||||
// 设置档口商品价格尺码的barcode_prefix
|
||||
|
|
|
|||
Loading…
Reference in New Issue