|
@@ -244,6 +244,7 @@ public class ExtendContentController extends BaseController {
|
244
|
244
|
taExtendContentQueryWrapper.eq("org_id", getOrgId(request));
|
245
|
245
|
taExtendContentQueryWrapper.eq("status", 1);
|
246
|
246
|
taExtendContentQueryWrapper.eq("show_type", extendContent.getShowType());
|
|
247
|
+ taExtendContentQueryWrapper.ne("content_id", extendContent.getTargetId());
|
247
|
248
|
List<ExtendContent> extContentInfo = iExtendContentService.list(taExtendContentQueryWrapper);
|
248
|
249
|
if (!Collections.isEmpty(extContentInfo)){
|
249
|
250
|
responseBean.addError("该城市已有开屏广告,请勿再次上架");
|