|
|
|
@@ -1840,7 +1840,7 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
|
} |
|
|
|
Long draftId = wxCouponMapper.selectDraftId(couponId,tenantInfo.getTenantId()); |
|
|
|
if(draftId != null){ |
|
|
|
TtCouponChannelPoi draftStatus = ttCouponChannelPoiMapper.selectById(tenantInfo.getTenantId(), couponId); |
|
|
|
TtCouponChannelPoi draftStatus = ttCouponChannelPoiMapper.selectById(tenantInfo.getTenantId(), draftId); |
|
|
|
if(draftStatus != null && EnumSpuSyncStatus.sync_auditing.getCode().equals(draftStatus.getStatus())){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"此券草稿审核中"); |
|
|
|
} |
|
|
|
|