保存进度!

This commit is contained in:
Kane Wang 2022-03-27 15:58:59 +08:00
parent c588131c12
commit 3d302919de
2 changed files with 55 additions and 3 deletions

View File

@ -5,10 +5,8 @@
</component>
<component name="ChangeListManager">
<list default="true" id="59c1e2ec-34de-447f-b370-673ce36f3f54" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/src/main/java/com/cpic/xim/config/db/OracleConfig.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/db.json" beforeDir="false" afterPath="$PROJECT_DIR$/db.json" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/java/com/cpic/xim/config/db/DBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/disaster_warning.iws" beforeDir="false" afterPath="$PROJECT_DIR$/disaster_warning.iws" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -358,6 +356,8 @@
<workItem from="1647833533865" duration="634000" />
<workItem from="1647850946832" duration="870000" />
<workItem from="1647913554783" duration="4765000" />
<workItem from="1648360359477" duration="722000" />
<workItem from="1648366561803" duration="1183000" />
</task>
<servers />
</component>

View File

@ -0,0 +1,52 @@
package com.cpic.xim.config.db;
import java.util.Objects;
public class DBTable
{
public DBTable() {}
public String getTableName()
{
return tableName;
}
public void setTableName( String tableName )
{
this.tableName = tableName;
}
public String getTableDescription()
{
return tableDescription;
}
public void setTableDescription( String tableDescription )
{
this.tableDescription = tableDescription;
}
@Override
public boolean equals( Object o )
{
if ( this == o )
{
return true;
}
if ( !( o instanceof DBTable ) )
{
return false;
}
DBTable dbTable = (DBTable) o;
return tableName.equals( dbTable.tableName ) && tableDescription.equals( dbTable.tableDescription );
}
@Override
public int hashCode()
{
return Objects.hash( tableName, tableDescription );
}
private String tableName;
private String tableDescription;
}