Skip to content

Commit d78f407

Browse files
author
zhaobincai
committed
remove the Notice to Workspace
1 parent 3508c4e commit d78f407

File tree

6 files changed

+20
-19
lines changed

6 files changed

+20
-19
lines changed

dss-commons/dss-common/src/main/java/com/webank/wedatasphere/dss/common/service/NoticeService.java

Lines changed: 0 additions & 11 deletions
This file was deleted.

dss-commons/dss-common/src/main/java/com/webank/wedatasphere/dss/common/entity/NoticeContent.java renamed to dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/bean/NoticeContent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.webank.wedatasphere.dss.common.entity;
1+
package com.webank.wedatasphere.dss.framework.workspace.bean;
22

33
import com.baomidou.mybatisplus.annotation.TableName;
44

dss-commons/dss-common/src/main/java/com/webank/wedatasphere/dss/common/dao/NoticeMapper.java renamed to dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/dao/NoticeMapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.webank.wedatasphere.dss.common.dao;
1+
package com.webank.wedatasphere.dss.framework.workspace.dao;
22

33
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4-
import com.webank.wedatasphere.dss.common.entity.NoticeContent;
4+
import com.webank.wedatasphere.dss.framework.workspace.bean.NoticeContent;
55
import org.apache.ibatis.annotations.Mapper;
66

77
@Mapper

dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/restful/DSSWorkspaceRestful.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.webank.wedatasphere.dss.common.utils.DSSCommonUtils;
2626
import com.webank.wedatasphere.dss.framework.admin.service.DssAdminUserService;
2727
import com.webank.wedatasphere.dss.framework.workspace.bean.DSSWorkspace;
28+
import com.webank.wedatasphere.dss.framework.workspace.bean.NoticeContent;
2829
import com.webank.wedatasphere.dss.framework.workspace.bean.dto.response.WorkspaceFavoriteVo;
2930
import com.webank.wedatasphere.dss.framework.workspace.bean.dto.response.WorkspaceMenuVo;
3031
import com.webank.wedatasphere.dss.framework.workspace.bean.request.CreateWorkspaceRequest;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package com.webank.wedatasphere.dss.framework.workspace.service;
2+
3+
import com.webank.wedatasphere.dss.framework.workspace.bean.NoticeContent;
4+
5+
import java.util.List;
6+
7+
public interface NoticeService {
8+
9+
List<NoticeContent> getNoticeContent();
10+
11+
}

dss-commons/dss-common/src/main/java/com/webank/wedatasphere/dss/common/service/impl/NoticeServiceImpl.java renamed to dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/service/impl/NoticeServiceImpl.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
package com.webank.wedatasphere.dss.common.service.impl;
1+
package com.webank.wedatasphere.dss.framework.workspace.service.impl;
22

33
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4-
import com.webank.wedatasphere.dss.common.dao.NoticeMapper;
5-
import com.webank.wedatasphere.dss.common.entity.NoticeContent;
6-
import com.webank.wedatasphere.dss.common.service.NoticeService;
4+
import com.webank.wedatasphere.dss.framework.workspace.bean.NoticeContent;
5+
import com.webank.wedatasphere.dss.framework.workspace.dao.NoticeMapper;
6+
import com.webank.wedatasphere.dss.framework.workspace.service.NoticeService;
77
import org.springframework.beans.factory.annotation.Autowired;
88
import org.springframework.stereotype.Service;
99

1010
import java.util.Date;
1111
import java.util.List;
1212

1313
@Service
14-
public class NoticeServiceImpl implements NoticeService {
14+
public class NoticeServiceImpl implements NoticeService {
1515

1616
@Autowired
1717
private NoticeMapper noticeMapper;

0 commit comments

Comments
 (0)