@@ -50,7 +50,6 @@ public class OrderPossessUserController extends BaseController {
* 查询【请填写功能名称】列表
*/
@ApiOperation("查询【请填写功能名称】列表")
- @PreAuthorize("@ss.hasPermi('system:user:list')")
@GetMapping("/list")
public AjaxResult<OrderPossessUserVo> list(OrderPossessUserQueryBo bo) {
ClientLoginUser loginUser = WxTokenService.getLoginUser(ServletUtils.getRequest());
@@ -21,4 +21,6 @@ public interface UserPlanMapper extends BaseMapper<UserPlan> {
ExamArrangementTimeVo selectByExam(Long categoryId);
List<CoursePlanVo> selectByListCourse(UserPlanQueryBo bo);
+
+ UserPlan selectByUserPlan(UserPlanQueryBo bo);
}
@@ -173,7 +173,8 @@ public class UserPlanServiceImpl extends ServiceImpl<UserPlanMapper, UserPlan> i
@Override
public UserPlanVo userPlan(UserPlanQueryBo bo) {
- return this.queryById(bo.getUserId());
+ UserPlan UserPlan = baseMapper.selectByUserPlan(bo);
+ return null;
private UserPlanVo generateSelfBo(UserPlanQueryBo bo) throws ParseException {
@@ -90,4 +90,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
GROUP BY cs.chapter_id,c.course_id)rs LEFT JOIN major_category mc on rs.category_id = mc.category_id
GROUP BY course_id
</select>
+ <select id="selectByUserPlan" parameterType="com.zhongzheng.modules.user.bo.UserPlanQueryBo" resultMap="UserPlanResult">
+ SELECT * FROM user_plan where 1=1 AND `status` =1
+ AND user_id = #{userId}
+ </select>
</mapper>