|
@@ -222,6 +222,7 @@ public class KuaishouVideoDirectionalPackageController {
|
|
Result<KuaishouVideoDirectionalPackage> result = new Result<>();
|
|
Result<KuaishouVideoDirectionalPackage> result = new Result<>();
|
|
QueryWrapper<KuaishouVideoDirectionalPackage> advertiserQueryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<KuaishouVideoDirectionalPackage> advertiserQueryWrapper = new QueryWrapper<>();
|
|
advertiserQueryWrapper.eq("video_get_id", id);
|
|
advertiserQueryWrapper.eq("video_get_id", id);
|
|
|
|
+ advertiserQueryWrapper.last("limit 1");
|
|
KuaishouVideoDirectionalPackage kuaishouVideoDirectionalPackage = kuaishouVideoDirectionalPackageService.getOne(advertiserQueryWrapper);
|
|
KuaishouVideoDirectionalPackage kuaishouVideoDirectionalPackage = kuaishouVideoDirectionalPackageService.getOne(advertiserQueryWrapper);
|
|
if (kuaishouVideoDirectionalPackage == null) {
|
|
if (kuaishouVideoDirectionalPackage == null) {
|
|
return Result.ok("该素材未配置定向");
|
|
return Result.ok("该素材未配置定向");
|