|
|
@@ -9,9 +9,11 @@ import com.fs.common.core.domain.R;
|
|
|
import com.fs.common.core.domain.model.LoginUser;
|
|
|
import com.fs.common.utils.ServletUtils;
|
|
|
import com.fs.course.config.CourseConfig;
|
|
|
+import com.fs.course.domain.FsUserCoursePeriod;
|
|
|
import com.fs.course.mapper.FsUserCourseMapper;
|
|
|
import com.fs.course.mapper.FsUserCourseVideoMapper;
|
|
|
import com.fs.course.param.FsCourseRedPacketLogParam;
|
|
|
+import com.fs.course.service.IFsUserCoursePeriodService;
|
|
|
import com.fs.course.vo.FsCourseRedPacketLogListPVO;
|
|
|
import com.fs.framework.web.service.TokenService;
|
|
|
import com.fs.his.utils.PhoneUtil;
|
|
|
@@ -52,6 +54,9 @@ public class FsCourseRedPacketLogController extends BaseController
|
|
|
{
|
|
|
@Autowired
|
|
|
private IFsCourseRedPacketLogService fsCourseRedPacketLogService;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IFsUserCoursePeriodService fsUserCoursePeriodService;
|
|
|
@Autowired
|
|
|
FsUserCourseMapper fsUserCourseMapper;
|
|
|
@Autowired
|
|
|
@@ -82,7 +87,8 @@ public class FsCourseRedPacketLogController extends BaseController
|
|
|
|
|
|
List<FsCourseRedPacketLogListPVO> list = fsCourseRedPacketLogService.selectFsCourseRedPacketLogListVO(fsCourseRedPacketLog);
|
|
|
for (FsCourseRedPacketLogListPVO fsCourseRedPacketLogListPVO : list) {
|
|
|
-
|
|
|
+ FsUserCoursePeriod fsUserCoursePeriod = fsUserCoursePeriodService.selectFsUserCoursePeriodById(fsCourseRedPacketLogListPVO.getPeriodId().longValue());
|
|
|
+ fsCourseRedPacketLogListPVO.setPeriodName(fsUserCoursePeriod.getPeriodName());
|
|
|
fsCourseRedPacketLogListPVO.setPhone(PhoneUtil.decryptAutoPhoneMk(fsCourseRedPacketLogListPVO.getPhone()));
|
|
|
}
|
|
|
return R.ok().put("data",new PageInfo<>(list));
|