|
@@ -1521,12 +1521,14 @@ public class AiBytedanceAdvertiserStrategyServiceImpl extends ServiceImpl<AiByte
|
|
// 值 为0 不限预算
|
|
// 值 为0 不限预算
|
|
// !0 指定预算
|
|
// !0 指定预算
|
|
if (!aiBytedanceAdvertiserStrategy.getAccountBudget().equals(new BigDecimal("0"))){
|
|
if (!aiBytedanceAdvertiserStrategy.getAccountBudget().equals(new BigDecimal("0"))){
|
|
|
|
+ if (!Check.isNull(ruleDataAccountVo)){
|
|
// 前者 < 后者
|
|
// 前者 < 后者
|
|
int a = aiBytedanceAdvertiserStrategy.getAccountBudget().compareTo(ruleDataAccountVo.getCost().multiply(new BigDecimal(1.05)));
|
|
int a = aiBytedanceAdvertiserStrategy.getAccountBudget().compareTo(ruleDataAccountVo.getCost().multiply(new BigDecimal(1.05)));
|
|
if (a == -1){
|
|
if (a == -1){
|
|
return Result.errorMsg("预算金额不能低于当前已消费金额的105%");
|
|
return Result.errorMsg("预算金额不能低于当前已消费金额的105%");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ }
|
|
|
|
|
|
// 数据入库 string[] 转 string
|
|
// 数据入库 string[] 转 string
|
|
//商品卖点
|
|
//商品卖点
|