|
@@ -68,6 +68,12 @@ public class AiKuaishouAccountAutoTargetServiceImpl extends ServiceImpl<AiKuaish
|
|
|
if (!Check.isNull(requestJson.getJSONArray("keyword"))) {
|
|
|
target.setKeyword(JSONObject.toJSONString(requestJson.getJSONArray("keyword")));
|
|
|
}
|
|
|
+ if (!Check.isNull(target.getMax()) && target.getMax() == -1) {
|
|
|
+ target.setMax(null);
|
|
|
+ }
|
|
|
+ if (!Check.isNull(target.getMin()) && target.getMin() == -1) {
|
|
|
+ target.setMin(null);
|
|
|
+ }
|
|
|
boolean update = this.saveOrUpdate(target);
|
|
|
if (update) {
|
|
|
return Result.ok("修改成功");
|