Commit b83557b11752ec31f83a16293497873032145d74
1 parent
d384884275
Exists in
master
and in
1 other branch
字典维护
Showing 2 changed files with 7 additions and 7 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/LymsLogs.java
View file @
b83557b
... | ... | @@ -24,8 +24,8 @@ |
24 | 24 | /** |
25 | 25 | * |
26 | 26 | */ |
27 | - @TableField(value = "class") | |
28 | - private String class; | |
27 | + @TableField(value = "cls") | |
28 | + private String cls; | |
29 | 29 | |
30 | 30 | /** |
31 | 31 | * |
... | ... | @@ -73,7 +73,7 @@ |
73 | 73 | } |
74 | 74 | LymsLogs other = (LymsLogs) that; |
75 | 75 | return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) |
76 | - && (this.getClass() == null ? other.getClass() == null : this.getClass().equals(other.getClass())) | |
76 | + && (this.getCls() == null ? other.getCls() == null : this.getCls().equals(other.getCls())) | |
77 | 77 | && (this.getFunc() == null ? other.getFunc() == null : this.getFunc().equals(other.getFunc())) |
78 | 78 | && (this.getLvl() == null ? other.getLvl() == null : this.getLvl().equals(other.getLvl())) |
79 | 79 | && (this.getLogger() == null ? other.getLogger() == null : this.getLogger().equals(other.getLogger())) |
... | ... | @@ -86,7 +86,7 @@ |
86 | 86 | final int prime = 31; |
87 | 87 | int result = 1; |
88 | 88 | result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); |
89 | - result = prime * result + ((getClass() == null) ? 0 : getClass().hashCode()); | |
89 | + result = prime * result + ((getCls() == null) ? 0 : getCls().hashCode()); | |
90 | 90 | result = prime * result + ((getFunc() == null) ? 0 : getFunc().hashCode()); |
91 | 91 | result = prime * result + ((getLvl() == null) ? 0 : getLvl().hashCode()); |
92 | 92 | result = prime * result + ((getLogger() == null) ? 0 : getLogger().hashCode()); |
... | ... | @@ -102,7 +102,7 @@ |
102 | 102 | sb.append(" ["); |
103 | 103 | sb.append("Hash = ").append(hashCode()); |
104 | 104 | sb.append(", id=").append(id); |
105 | - sb.append(", class=").append(class); | |
105 | + sb.append(", cls=").append(cls); | |
106 | 106 | sb.append(", func=").append(func); |
107 | 107 | sb.append(", lvl=").append(lvl); |
108 | 108 | sb.append(", logger=").append(logger); |
talkonlineweb/src/main/resources/mapper/LymsLogsMapper.xml
View file @
b83557b
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 | |
7 | 7 | <resultMap id="BaseResultMap" type="com.lyms.talkonlineweb.domain.LymsLogs"> |
8 | 8 | <id property="id" column="id" jdbcType="INTEGER"/> |
9 | - <result property="class" column="class" jdbcType="VARCHAR"/> | |
9 | + <result property="cls" column="cls" jdbcType="VARCHAR"/> | |
10 | 10 | <result property="func" column="func" jdbcType="VARCHAR"/> |
11 | 11 | <result property="lvl" column="lvl" jdbcType="VARCHAR"/> |
12 | 12 | <result property="logger" column="logger" jdbcType="VARCHAR"/> |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | </resultMap> |
16 | 16 | |
17 | 17 | <sql id="Base_Column_List"> |
18 | - id,class,func, | |
18 | + id,cls,func, | |
19 | 19 | lvl,logger,message, |
20 | 20 | log_date |
21 | 21 | </sql> |