From d0320f280547d7d68d1ac05514056dc3e11c3e82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B1=A4=E4=BC=9F?= <tang@dyn3218-155.wlan.ic.ac.uk>
Date: Mon, 17 Oct 2022 20:15:04 +0100
Subject: [PATCH] save service function name modification

---
 .idea/AmazingProject.iml                               |  1 +
 src/main/java/com/ic/er/service/AttributeService.java  |  6 +++---
 src/main/java/com/ic/er/service/EntityService.java     |  6 +++---
 .../java/com/ic/er/service/RelationshipService.java    |  6 +++---
 src/main/java/com/ic/er/service/ViewService.java       | 10 +++++-----
 5 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/.idea/AmazingProject.iml b/.idea/AmazingProject.iml
index cdb52b2..aba072b 100644
--- a/.idea/AmazingProject.iml
+++ b/.idea/AmazingProject.iml
@@ -8,6 +8,7 @@
       <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
       <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
       <excludeFolder url="file://$MODULE_DIR$/target" />
+      <excludeFolder url="file://$MODULE_DIR$/.idea/codeStyles" />
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
diff --git a/src/main/java/com/ic/er/service/AttributeService.java b/src/main/java/com/ic/er/service/AttributeService.java
index b5168b6..1cb355d 100644
--- a/src/main/java/com/ic/er/service/AttributeService.java
+++ b/src/main/java/com/ic/er/service/AttributeService.java
@@ -5,10 +5,10 @@ import com.ic.er.bean.vo.AttributeVO;
 import com.ic.er.common.ResultState;
 
 public interface AttributeService {
-    AttributeVO createAttribute(AttributeDTO attributeDTO);
+    AttributeVO create(AttributeDTO attributeDTO);
 
-    ResultState deleteAttribute(AttributeDTO attributeDTO);
+    ResultState delete(AttributeDTO attributeDTO);
 
-    ResultState updateAttribute(AttributeDTO attributeDTO);
+    ResultState update(AttributeDTO attributeDTO);
 
 }
diff --git a/src/main/java/com/ic/er/service/EntityService.java b/src/main/java/com/ic/er/service/EntityService.java
index cc28c5c..a22567c 100644
--- a/src/main/java/com/ic/er/service/EntityService.java
+++ b/src/main/java/com/ic/er/service/EntityService.java
@@ -6,9 +6,9 @@ import com.ic.er.common.ResultState;
 
 public interface EntityService {
 
-    EntityVO createEntity(EntityDTO entityDTO);
+    EntityVO create(EntityDTO entityDTO);
 
-    ResultState deleteEntity(EntityDTO entityDTO);
+    ResultState delete(EntityDTO entityDTO);
 
-    ResultState updateEntity(EntityDTO entityDTO);
+    ResultState update(EntityDTO entityDTO);
 }
diff --git a/src/main/java/com/ic/er/service/RelationshipService.java b/src/main/java/com/ic/er/service/RelationshipService.java
index 40b2049..f861392 100644
--- a/src/main/java/com/ic/er/service/RelationshipService.java
+++ b/src/main/java/com/ic/er/service/RelationshipService.java
@@ -6,9 +6,9 @@ import com.ic.er.common.ResultState;
 
 public interface RelationshipService {
 
-    RelationshipVO createRelationship(RelationshipDTO relationshipDTO);
+    RelationshipVO create(RelationshipDTO relationshipDTO);
 
-    ResultState deleteRelationship(RelationshipDTO relationshipDTO);
+    ResultState delete(RelationshipDTO relationshipDTO);
 
-    ResultState updateRelationship(RelationshipDTO relationshipDTO);
+    ResultState update(RelationshipDTO relationshipDTO);
 }
diff --git a/src/main/java/com/ic/er/service/ViewService.java b/src/main/java/com/ic/er/service/ViewService.java
index 246f90f..f93c12d 100644
--- a/src/main/java/com/ic/er/service/ViewService.java
+++ b/src/main/java/com/ic/er/service/ViewService.java
@@ -6,13 +6,13 @@ import com.ic.er.common.ResultState;
 import java.util.List;
 
 public interface ViewService {
-    ViewVO createView(ViewDTO view);
+    ViewVO create(ViewDTO view);
 
-    ResultState deleteView(ViewDTO view);
+    ResultState delete(ViewDTO view);
 
-    List<ViewVO> queryAllView();
+    List<ViewVO> queryAll();
 
-    ViewVO queryView(ViewDTO view);
+    ViewVO queryById();
 
-    ResultState updateView(ViewDTO view);
+    ResultState update(ViewDTO name);
 }
-- 
GitLab