|
@@ -26,6 +26,7 @@ import com.zhongzheng.modules.exam.domain.ExamBefore;
|
|
|
import com.zhongzheng.modules.exam.domain.ExamNumber;
|
|
import com.zhongzheng.modules.exam.domain.ExamNumber;
|
|
|
import com.zhongzheng.modules.exam.mapper.ExamApplyMapper;
|
|
import com.zhongzheng.modules.exam.mapper.ExamApplyMapper;
|
|
|
import com.zhongzheng.modules.exam.mapper.ExamBeforeMapper;
|
|
import com.zhongzheng.modules.exam.mapper.ExamBeforeMapper;
|
|
|
|
|
+import com.zhongzheng.modules.exam.mapper.ExamNumberMapper;
|
|
|
import com.zhongzheng.modules.exam.vo.ExamApplyVo;
|
|
import com.zhongzheng.modules.exam.vo.ExamApplyVo;
|
|
|
import com.zhongzheng.modules.exam.vo.ExamBeforeVo;
|
|
import com.zhongzheng.modules.exam.vo.ExamBeforeVo;
|
|
|
import com.zhongzheng.modules.exam.vo.ExamUserApplyVo;
|
|
import com.zhongzheng.modules.exam.vo.ExamUserApplyVo;
|
|
@@ -164,6 +165,9 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private ExamBeforeMapper examBeforeMapper;
|
|
private ExamBeforeMapper examBeforeMapper;
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private ExamNumberMapper examNumberMapper;
|
|
|
|
|
+
|
|
|
@Value("${aliyun.sms.OpenTheGoodsCode}")
|
|
@Value("${aliyun.sms.OpenTheGoodsCode}")
|
|
|
private String OpenTheGoodsCode;
|
|
private String OpenTheGoodsCode;
|
|
|
|
|
|
|
@@ -734,6 +738,11 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
int goodsVos = iGoodsService.queryUpGoods();
|
|
int goodsVos = iGoodsService.queryUpGoods();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public void UpExamNum(UserQueryBo bo) {
|
|
|
|
|
+ List<ExamNumber> examNumbers = examNumberMapper.selectUpExamNum();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
//获得可用学习天数
|
|
//获得可用学习天数
|
|
|
private static int getDutyDays(Date startDateStr, Date endDateStr,Long[] longs,Long studyDay) {
|
|
private static int getDutyDays(Date startDateStr, Date endDateStr,Long[] longs,Long studyDay) {
|
|
|
int result = 0;
|
|
int result = 0;
|