Commit e655fe84 by huangjinxin

fix:实验代码

1 parent 23414ce5
......@@ -114,6 +114,9 @@ public class RoleService {
public void deleteRole(String roleId) {
// 查询角色是否存在
RoleEntity roleEntity = roleDao.findById(roleId).orElse(null);
roleEntity.setUpdatedTime(new Date());
roleEntity.setNotes("chakhca");
roleDao.save(roleEntity);
if (ObjectUtil.isNull(roleEntity)) {
throw new BusinessException(StatusCodeEnum.ROLE_DOES_NOT_EXIST);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!