|
@@ -241,6 +241,13 @@ public class UserPlanServiceImpl extends ServiceImpl<UserPlanMapper, UserPlan> i
|
|
|
@Override
|
|
|
public Boolean updateByEditBo(UserPlanEditBo bo) throws ParseException {
|
|
|
UserPlan userPlan = new UserPlan();
|
|
|
+ if (bo.getStatus().equals(-1)){
|
|
|
+
|
|
|
+ userPlan.setPlanId(bo.getPlanId());
|
|
|
+ userPlan.setStatus(-1);
|
|
|
+ this.updateById(userPlan);
|
|
|
+ return true;
|
|
|
+ }
|
|
|
List<CalendarStudyVo> clCalendarStudyVos = findDates(bo.getStartTime(),bo.getEndTime());
|
|
|
Long sumUp=0L;
|
|
|
for (Long aLong : bo.getGoodsId()) {
|