he2802 vor 3 Jahren
Ursprung
Commit
73d5ab45ce

+ 1 - 3
zhongzheng-admin/src/main/java/com/zhongzheng/controller/bank/QuestionModuleController.java

@@ -140,8 +140,6 @@ public class QuestionModuleController extends BaseController {
     @GetMapping("/chapter/list")
     public AjaxResult<List<QuestionChapterVo>> chapterList(QuestionModuleChapterQueryBo bo) {
         List<QuestionChapterVo> list = iQuestionModuleChapterService.getList(bo);
-        System.out.println(list);
-        return AjaxResult.success((new ArrayList<QuestionChapterVo>()));
-    //    return AjaxResult.success(Validator.isNotNull(list)?list:(new ArrayList<QuestionChapterVo>()));
+        return AjaxResult.success(list);
     }
 }

+ 2 - 2
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/service/impl/UserProfileServiceImpl.java

@@ -274,9 +274,9 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
         UserProfile update = BeanUtil.toBean(bo,UserProfile.class);
         UserProfileVo userProfileVo1 = this.queryById(bo.getId());
         //查询此人审核资料是否有权限
-        if (baseMapper.selectCountProfile(loginUser.getUser().getUserId(),userProfileVo1.getGoodsId()) < 1){
+       /* if (baseMapper.selectCountProfile(loginUser.getUser().getUserId(),userProfileVo1.getGoodsId()) < 1){
             throw new IllegalArgumentException("您没有审核权限");
-        }
+        }*/
         update.setId(bo.getId());
         update.setCreateByName("SAAS-"+ SecurityUtils.getUsername());
         update.setUpdateTime(DateUtils.getNowTime());