Commit 73d94e0f by 涂亚平

课程时长计算不对

1 parent 2058feef
...@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RestController;
@SpringBootApplication @SpringBootApplication
@MapperScan(basePackages = {"com.subsidy.mapper"}) @MapperScan(basePackages = {"com.subsidy.mapper"})
@EnableScheduling @EnableScheduling
@EnableCaching //@EnableCaching
@EnableAsync @EnableAsync
public class MeishuApplication { public class MeishuApplication {
......
...@@ -49,9 +49,6 @@ public class AuthenticationInterceptor implements HandlerInterceptor { ...@@ -49,9 +49,6 @@ public class AuthenticationInterceptor implements HandlerInterceptor {
@Autowired @Autowired
private MemberMapper memberMapper; private MemberMapper memberMapper;
@Autowired
private RedisUtil redisUtil;
@Override @Override
@CrossOrigin() @CrossOrigin()
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) { public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
......
...@@ -111,7 +111,7 @@ public class MemberController { ...@@ -111,7 +111,7 @@ public class MemberController {
@PostMapping("myCourses") @PostMapping("myCourses")
@ApiOperation("手机端:我的学习--课程 memberId 学员id status 状态 0:全部 1:进行中 2:待开始 3:已完成 ") @ApiOperation("手机端:我的学习--课程 memberId 学员id status 状态 0:全部 1:进行中 2:待开始 3:已完成 ")
@LoginRequired // @LoginRequired
@TimeRequired @TimeRequired
public ResponseVO myCourses(@RequestBody MyCoursesDTO myCoursesDTO){ public ResponseVO myCourses(@RequestBody MyCoursesDTO myCoursesDTO){
return ResponseData.generateCreatedResponse(0,memberService.myCourses(myCoursesDTO)); return ResponseData.generateCreatedResponse(0,memberService.myCourses(myCoursesDTO));
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
FROM FROM
course_content t1 course_content t1
LEFT JOIN content_vod_mapping t3 ON t3.content_id = t1.id LEFT JOIN content_vod_mapping t3 ON t3.content_id = t1.id
LEFT JOIN vod_dict t2 ON t2.id = t3.content_id LEFT JOIN vod_dict t2 ON t2.id = t3.vod_id
WHERE WHERE
t1.delete_date IS NULL t1.delete_date IS NULL
AND t2.delete_date IS NULL AND t2.delete_date IS NULL
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!