|
@@ -128,6 +128,8 @@ public class PromoteQrcodePoolController extends BaseController<PromoteQrcodePoo
|
|
|
} else {
|
|
} else {
|
|
|
addHandle.getRaw().setWeight(weight + 1);
|
|
addHandle.getRaw().setWeight(weight + 1);
|
|
|
}
|
|
}
|
|
|
|
|
+ }else{
|
|
|
|
|
+ addHandle.getRaw().setWeight(1);
|
|
|
}
|
|
}
|
|
|
addHandle.getRaw().setDayUvMax(promoteCode.getDayUvMax());
|
|
addHandle.getRaw().setDayUvMax(promoteCode.getDayUvMax());
|
|
|
addHandle.getRaw().setHourUvMax(promoteCode.getHourUvMax());
|
|
addHandle.getRaw().setHourUvMax(promoteCode.getHourUvMax());
|
|
@@ -175,6 +177,8 @@ public class PromoteQrcodePoolController extends BaseController<PromoteQrcodePoo
|
|
|
} else {
|
|
} else {
|
|
|
raw.setWeight(weight + 1);
|
|
raw.setWeight(weight + 1);
|
|
|
}
|
|
}
|
|
|
|
|
+ }else{
|
|
|
|
|
+ raw.setWeight(1);
|
|
|
}
|
|
}
|
|
|
raw.setDayUvMax(promoteCode.getDayUvMax());
|
|
raw.setDayUvMax(promoteCode.getDayUvMax());
|
|
|
raw.setHourUvMax(promoteCode.getHourUvMax());
|
|
raw.setHourUvMax(promoteCode.getHourUvMax());
|