|
@@ -36,10 +36,7 @@ import com.zhongzheng.modules.inform.service.IInformUserService;
|
|
|
import com.zhongzheng.modules.inform.vo.InformRemindBusinessVo;
|
|
|
import com.zhongzheng.modules.inform.vo.InformRemindVo;
|
|
|
import com.zhongzheng.modules.user.bo.*;
|
|
|
-import com.zhongzheng.modules.user.domain.UserBankRecord;
|
|
|
-import com.zhongzheng.modules.user.domain.UserExamRecord;
|
|
|
-import com.zhongzheng.modules.user.domain.UserPlan;
|
|
|
-import com.zhongzheng.modules.user.domain.UserStudyRecord;
|
|
|
+import com.zhongzheng.modules.user.domain.*;
|
|
|
import com.zhongzheng.modules.user.mapper.UserStudyRecordMapper;
|
|
|
import com.zhongzheng.modules.user.service.*;
|
|
|
import com.zhongzheng.modules.user.vo.*;
|
|
@@ -92,6 +89,9 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
|
|
|
@Autowired
|
|
|
private IClassGradeUserService iClassGradeUserService;
|
|
|
+ @Autowired
|
|
|
+ private IUserSubscribeService iUserSubscribeService;
|
|
|
+
|
|
|
|
|
|
@Autowired
|
|
|
private com.zhongzheng.modules.alisms.service.IAliSmsService IAliSmsService;
|
|
@@ -176,6 +176,11 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
lqw3.eq(UserPeriod::getGoodsId, goodsId);
|
|
|
lqw3.eq( UserPeriod::getUserId, userId);
|
|
|
iUserPeriodService.remove(lqw3);
|
|
|
+ //清除报考数据
|
|
|
+ LambdaQueryWrapper<UserSubscribe> lqw4 = Wrappers.lambdaQuery();
|
|
|
+ lqw4.eq(UserSubscribe::getGoodsId, goodsId);
|
|
|
+ lqw4.eq( UserSubscribe::getUserId, userId);
|
|
|
+ iUserSubscribeService.remove(lqw4);
|
|
|
return null;
|
|
|
}
|
|
|
|