|
@@ -721,7 +721,8 @@ public class WmTaskContentServiceImpl extends ServiceImpl<WmTaskContentMapper, W
|
|
|
|
|
|
if ("举办次数上限".equals(r.getManual())) {
|
|
if ("举办次数上限".equals(r.getManual())) {
|
|
Object o = r.getFrequency().get(0).get("quantity");
|
|
Object o = r.getFrequency().get(0).get("quantity");
|
|
- betweenDay = o instanceof String ? Integer.parseInt((String) o) : (int) o;
|
|
|
|
|
|
+ upperLimit = o instanceof String ? Integer.parseInt((String) o) : (int) o;
|
|
|
|
+
|
|
}
|
|
}
|
|
if ("任务有效期限".equals(r.getManual())) {
|
|
if ("任务有效期限".equals(r.getManual())) {
|
|
|
|
|
|
@@ -729,7 +730,7 @@ public class WmTaskContentServiceImpl extends ServiceImpl<WmTaskContentMapper, W
|
|
Object o = f.get("quantity");
|
|
Object o = f.get("quantity");
|
|
return o instanceof String ? Integer.parseInt((String) o) : (int) o;
|
|
return o instanceof String ? Integer.parseInt((String) o) : (int) o;
|
|
}).sorted().collect(Collectors.toList());
|
|
}).sorted().collect(Collectors.toList());
|
|
- upperLimit = quantity.get(0);
|
|
|
|
|
|
+ betweenDay = quantity.get(0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|