You've already forked FrameTour-BE
refactor(scenic): 重构景区相关接口和数据结构
-移除了 ScenicMapper 中的冗余方法 - 更新了 ScenicEntity 和 ScenicRespVO 的字段结构 - 重构了 ScenicRepository 中的缓存逻辑 - 优化了 AppScenicServiceImpl 中的景区详情获取方法
This commit is contained in:
@@ -13,15 +13,17 @@ import java.util.Date;
|
||||
* 景区管理表
|
||||
*/
|
||||
@Data
|
||||
@TableName("scenic")
|
||||
public class ScenicEntity {
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 景区名称
|
||||
*/
|
||||
private String name;
|
||||
private Integer mpId;
|
||||
private String phone;
|
||||
private String logoUrl;
|
||||
// 封面图
|
||||
private String coverUrl;
|
||||
/**
|
||||
* 景区介绍
|
||||
*/
|
||||
@@ -63,6 +65,7 @@ public class ScenicEntity {
|
||||
/**
|
||||
* 景区源素材价格,元
|
||||
*/
|
||||
private String kfCodeUrl;
|
||||
private BigDecimal price;
|
||||
private BigDecimal sourceVideoPrice;
|
||||
private BigDecimal sourceImagePrice;
|
||||
|
@@ -74,19 +74,6 @@ public class ScenicRespVO {
|
||||
*/
|
||||
// 详细地址
|
||||
private String address;
|
||||
/**
|
||||
* 状态 1启用0关闭
|
||||
*/
|
||||
// 状态 1启用0关闭
|
||||
private Integer status;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date updateTime;
|
||||
// 景区源素材价格,元
|
||||
private BigDecimal price;
|
||||
private BigDecimal sourceVideoPrice;
|
||||
private BigDecimal sourceImagePrice;
|
||||
// 镜头数
|
||||
private Integer lensNum;
|
||||
private String kfCodeUrl;
|
||||
|
Reference in New Issue
Block a user