diff --git a/src/main/java/com/ic/er/bean/entity/Attribute.java b/src/main/java/com/ic/er/bean/entity/Attribute.java index 54581108e5cb04a5d9dbafedc1bbc391510f177e..1e2b33b7ce71eed252e41ec92b0753e5051c7a5b 100644 --- a/src/main/java/com/ic/er/bean/entity/Attribute.java +++ b/src/main/java/com/ic/er/bean/entity/Attribute.java @@ -28,6 +28,6 @@ public class Attribute { private Date gmt_create; - private Date gmt_modefied; + private Date gmt_modified; } diff --git a/src/main/java/com/ic/er/bean/entity/Entity.java b/src/main/java/com/ic/er/bean/entity/Entity.java index 08110d22ee60062f71fd972fca7235800884419c..80aa7e5b0c75c1c9bc2ef02a44f9a016d7b645ea 100644 --- a/src/main/java/com/ic/er/bean/entity/Entity.java +++ b/src/main/java/com/ic/er/bean/entity/Entity.java @@ -20,6 +20,6 @@ public class Entity { private Date gmt_create; - private Date gmt_modefied; + private Date gmt_modified; } diff --git a/src/main/java/com/ic/er/bean/entity/Relationship.java b/src/main/java/com/ic/er/bean/entity/Relationship.java index b1b2d775dcb9242202383abaed50f57c327ba1d4..57c6c9240c4bbcaecd031f4667e1f2965f2bf810 100644 --- a/src/main/java/com/ic/er/bean/entity/Relationship.java +++ b/src/main/java/com/ic/er/bean/entity/Relationship.java @@ -30,6 +30,6 @@ public class Relationship { private Date gmt_create; - private Date gmt_modefied; + private Date gmt_modified; } diff --git a/src/main/java/com/ic/er/bean/entity/View.java b/src/main/java/com/ic/er/bean/entity/View.java index 9585d1fb0e1e1bc607c529b1d16999bdd5d3e3d6..18f98f68e5ecc6b5507b0ccf266d1a3ca03998af 100644 --- a/src/main/java/com/ic/er/bean/entity/View.java +++ b/src/main/java/com/ic/er/bean/entity/View.java @@ -22,6 +22,6 @@ public class View { private Date gmt_create; - private Date gmt_modefied; + private Date gmt_modified; } diff --git a/src/main/java/com/ic/er/bean/vo/RelationshipVO.java b/src/main/java/com/ic/er/bean/vo/RelationshipVO.java index 79b9aa7059804b82071b3b78b807ad1368cc4bf0..97158cbfdafeb0855d7679f0b1e0821118f6d65c 100644 --- a/src/main/java/com/ic/er/bean/vo/RelationshipVO.java +++ b/src/main/java/com/ic/er/bean/vo/RelationshipVO.java @@ -17,7 +17,7 @@ public class RelationshipVO { private Long second_attribute_id; - private int cardinatily; + private int cardinality; private ResultState resultState; diff --git a/src/main/resources/mapper/AttributeMapper.xml b/src/main/resources/mapper/AttributeMapper.xml index 3a860e319b9d46ffa1c7b82937009cb770550fa4..3d39010b49feb2752525f83bdd9a9a6b9307fced 100644 --- a/src/main/resources/mapper/AttributeMapper.xml +++ b/src/main/resources/mapper/AttributeMapper.xml @@ -14,7 +14,7 @@ <result column="is_foreign" property="is_foreign"/> <result column="is_delete" property="is_delete"/> <result column="gmt_create" property="gmt_create"/> - <result column="gmt_modefied" property="gmt_modefied"/> + <result column="gmt_modified" property="gmt_modified"/> </resultMap> <sql id="Base_Column_List"> @@ -23,14 +23,14 @@ <select id="selectById" parameterType="java.lang.Long"> select - id,entity_id,view_id,name,data_type,is_primary,is_foreign,is_delete,gmt_create,gmt_modefied + id,entity_id,view_id,name,data_type,is_primary,is_foreign,is_delete,gmt_create,gmt_modified from attribute where id = #{id,jdbcType=BIGINT} and is_delete = 0 </select> <select id="selectByAttribute" parameterType="com.ic.er.bean.entity.Attribute"> select - id,entity_id,view_id,name,data_type,is_primary,is_foreign,is_delete,gmt_create,gmt_modefied + id,entity_id,view_id,name,data_type,is_primary,is_foreign,is_delete,gmt_create,gmt_modified from attribute <where> <if test="id != null"> @@ -60,8 +60,8 @@ <if test="gmt_create != null"> and gmt_create = #{gmt_create,jdbcType=DATETIME} </if> - <if test="gmt_modefied != null"> - and gmt_modefied = #{gmt_modefied,jdbcType=DATETIME} + <if test="gmt_modified != null"> + and gmt_modified = #{gmt_modified,jdbcType=DATETIME} </if> </where> </select> diff --git a/src/main/resources/mapper/EntityMapper.xml b/src/main/resources/mapper/EntityMapper.xml index 88f6aa74b71a7fe06d16e6744d3cca232f2dbbb5..4341dcdbe6620db52460c5459990354e3da8049e 100644 --- a/src/main/resources/mapper/EntityMapper.xml +++ b/src/main/resources/mapper/EntityMapper.xml @@ -10,7 +10,7 @@ <result column="view_id" property="view_id"/> <result column="is_delete" property="is_delete"/> <result column="gmt_create" property="gmt_create"/> - <result column="gmt_modefied" property="gmt_modefied"/> + <result column="gmt_modified" property="gmt_modified"/> </resultMap> <sql id="Base_Column_List"> @@ -19,14 +19,14 @@ <select id="selectById" parameterType="java.lang.Long"> select - id,name,view_id,is_delete,gmt_create,gmt_modefied + id,name,view_id,is_delete,gmt_create,gmt_modified from entity where id = #{id,jdbcType=BIGINT} and is_delete = 0 </select> <select id="selectByEntity" parameterType="com.ic.er.bean.entity.Entity"> select - id,name,view_id,is_delete,gmt_create,gmt_modefied + id,name,view_id,is_delete,gmt_create,gmt_modified from entity where <trim suffixOverrides=","> @@ -45,8 +45,8 @@ <if test="gmt_create != null"> gmt_create = #{gmt_create,jdbcType=DATETIME}, </if> - <if test="gmt_modefied != null"> - gmt_modefied = #{gmt_modefied,jdbcType=DATETIME}, + <if test="gmt_modified != null"> + gmt_modified = #{gmt_modified,jdbcType=DATETIME}, </if> </trim> </select> diff --git a/src/main/resources/mapper/RelationshipMapper.xml b/src/main/resources/mapper/RelationshipMapper.xml index 330b57ad9e7337d107361fdcbd99b8344d85fe8f..1f03d0f1931036c99b7b9ee1239c8887f137bed4 100644 --- a/src/main/resources/mapper/RelationshipMapper.xml +++ b/src/main/resources/mapper/RelationshipMapper.xml @@ -15,7 +15,7 @@ <result column="cardinatily" property="cardinatily"/> <result column="is_delete" property="is_delete"/> <result column="gmt_create" property="gmt_create"/> - <result column="gmt_modefied" property="gmt_modefied"/> + <result column="gmt_modified" property="gmt_modified"/> </resultMap> <sql id="Base_Column_List"> @@ -24,14 +24,14 @@ <select id="selectById" parameterType="java.lang.Long"> select - id,name,view_id,first_entity_id,second_entity_id,first_attribute_id,second_attribute_id,cardinality,is_delete,gmt_create,gmt_modefied + id,name,view_id,first_entity_id,second_entity_id,first_attribute_id,second_attribute_id,cardinality,is_delete,gmt_create,gmt_modified from relationship where id = #{id,jdbcType=BIGINT} and is_delete = 0 </select> <select id="selectByRelationship" parameterType="com.ic.er.bean.entity.Relationship"> select - id,name,view_id,first_entity_id,second_entity_id,first_attribute_id,second_attribute_id,cardinality,is_delete,gmt_create,gmt_modefied + id,name,view_id,first_entity_id,second_entity_id,first_attribute_id,second_attribute_id,cardinality,is_delete,gmt_create,gmt_modified from relationship where <trim suffixOverrides=","> @@ -65,8 +65,8 @@ <if test="gmt_create != null"> gmt_create = #{gmt_create,jdbcType=DATETIME}, </if> - <if test="gmt_modefied != null"> - gmt_modefied = #{gmt_modefied,jdbcType=DATETIME}, + <if test="gmt_modified != null"> + gmt_modified = #{gmt_modified,jdbcType=DATETIME}, </if> </trim> </select> diff --git a/src/main/resources/mapper/ViewMapper.xml b/src/main/resources/mapper/ViewMapper.xml index f0b294b1b60a6d4d33ff28b70d918d2c51272427..4df48c432a20b78bfa21f7108db95dbdd96b762e 100644 --- a/src/main/resources/mapper/ViewMapper.xml +++ b/src/main/resources/mapper/ViewMapper.xml @@ -11,7 +11,7 @@ <result column="parent_id" property="parent_id"/> <result column="is_delete" property="is_delete"/> <result column="gmt_create" property="gmt_create"/> - <result column="gmt_modefied" property="gmt_modefied"/> + <result column="gmt_modified" property="gmt_modified"/> </resultMap> <sql id="Base_Column_List"> @@ -20,13 +20,13 @@ <select id="selectAll"> select - id,name,creator,parent_id,is_delete,gmt_create,gmt_modefied + id,name,creator,parent_id,is_delete,gmt_create,gmt_modified from view where is_delete = 0 </select> <select id="selectByView" parameterType="com.ic.er.bean.entity.View"> select - id,name,creator,parent_id,is_delete,gmt_create,gmt_modefied + id,name,creator,parent_id,is_delete,gmt_create,gmt_modified from view where <trim suffixOverrides=","> @@ -48,15 +48,15 @@ <if test="gmt_create != null"> gmt_create = #{gmt_create,jdbcType=DATETIME}, </if> - <if test="gmt_modefied != null"> - gmt_modefied = #{gmt_modefied,jdbcType=DATETIME}, + <if test="gmt_modified != null"> + gmt_modified = #{gmt_modified,jdbcType=DATETIME}, </if> </trim> </select> <select id="selectById" parameterType="java.lang.Long"> select - id,name,creator,parent_id,is_delete,gmt_create,gmt_modefied + id,name,creator,parent_id,is_delete,gmt_create,gmt_modified from view where id = #{id,jdbcType=BIGINT} and is_delete = 0 </select> diff --git a/target/classes/com/ic/er/bean/entity/Attribute.class b/target/classes/com/ic/er/bean/entity/Attribute.class index 3ab56e243461d7351cbb6282e2a730e9380fe0a3..3393b6bb372ebbe286c841190583aae568a09014 100644 Binary files a/target/classes/com/ic/er/bean/entity/Attribute.class and b/target/classes/com/ic/er/bean/entity/Attribute.class differ diff --git a/target/classes/com/ic/er/bean/entity/Entity.class b/target/classes/com/ic/er/bean/entity/Entity.class index 3e241a3f2cfe3cf86db7ee1ba41dede280a0414c..73252b9c45caf85e2e942cd4a062709251053170 100644 Binary files a/target/classes/com/ic/er/bean/entity/Entity.class and b/target/classes/com/ic/er/bean/entity/Entity.class differ diff --git a/target/classes/com/ic/er/bean/entity/Relationship.class b/target/classes/com/ic/er/bean/entity/Relationship.class index e0a168c2764c3578e465b651b16062112a1a67fb..e4ff5a94445b31dbc9b0dba7829b2290d5d41d78 100644 Binary files a/target/classes/com/ic/er/bean/entity/Relationship.class and b/target/classes/com/ic/er/bean/entity/Relationship.class differ diff --git a/target/classes/com/ic/er/bean/entity/View.class b/target/classes/com/ic/er/bean/entity/View.class index df10ff54028a4c5d89ba637a75b0b94623ac58ec..ac7585540aa079049f61f3ead30e66e663990494 100644 Binary files a/target/classes/com/ic/er/bean/entity/View.class and b/target/classes/com/ic/er/bean/entity/View.class differ diff --git a/target/classes/com/ic/er/dao/AttributeMapper.class b/target/classes/com/ic/er/dao/AttributeMapper.class index de7ec79f0746b595b559fb734faf6d54a4cf47b3..4c39c7c4b6b31400bee693c5550bc9ef860e57b4 100644 Binary files a/target/classes/com/ic/er/dao/AttributeMapper.class and b/target/classes/com/ic/er/dao/AttributeMapper.class differ diff --git a/target/classes/com/ic/er/dao/EntityMapper.class b/target/classes/com/ic/er/dao/EntityMapper.class index f55cc827aa34b12c3fa44990e755272a8f0fa5ea..853dd0c0b481509ca8caedb0ed10add7492fb195 100644 Binary files a/target/classes/com/ic/er/dao/EntityMapper.class and b/target/classes/com/ic/er/dao/EntityMapper.class differ diff --git a/target/classes/com/ic/er/dao/RelationshipMapper.class b/target/classes/com/ic/er/dao/RelationshipMapper.class index 886f6b10894fe08b71be9aa8e709e22253a0dd10..b0f077b61af7eaccfea583809bb80a06908bd0f8 100644 Binary files a/target/classes/com/ic/er/dao/RelationshipMapper.class and b/target/classes/com/ic/er/dao/RelationshipMapper.class differ diff --git a/target/classes/com/ic/er/dao/ViewMapper.class b/target/classes/com/ic/er/dao/ViewMapper.class index 7ed49c25ecb30b2ac31e2f2675723cafe9c3453a..c788305bf5239be2643baba5c52d39236e173103 100644 Binary files a/target/classes/com/ic/er/dao/ViewMapper.class and b/target/classes/com/ic/er/dao/ViewMapper.class differ