@@ -205,6 +205,9 @@ public class ObeCourseWeightServiceImpl extends ServiceImpl<ObeCourseWeightMappe
Boolean enable = detail.getEnable();
BigDecimal weight = detail.getWeight();
+ if (weight.compareTo(BigDecimal.ZERO) > 0){
+ enable = true;
+ }
if (enable) {
checkWeight = checkWeight.add(weight);
}