|
@@ -113,6 +113,11 @@ public class AiKuaishouAdvertiserStrategyController {
|
|
|
if (aiKuaishouAdvertiserStrategyEntity == null) {
|
|
|
result.error500("未找到对应实体");
|
|
|
} else {
|
|
|
+ Integer singleAppId = aiKuaishouAdvertiserStrategy.getSingleAppid();
|
|
|
+ if (null != singleAppId && singleAppId == 1) {
|
|
|
+ Integer appId = Integer.parseInt(JSONArray.parseArray(aiKuaishouAdvertiserStrategy.getAppIdArray()).getString(0));
|
|
|
+ aiKuaishouAdvertiserStrategy.setAppId(appId);
|
|
|
+ }
|
|
|
boolean ok = aiKuaishouAdvertiserStrategyService.updateById(aiKuaishouAdvertiserStrategy);
|
|
|
if (ok) {
|
|
|
result.success("修改成功!");
|