15 changed files with 214 additions and 105 deletions
@ -0,0 +1,43 @@
|
||||
package com.air.housing.dto; |
||||
|
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
|
||||
/** |
||||
* 楼盘列表返回参数 |
||||
* |
||||
* @author peihao |
||||
* @date 2021/7/13 |
||||
**/ |
||||
@Data |
||||
@ApiModel |
||||
public class HousingEstatesListDto { |
||||
@ApiModelProperty(value = "楼盘id") |
||||
private Long housingEstateId; |
||||
|
||||
@ApiModelProperty(value = "楼盘名称") |
||||
private String name; |
||||
|
||||
@ApiModelProperty(value = "公告编号") |
||||
private String landCode; |
||||
|
||||
@ApiModelProperty(value = "行政区") |
||||
private String canton; |
||||
|
||||
@ApiModelProperty(value = "大组团") |
||||
private String bigGroup; |
||||
|
||||
@ApiModelProperty(value = "小组团") |
||||
private String smallGroup; |
||||
|
||||
@ApiModelProperty(value = "操盘企业") |
||||
private String tradingEnterprises; |
||||
|
||||
@ApiModelProperty(value = "合作方") |
||||
private String partner; |
||||
|
||||
@ApiModelProperty(value = "经营企业") |
||||
private String conductEnterprise; |
||||
} |
@ -1,37 +1,36 @@
|
||||
package com.air.housing.dto; |
||||
|
||||
import com.air.housing.entity.HousingEstates; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @author zeb. |
||||
* Created by zeb on 2021/6/9. |
||||
*/ |
||||
* 楼盘查询条件 |
||||
* @author peihao |
||||
* @date 2021/7/13 |
||||
**/ |
||||
@Data |
||||
@EqualsAndHashCode |
||||
@ApiModel |
||||
@ApiModel(value = "楼盘查询条件") |
||||
public class HousingEstatesQuery { |
||||
|
||||
@ApiModelProperty(value = "公告编号") |
||||
private String annoId; |
||||
private String landCode; |
||||
|
||||
@ApiModelProperty(value = "楼盘名称") |
||||
private String name; |
||||
@ApiModelProperty(value = "业态") |
||||
private String format; |
||||
|
||||
@ApiModelProperty(value = "区域") |
||||
private String area; |
||||
private String canton; |
||||
|
||||
@ApiModelProperty(value = "大组团") |
||||
private String bigGroup; |
||||
|
||||
@ApiModelProperty(value = "小组团") |
||||
private String smallGroup; |
||||
@ApiModelProperty(value = "日期,格式yyyy-MM-dd") |
||||
private String createDate; |
||||
|
||||
@ApiModelProperty(value = "开发企业") |
||||
private String program; |
||||
private String conductEnterprise; |
||||
} |
||||
|
@ -0,0 +1,54 @@
|
||||
package com.air.housing.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.baomidou.mybatisplus.extension.activerecord.Model; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* 地块楼盘关联表 |
||||
* |
||||
* @author peihao |
||||
* @date 2021/5/18 |
||||
**/ |
||||
@Data |
||||
@TableName("anno_blocks_rel") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
@ApiModel(value = "地块楼盘关联表") |
||||
public class AnnoBlocksRel extends Model<AnnoBlocksRel> { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
@ApiModelProperty(value = "楼盘id") |
||||
private Long housingEstatesId; |
||||
|
||||
@ApiModelProperty(value = "地块id") |
||||
private String landListedId; |
||||
|
||||
@ApiModelProperty(value = "是否主要地块(0:否,1:是)") |
||||
private Integer mainLand; |
||||
|
||||
@ApiModelProperty(value = "状态") |
||||
private String statusCd; |
||||
|
||||
@ApiModelProperty(value = "状态时间") |
||||
private LocalDateTime statusDate; |
||||
|
||||
@ApiModelProperty(value = "创建人") |
||||
private String createUserId; |
||||
|
||||
@ApiModelProperty(value = "创建时间") |
||||
private LocalDateTime createDate; |
||||
|
||||
@ApiModelProperty(value = "修改人") |
||||
private String updateUserId; |
||||
|
||||
@ApiModelProperty(value = "修改时间") |
||||
private LocalDateTime updateDate; |
||||
|
||||
@ApiModelProperty(value = "备注") |
||||
private String remark; |
||||
} |
@ -0,0 +1,13 @@
|
||||
package com.air.housing.mapper; |
||||
|
||||
import com.air.housing.entity.AnnoBlocksRel; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
/** |
||||
* 地块楼盘关联表 |
||||
* |
||||
* @author peihao |
||||
* @date 2021-05-18 09:39:45 |
||||
*/ |
||||
public interface AnnoBlocksRelMapper extends BaseMapper<AnnoBlocksRel> { |
||||
} |
@ -0,0 +1,14 @@
|
||||
package com.air.housing.service; |
||||
|
||||
import com.air.housing.entity.AnnoBlocksRel; |
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
||||
/** |
||||
* 地块楼盘关联表 |
||||
* |
||||
* @author peihao |
||||
* @date 2021-05-18 09:39:45 |
||||
*/ |
||||
public interface AnnoBlocksRelService extends IService<AnnoBlocksRel> { |
||||
|
||||
} |
@ -0,0 +1,18 @@
|
||||
package com.air.housing.service.impl; |
||||
|
||||
import com.air.housing.entity.AnnoBlocksRel; |
||||
import com.air.housing.mapper.AnnoBlocksRelMapper; |
||||
import com.air.housing.service.AnnoBlocksRelService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* 地块楼盘关联表 |
||||
* |
||||
* @author peihao |
||||
* @date 2021-05-18 09:39:45 |
||||
*/ |
||||
@Service |
||||
public class AnnoBlocksRelServiceImpl extends ServiceImpl<AnnoBlocksRelMapper, AnnoBlocksRel> implements AnnoBlocksRelService { |
||||
|
||||
} |
@ -1,31 +0,0 @@
|
||||
package com.air.housing.vo; |
||||
|
||||
import com.air.housing.entity.HousingEstates; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @author zeb. |
||||
* Created by zeb on 2021/6/9. |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
@ApiModel |
||||
public class HousingEstatesListVO extends HousingEstates { |
||||
@ApiModelProperty(value = "其他编号") |
||||
private String otherNo; |
||||
@ApiModelProperty(value = "大组团") |
||||
private String bigGroup; |
||||
@ApiModelProperty(value = "小组团") |
||||
private String smallGroup; |
||||
@ApiModelProperty(value = "日期,格式yyyy-MM-dd") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
private LocalDateTime createDate; |
||||
} |
Loading…
Reference in new issue