diff --git a/.idea/dataSources/356b1cbb-8e8d-401f-bdfc-b3e917bc8301.xml b/.idea/dataSources/356b1cbb-8e8d-401f-bdfc-b3e917bc8301.xml index 44954d9..f80b89c 100644 --- a/.idea/dataSources/356b1cbb-8e8d-401f-bdfc-b3e917bc8301.xml +++ b/.idea/dataSources/356b1cbb-8e8d-401f-bdfc-b3e917bc8301.xml @@ -1738,77 +1738,77 @@ char(1)|0s normal - - 9 - char(1)|0s - normal - - - 10 - char(1)|0s - normal - - - 11 - char(1)|0s - normal - - - 12 - char(1)|0s - normal - - + 1 id 1 - + 1 char(20)|0s 1 normal - + 2 text|0s normal - + 3 date|0s normal - + 4 text|0s normal - + 5 date|0s normal - + 6 text|0s normal - + 7 date|0s normal - + 8 text|0s normal - + 9 date|0s normal + + 10 + char(1)|0s + normal + + + 11 + char(1)|0s + normal + + + 12 + char(1)|0s + normal + + + 13 + char(1)|0s + normal + 1 id diff --git a/.idea/dictionaries/zhai_.xml b/.idea/dictionaries/zhai_.xml index ef04878..3011932 100644 --- a/.idea/dictionaries/zhai_.xml +++ b/.idea/dictionaries/zhai_.xml @@ -3,6 +3,7 @@ excpt gdms + hmmss mariadb synchronizable diff --git a/.idea/misc.xml b/.idea/misc.xml index 35bdbab..11bca97 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/core/process/LastProcess.java b/src/core/process/LastProcess.java new file mode 100644 index 0000000..f376a4d --- /dev/null +++ b/src/core/process/LastProcess.java @@ -0,0 +1,4 @@ +package core.process; + +public abstract class LastProcess extends Process { +} diff --git a/src/core/process/Process.java b/src/core/process/Process.java index b4b818e..a79f94f 100644 --- a/src/core/process/Process.java +++ b/src/core/process/Process.java @@ -2,17 +2,14 @@ package core.process; import core.operation.Operation; -public abstract class Process implements Cloneable{ +public abstract class Process{ + + private char status; private String permission; private Operation operation; private String buttonName; private String info; - @Override - public Process clone(){ - //todo - return null; - } public String getPermission() { return permission; @@ -45,4 +42,12 @@ public abstract class Process implements Cloneable{ public void setInfo(String info) { this.info = info; } + + public char getStatus() { + return status; + } + + public void setStatus(char status) { + this.status = status; + } } diff --git a/src/core/process/ProcessManagement.java b/src/core/process/ProcessManagement.java index 88dcb8f..b7bf2f0 100644 --- a/src/core/process/ProcessManagement.java +++ b/src/core/process/ProcessManagement.java @@ -5,5 +5,7 @@ public class ProcessManagement { public Condition getCondition(String userType, List index){ return null; } - + public Process getProcess(int index){ + return null; + } } diff --git a/src/core/process/TempProcess.java b/src/core/process/TempProcess.java new file mode 100644 index 0000000..1bb01d4 --- /dev/null +++ b/src/core/process/TempProcess.java @@ -0,0 +1,22 @@ +package core.process; + +public abstract class TempProcess extends Process { + public static String process; + public static String nextProcess; + + public static String getProcess() { + return process; + } + + public static void setProcess(String process) { + TempProcess.process = process; + } + + public static String getNextProcess() { + return nextProcess; + } + + public static void setNextProcess(String nextProcess) { + TempProcess.nextProcess = nextProcess; + } +} diff --git a/src/gdms/test.java b/src/gdms/test.java index 177f21b..1e92dad 100644 --- a/src/gdms/test.java +++ b/src/gdms/test.java @@ -19,5 +19,11 @@ public class test { Select sql = new Select(list,"zx",map,1,2); System.out.println(sql.getSQL()); System.out.println(Utils.getFilePathName("a","b")); + String a = "a"; + changeB(a); + System.out.println(a); + } + static void changeB(String a){ + a="B"; } }