| @@ -0,0 +1,7 @@ | |||||
| alter table wx_mall | |||||
| add column parking_space varchar(20) DEFAULT 0 not null comment '停车位', | |||||
| add column business_hours json not null comment '营业时间', | |||||
| add column introduction varchar(255) DEFAULT '' not null comment '简介', | |||||
| add column img varchar(255) DEFAULT '' not null comment '图片'; | |||||
| update wx_mall set business_hours = JSON_ARRAY(); | |||||
| @@ -69,8 +69,8 @@ public class WxMall extends BaseEntity { | |||||
| private Integer saleType; | private Integer saleType; | ||||
| @io.swagger.annotations.ApiModelProperty(value="启用开始时间",name="validStart") | @io.swagger.annotations.ApiModelProperty(value="启用开始时间",name="validStart") | ||||
| private Date validStart; | private Date validStart; | ||||
| @io.swagger.annotations.ApiModelProperty(value="启用结束时间",name="validEnd") | |||||
| private Date validEnd; | |||||
| @io.swagger.annotations.ApiModelProperty(value = "启用结束时间", name = "validEnd") | |||||
| private Date validEnd; | |||||
| @TableField(exist = false) | @TableField(exist = false) | ||||
| protected List<WxMallBuilding> buildings; | protected List<WxMallBuilding> buildings; | ||||
| @@ -92,5 +92,17 @@ public class WxMall extends BaseEntity { | |||||
| return true; | return true; | ||||
| } | } | ||||
| @io.swagger.annotations.ApiModelProperty(value = "停车位", name = "parkingSpace") | |||||
| private String parkingSpace; | |||||
| @io.swagger.annotations.ApiModelProperty(value = "营业时间", name = "businessHours") | |||||
| private String businessHours; | |||||
| @io.swagger.annotations.ApiModelProperty(value = "简介", name = "introduction") | |||||
| private String introduction; | |||||
| @io.swagger.annotations.ApiModelProperty(value = "图片", name = "img") | |||||
| private String img; | |||||
| } | } | ||||
| @@ -26,6 +26,13 @@ | |||||
| <result column="sale_type" jdbcType="TINYINT" property="saleType"/> | <result column="sale_type" jdbcType="TINYINT" property="saleType"/> | ||||
| <result column="valid_start" jdbcType="TIMESTAMP" property="validStart"/> | <result column="valid_start" jdbcType="TIMESTAMP" property="validStart"/> | ||||
| <result column="valid_end" jdbcType="TIMESTAMP" property="validEnd"/> | <result column="valid_end" jdbcType="TIMESTAMP" property="validEnd"/> | ||||
| <result column="parking_space" jdbcType="VARCHAR" property="parkingSpace"/> | |||||
| <result column="business_hours" jdbcType="VARCHAR" property="businessHours"/> | |||||
| <result column="introduction" jdbcType="VARCHAR" property="introduction"/> | |||||
| <result column="img" jdbcType="VARCHAR" property="img"/> | |||||
| </resultMap> | </resultMap> | ||||
| <sql id="allColumns"> | <sql id="allColumns"> | ||||
| @@ -33,7 +40,7 @@ | |||||
| `total_area`,`operating_area`,`park_area`,`park_place_number`,`service_phone`, | `total_area`,`operating_area`,`park_area`,`park_place_number`,`service_phone`, | ||||
| `img_url`,`img_url_h`, `weap_note`, `img_qrcode_weapp`, `img_qrcode_wemp`, | `img_url`,`img_url_h`, `weap_note`, `img_qrcode_weapp`, `img_qrcode_wemp`, | ||||
| `weapp_share_title`,`weapp_share_cover_img`, `pos_qrcode_rule`, | `weapp_share_title`,`weapp_share_cover_img`, `pos_qrcode_rule`, | ||||
| `sale_type`, `valid_start`, `valid_end` | |||||
| `sale_type`, `valid_start`, `valid_end`,`parking_space`,`business_hours`,`introduction`,`img` | |||||
| </sql> | </sql> | ||||
| <sql id="dynamicWhereConditions"> | <sql id="dynamicWhereConditions"> | ||||