"jetbrains:/idea/checkout/git" did not exist on "a1bf1c6c34fad4078c287adcddd234b1e7a9f0b4"
Commit 94463c26 authored by Junling Bu's avatar Junling Bu
Browse files

litemall-db模块更新:

1. mybatis generator更新1.3.7
2. mybatis-generator-plugin更新1.2.12
3. 更新所有自动生成代码
4. OrderMapper,实现基于update_time的乐观锁更新
parent d4b95ef2
......@@ -71,20 +71,20 @@ public class LitemallCollect {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_collect.deleted
* This field corresponds to the database column litemall_collect.update_time
*
* @mbg.generated
*/
private Boolean deleted;
private LocalDateTime updateTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_collect.version
* This field corresponds to the database column litemall_collect.deleted
*
* @mbg.generated
*/
private Integer version;
private Boolean deleted;
/**
* This method was generated by MyBatis Generator.
......@@ -208,50 +208,50 @@ public class LitemallCollect {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_collect.deleted
* This method returns the value of the database column litemall_collect.update_time
*
* @return the value of litemall_collect.deleted
* @return the value of litemall_collect.update_time
*
* @mbg.generated
*/
public Boolean getDeleted() {
return deleted;
public LocalDateTime getUpdateTime() {
return updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_collect.deleted
* This method sets the value of the database column litemall_collect.update_time
*
* @param deleted the value for litemall_collect.deleted
* @param updateTime the value for litemall_collect.update_time
*
* @mbg.generated
*/
public void setDeleted(Boolean deleted) {
this.deleted = deleted;
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_collect.version
* This method returns the value of the database column litemall_collect.deleted
*
* @return the value of litemall_collect.version
* @return the value of litemall_collect.deleted
*
* @mbg.generated
*/
public Integer getVersion() {
return version;
public Boolean getDeleted() {
return deleted;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_collect.version
* This method sets the value of the database column litemall_collect.deleted
*
* @param version the value for litemall_collect.version
* @param deleted the value for litemall_collect.deleted
*
* @mbg.generated
*/
public void setVersion(Integer version) {
this.version = version;
public void setDeleted(Boolean deleted) {
this.deleted = deleted;
}
/**
......@@ -271,8 +271,8 @@ public class LitemallCollect {
sb.append(", valueId=").append(valueId);
sb.append(", type=").append(type);
sb.append(", addTime=").append(addTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", deleted=").append(deleted);
sb.append(", version=").append(version);
sb.append("]");
return sb.toString();
}
......@@ -300,8 +300,8 @@ public class LitemallCollect {
&& (this.getValueId() == null ? other.getValueId() == null : this.getValueId().equals(other.getValueId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()))
&& (this.getVersion() == null ? other.getVersion() == null : this.getVersion().equals(other.getVersion()));
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
}
/**
......@@ -319,8 +319,8 @@ public class LitemallCollect {
result = prime * result + ((getValueId() == null) ? 0 : getValueId().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
result = prime * result + ((getVersion() == null) ? 0 : getVersion().hashCode());
return result;
}
......@@ -348,8 +348,8 @@ public class LitemallCollect {
valueId("value_id", "valueId", "INTEGER", false),
type("type", "type", "TINYINT", true),
addTime("add_time", "addTime", "TIMESTAMP", false),
deleted("deleted", "deleted", "BIT", false),
version("version", "version", "INTEGER", false);
updateTime("update_time", "updateTime", "TIMESTAMP", false),
deleted("deleted", "deleted", "BIT", false);
/**
* This field was generated by MyBatis Generator.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment