|
@@ -339,6 +339,8 @@ public class AdPlanConfController {
|
|
|
adPlanCreative.setCreativeId(0L);
|
|
adPlanCreative.setCreativeId(0L);
|
|
|
adPlanCreative.setCreativeName(creativeName);
|
|
adPlanCreative.setCreativeName(creativeName);
|
|
|
adPlanCreative.setCreativeText(request.getCreativeText());
|
|
adPlanCreative.setCreativeText(request.getCreativeText());
|
|
|
|
|
+ adPlanCreative.setImageId(0L);
|
|
|
|
|
+ adPlanCreative.setVideoId(0L);
|
|
|
if (creativeFile.getFileType().equals("image")) {
|
|
if (creativeFile.getFileType().equals("image")) {
|
|
|
adPlanCreative.setImageId(Long.valueOf(creativeFile.getAssetId()));
|
|
adPlanCreative.setImageId(Long.valueOf(creativeFile.getAssetId()));
|
|
|
} else if (creativeFile.getFileType().equals("video")) {
|
|
} else if (creativeFile.getFileType().equals("video")) {
|