mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-10 16:21:52 +08:00
移除ProductSku相关的status属性,修改Property
This commit is contained in:
@@ -68,11 +68,9 @@ public class ProductSkuServiceTest extends BaseDbUnitTest {
|
||||
List<ProductSkuCreateOrUpdateReqVO> skus = Arrays.asList(
|
||||
randomPojo(ProductSkuCreateOrUpdateReqVO.class, o -> { // 测试更新
|
||||
o.setProperties(singletonList(new ProductSkuCreateOrUpdateReqVO.Property(10L, 20L)));
|
||||
o.setStatus(CommonStatusEnum.ENABLE.getStatus());
|
||||
}),
|
||||
randomPojo(ProductSkuCreateOrUpdateReqVO.class, o -> { // 测试新增
|
||||
o.setProperties(singletonList(new ProductSkuCreateOrUpdateReqVO.Property(10L, 40L)));
|
||||
o.setStatus(CommonStatusEnum.ENABLE.getStatus());
|
||||
})
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user