upd: 编码规范
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ import lombok.Setter;
|
||||
@TableName("tool_local_storage")
|
||||
public class LocalStorage extends MyEntity {
|
||||
|
||||
@TableId(value = "storage_id", type = IdType.AUTO)
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
@ApiModelProperty(value = "ID", hidden = true)
|
||||
private Long id;
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import java.sql.Timestamp;
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class QiniuContent extends MyObject {
|
||||
|
||||
@TableId(value = "content_id", type = IdType.AUTO)
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
@ApiModelProperty(value = "ID", hidden = true)
|
||||
private Long id;
|
||||
|
||||
|
||||
@@ -18,6 +18,6 @@
|
||||
AND update_time BETWEEN #{criteria.createTime[0]} AND #{criteria.createTime[1]}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY storage_id DESC
|
||||
ORDER BY id DESC
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -19,6 +19,6 @@
|
||||
AND update_time BETWEEN #{criteria.createTime[0]} AND #{criteria.createTime[1]}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY content_id DESC
|
||||
ORDER BY id DESC
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user