|
|
@@ -84,7 +84,7 @@ public class GiftCardController {
|
|
|
if (byId == null) {
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
|
}
|
|
|
- if (byId.getStatus()) {
|
|
|
+ if (!byId.getStatus()) {
|
|
|
//校验礼品卡已上架多少个 最多上架三个
|
|
|
int count = giftCardGoodsSkuService.count(Wrappers.lambdaQuery(GiftCardGoodsSku.class)
|
|
|
.eq(GiftCardGoodsSku::getStatus, true)
|