充值兑换码相关接口
This commit is contained in:
parent
0051c6e24e
commit
2542d664ca
|
|
@ -43,7 +43,6 @@ public class MkRechargeRedemptionConfigDTO implements Serializable {
|
|||
/**
|
||||
* 库存
|
||||
*/
|
||||
|
||||
private Integer stock;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ public class MkRechargeRedemptionConfigServiceImpl extends ServiceImpl<MkRecharg
|
|||
AssertUtil.isTrue(count > 0, "名称已存在");
|
||||
MkRechargeRedemptionConfig config = BeanUtil.copyProperties(dto, MkRechargeRedemptionConfig.class);
|
||||
config.setMainShopId(mainShopId);
|
||||
config.setStock(config.getTotal());
|
||||
save(config);
|
||||
|
||||
ArrayList<MkRechargeRedemptionCode> codeArrayList = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue