|
@@ -274,9 +274,9 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
|
|
|
UserProfile update = BeanUtil.toBean(bo,UserProfile.class);
|
|
UserProfile update = BeanUtil.toBean(bo,UserProfile.class);
|
|
|
UserProfileVo userProfileVo1 = this.queryById(bo.getId());
|
|
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("您没有审核权限");
|
|
throw new IllegalArgumentException("您没有审核权限");
|
|
|
- }
|
|
|
|
|
|
|
+ }*/
|
|
|
update.setId(bo.getId());
|
|
update.setId(bo.getId());
|
|
|
update.setCreateByName("SAAS-"+ SecurityUtils.getUsername());
|
|
update.setCreateByName("SAAS-"+ SecurityUtils.getUsername());
|
|
|
update.setUpdateTime(DateUtils.getNowTime());
|
|
update.setUpdateTime(DateUtils.getNowTime());
|