初始项目

This commit is contained in:
liupopo
2023-02-11 12:55:02 +08:00
parent 1748bda84a
commit 0b89e36064
3363 changed files with 506201 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
package com.zscat.mallplus.annotation;
import java.lang.annotation.*;
/**
* 忽略Token验证
*
* @author zscat
* @email 951449465@qq.com
* @date 2017-03-23 15:44
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface IgnoreAuth {
}

View File

@@ -0,0 +1,20 @@
package com.zscat.mallplus.annotation;
import java.lang.annotation.*;
/**
* 系统日志注解
*
* @author zscat
* @email 951449465@qq.com
* @date 2017年3月8日 上午10:19:56
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SysLog {
String MODULE() default "操作模块";
String REMARK() default "操作日志";
}

View File

@@ -0,0 +1,33 @@
package com.zscat.mallplus.appversion.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
/**
* Created with IntelliJ IDEA.
*
* @Auther: dimengzhe
* @Date: 2020/06/15/11:08
* @Description:
*/
@Data
@TableName("app_version")
public class AppVersion implements Serializable {
private static final long serialVersionUID = -1024009882612883351L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
private String appName;//应用名称
private Integer versionCode;//版本编码
private String versionName;//版本号
private String downloadUrl;//下载地址
private String versionInfo;//版本描述
private Integer isAlpha;//是否内测0否1是
private String fileName;
private boolean forceUpdate;
}

View File

@@ -0,0 +1,21 @@
package com.zscat.mallplus.appversion.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.appversion.entity.AppVersion;
import com.zscat.mallplus.ums.entity.UmsMember;
import java.util.List;
/**
* Created with IntelliJ IDEA.
*
* @Auther: dimengzhe
* @Date: 2020/06/15/11:24
* @Description:
*/
public interface AppVersionMapper extends BaseMapper<AppVersion> {
AppVersion getAll();
AppVersion selectAppVersion();
}

View File

@@ -0,0 +1,73 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* <p>
* 品牌商表
* </p>
*
* @author zscat
* @since 2019-09-18
*/
@Data
@TableName("bak_brand")
public class BakBrand implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 品牌商名称
*/
private String name;
/**
* 品牌商简介
*/
private String descs;
/**
* 品牌商页的品牌商图片
*/
@TableField("pic_url")
private String picUrl;
@TableField("sort_order")
private Integer sortOrder;
/**
* 品牌商的商品低价,仅用于页面展示
*/
@TableField("floor_price")
private BigDecimal floorPrice;
/**
* 创建时间
*/
@TableField("add_time")
private LocalDateTime addTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
/**
* 逻辑删除
*/
private Boolean deleted;
}

View File

@@ -0,0 +1,87 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 类目表
* </p>
*
* @author zscat
* @since 2019-09-17
*/
@Data
@TableName("bak_category")
public class BakCategory implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 类目名称
*/
private String name;
/**
* 类目关键字以JSON数组格式
*/
private String keywords;
/**
* 类目广告语介绍
*/
private String descs;
/**
* 父类目ID
*/
private Integer pid;
/**
* 类目图标
*/
@TableField("icon_url")
private String iconUrl;
/**
* 类目图片
*/
@TableField("pic_url")
private String picUrl;
private String level;
/**
* 排序
*/
@TableField("sort_order")
private Integer sortOrder;
/**
* 创建时间
*/
@TableField("add_time")
private LocalDateTime addTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
/**
* 逻辑删除
*/
private Boolean deleted;
}

View File

@@ -0,0 +1,330 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* <p>
* 商品基本信息表
* </p>
*
* @author zscat
* @since 2019-09-17
*/
@TableName("bak_goods")
public class BakGoods implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 商品编号
*/
@TableField("goods_sn")
private String goodsSn;
/**
* 商品名称
*/
private String name;
/**
* 商品所属类目ID
*/
@TableField("category_id")
private Integer categoryId;
@TableField("brand_id")
private Integer brandId;
/**
* 商品宣传图片列表采用JSON数组格式
*/
private String gallery;
/**
* 商品关键字,采用逗号间隔
*/
private String keywords;
/**
* 商品简介
*/
private String brief;
/**
* 是否上架
*/
@TableField("is_on_sale")
private Boolean isOnSale;
@TableField("sort_order")
private Integer sortOrder;
/**
* 商品页面商品图片
*/
@TableField("pic_url")
private String picUrl;
/**
* 商品分享朋友圈图片
*/
@TableField("share_url")
private String shareUrl;
/**
* 是否新品首发,如果设置则可以在新品首发页面展示
*/
@TableField("is_new")
private Boolean isNew;
/**
* 是否人气推荐,如果设置则可以在人气推荐页面展示
*/
@TableField("is_hot")
private Boolean isHot;
/**
* 商品单位,例如件、盒
*/
private String unit;
/**
* 专柜价格
*/
@TableField("counter_price")
private BigDecimal counterPrice;
/**
* 零售价格
*/
@TableField("retail_price")
private BigDecimal retailPrice;
/**
* 商品详细介绍,是富文本格式
*/
private String detail;
/**
* 创建时间
*/
@TableField("add_time")
private LocalDateTime addTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
/**
* 逻辑删除
*/
private Boolean deleted;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getGoodsSn() {
return goodsSn;
}
public void setGoodsSn(String goodsSn) {
this.goodsSn = goodsSn;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getCategoryId() {
return categoryId;
}
public void setCategoryId(Integer categoryId) {
this.categoryId = categoryId;
}
public Integer getBrandId() {
return brandId;
}
public void setBrandId(Integer brandId) {
this.brandId = brandId;
}
public String getGallery() {
return gallery;
}
public void setGallery(String gallery) {
this.gallery = gallery;
}
public String getKeywords() {
return keywords;
}
public void setKeywords(String keywords) {
this.keywords = keywords;
}
public String getBrief() {
return brief;
}
public void setBrief(String brief) {
this.brief = brief;
}
public Boolean getOnSale() {
return isOnSale;
}
public void setOnSale(Boolean isOnSale) {
this.isOnSale = isOnSale;
}
public Integer getSortOrder() {
return sortOrder;
}
public void setSortOrder(Integer sortOrder) {
this.sortOrder = sortOrder;
}
public String getPicUrl() {
return picUrl;
}
public void setPicUrl(String picUrl) {
this.picUrl = picUrl;
}
public String getShareUrl() {
return shareUrl;
}
public void setShareUrl(String shareUrl) {
this.shareUrl = shareUrl;
}
public Boolean getNew() {
return isNew;
}
public void setNew(Boolean isNew) {
this.isNew = isNew;
}
public Boolean getHot() {
return isHot;
}
public void setHot(Boolean isHot) {
this.isHot = isHot;
}
public String getUnit() {
return unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
public BigDecimal getCounterPrice() {
return counterPrice;
}
public void setCounterPrice(BigDecimal counterPrice) {
this.counterPrice = counterPrice;
}
public BigDecimal getRetailPrice() {
return retailPrice;
}
public void setRetailPrice(BigDecimal retailPrice) {
this.retailPrice = retailPrice;
}
public String getDetail() {
return detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public LocalDateTime getAddTime() {
return addTime;
}
public void setAddTime(LocalDateTime addTime) {
this.addTime = addTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
public Boolean getDeleted() {
return deleted;
}
public void setDeleted(Boolean deleted) {
this.deleted = deleted;
}
@Override
public String toString() {
return "BakGoods{" +
", id=" + id +
", goodsSn=" + goodsSn +
", name=" + name +
", categoryId=" + categoryId +
", brandId=" + brandId +
", gallery=" + gallery +
", keywords=" + keywords +
", brief=" + brief +
", isOnSale=" + isOnSale +
", sortOrder=" + sortOrder +
", picUrl=" + picUrl +
", shareUrl=" + shareUrl +
", isNew=" + isNew +
", isHot=" + isHot +
", unit=" + unit +
", counterPrice=" + counterPrice +
", retailPrice=" + retailPrice +
", detail=" + detail +
", addTime=" + addTime +
", updateTime=" + updateTime +
", deleted=" + deleted +
"}";
}
}

View File

@@ -0,0 +1,72 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
/**
* <p>
* 退货单表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@Data
@TableName("bill_aftersales")
public class BillAftersales implements Serializable {
private static final long serialVersionUID = 1L;
@TableField(exist = false)
List<BillAftersalesItems> itemList;
/**
* 售后单id
*/
@TableId("aftersales_id")
private String aftersalesId;
/**
* 订单ID 关联order.id
*/
@TableField("order_id")
private String orderId;
/**
* 用户ID 关联user.id
*/
@TableField("user_id")
private Long userId;
/**
* 售后类型1=只退款2退款退货
*/
private Boolean type;
/**
* 退款金额
*/
private BigDecimal refund;
/**
* 状态 1=未审核 2=审核通过 3=审核拒绝
*/
private Boolean status;
/**
* 退款原因
*/
private String reason;
/**
* 卖家备注,如果审核失败了,会显示到前端
*/
private String mark;
/**
* 创建时间
*/
private Long ctime;
/**
* 更新时间
*/
private Long utime;
}

View File

@@ -0,0 +1,200 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 售后单明细表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@TableName("bill_aftersales_items")
public class BillAftersalesItems implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 售后单id
*/
@TableField("aftersales_id")
private String aftersalesId;
/**
* 订单明细ID 关联order_items.id
*/
@TableField("order_items_id")
private Integer orderItemsId;
/**
* 商品ID 关联goods.id
*/
@TableField("goods_id")
private Integer goodsId;
/**
* 货品ID 关联products.id
*/
@TableField("product_id")
private Integer productId;
/**
* 货品编码
*/
private String sn;
/**
* 商品编码
*/
private String bn;
/**
* 商品名称
*/
private String name;
/**
* 图片
*/
@TableField("image_url")
private String imageUrl;
/**
* 数量
*/
private Integer nums;
/**
* 货品明细序列号存储
*/
private String addon;
/**
* 更新时间
*/
private Long utime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getAftersalesId() {
return aftersalesId;
}
public void setAftersalesId(String aftersalesId) {
this.aftersalesId = aftersalesId;
}
public Integer getOrderItemsId() {
return orderItemsId;
}
public void setOrderItemsId(Integer orderItemsId) {
this.orderItemsId = orderItemsId;
}
public Integer getGoodsId() {
return goodsId;
}
public void setGoodsId(Integer goodsId) {
this.goodsId = goodsId;
}
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getSn() {
return sn;
}
public void setSn(String sn) {
this.sn = sn;
}
public String getBn() {
return bn;
}
public void setBn(String bn) {
this.bn = bn;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
public Integer getNums() {
return nums;
}
public void setNums(Integer nums) {
this.nums = nums;
}
public String getAddon() {
return addon;
}
public void setAddon(String addon) {
this.addon = addon;
}
public Long getUtime() {
return utime;
}
public void setUtime(Long utime) {
this.utime = utime;
}
@Override
public String toString() {
return "BillAftersalesItems{" +
", id=" + id +
", aftersalesId=" + aftersalesId +
", orderItemsId=" + orderItemsId +
", goodsId=" + goodsId +
", productId=" + productId +
", sn=" + sn +
", bn=" + bn +
", name=" + name +
", imageUrl=" + imageUrl +
", nums=" + nums +
", addon=" + addon +
", utime=" + utime +
"}";
}
}

View File

@@ -0,0 +1,261 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 发货单表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@TableName("bill_delivery")
public class BillDelivery implements Serializable {
private static final long serialVersionUID = 1L;
@TableId("delivery_id")
private String deliveryId;
/**
* 订单ID 关联order.id
*/
@TableField("order_id")
private String orderId;
/**
* 用户id 关联user.id
*/
@TableField("user_id")
private Integer userId;
/**
* 物流公司编码
*/
@TableField("logi_code")
private String logiCode;
/**
* 物流单号
*/
@TableField("logi_no")
private String logiNo;
/**
* 快递物流信息
*/
@TableField("logi_information")
private String logiInformation;
/**
* 0快递信息可能更新 1快递信息不更新了
*/
@TableField("logi_status")
private Integer logiStatus;
/**
* 收货地区ID
*/
@TableField("ship_area_id")
private Integer shipAreaId;
/**
* 收货详细地址
*/
@TableField("ship_address")
private String shipAddress;
/**
* 收货人姓名
*/
@TableField("ship_name")
private String shipName;
/**
* 收货电话
*/
@TableField("ship_mobile")
private String shipMobile;
/**
* 确认s收货时间
*/
@TableField("confirm_time")
private Long confirmTime;
/**
* 状态 1=准备发货 2=已发货 3=已确认 4=其他
*/
private Boolean status;
/**
* 备注
*/
private String memo;
/**
* 创建时间
*/
private Long ctime;
/**
* 更新时间
*/
private Long utime;
public String getDeliveryId() {
return deliveryId;
}
public void setDeliveryId(String deliveryId) {
this.deliveryId = deliveryId;
}
public String getOrderId() {
return orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getLogiCode() {
return logiCode;
}
public void setLogiCode(String logiCode) {
this.logiCode = logiCode;
}
public String getLogiNo() {
return logiNo;
}
public void setLogiNo(String logiNo) {
this.logiNo = logiNo;
}
public String getLogiInformation() {
return logiInformation;
}
public void setLogiInformation(String logiInformation) {
this.logiInformation = logiInformation;
}
public Integer getLogiStatus() {
return logiStatus;
}
public void setLogiStatus(Integer logiStatus) {
this.logiStatus = logiStatus;
}
public Integer getShipAreaId() {
return shipAreaId;
}
public void setShipAreaId(Integer shipAreaId) {
this.shipAreaId = shipAreaId;
}
public String getShipAddress() {
return shipAddress;
}
public void setShipAddress(String shipAddress) {
this.shipAddress = shipAddress;
}
public String getShipName() {
return shipName;
}
public void setShipName(String shipName) {
this.shipName = shipName;
}
public String getShipMobile() {
return shipMobile;
}
public void setShipMobile(String shipMobile) {
this.shipMobile = shipMobile;
}
public Long getConfirmTime() {
return confirmTime;
}
public void setConfirmTime(Long confirmTime) {
this.confirmTime = confirmTime;
}
public Boolean getStatus() {
return status;
}
public void setStatus(Boolean status) {
this.status = status;
}
public String getMemo() {
return memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
public Long getCtime() {
return ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getUtime() {
return utime;
}
public void setUtime(Long utime) {
this.utime = utime;
}
@Override
public String toString() {
return "BillDelivery{" +
", deliveryId=" + deliveryId +
", orderId=" + orderId +
", userId=" + userId +
", logiCode=" + logiCode +
", logiNo=" + logiNo +
", logiInformation=" + logiInformation +
", logiStatus=" + logiStatus +
", shipAreaId=" + shipAreaId +
", shipAddress=" + shipAddress +
", shipName=" + shipName +
", shipMobile=" + shipMobile +
", confirmTime=" + confirmTime +
", status=" + status +
", memo=" + memo +
", ctime=" + ctime +
", utime=" + utime +
"}";
}
}

View File

@@ -0,0 +1,85 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 发货单详情表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@TableName("bill_delivery_items")
public class BillDeliveryItems implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 发货单号 关联bill_delivery.id
*/
@TableField("delivery_id")
private String deliveryId;
/**
* 订单明细ID 关联order_items.id
*/
@TableField("order_items_id")
private Integer orderItemsId;
/**
* 发货数量
*/
private Integer nums;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDeliveryId() {
return deliveryId;
}
public void setDeliveryId(String deliveryId) {
this.deliveryId = deliveryId;
}
public Integer getOrderItemsId() {
return orderItemsId;
}
public void setOrderItemsId(Integer orderItemsId) {
this.orderItemsId = orderItemsId;
}
public Integer getNums() {
return nums;
}
public void setNums(Integer nums) {
this.nums = nums;
}
@Override
public String toString() {
return "BillDeliveryItems{" +
", id=" + id +
", deliveryId=" + deliveryId +
", orderItemsId=" + orderItemsId +
", nums=" + nums +
"}";
}
}

View File

@@ -0,0 +1,184 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 提货单表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@TableName("bill_lading")
public class BillLading implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 提货单号
*/
private String id;
/**
* 订单号
*/
@TableField("order_id")
private String orderId;
/**
* 提货门店ID
*/
@TableField("store_id")
private Integer storeId;
/**
* 提货人姓名
*/
private String name;
/**
* 提货手机号
*/
private String mobile;
/**
* 处理店员ID
*/
@TableField("clerk_id")
private Integer clerkId;
/**
* 提货时间
*/
private Long ptime;
/**
* 提货状态1=未提货 2=已提货
*/
private Boolean status;
/**
* 创建时间
*/
private Long ctime;
/**
* 更新时间
*/
private Long utime;
/**
* 删除时间
*/
private Long isdel;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getOrderId() {
return orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public Integer getStoreId() {
return storeId;
}
public void setStoreId(Integer storeId) {
this.storeId = storeId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public Integer getClerkId() {
return clerkId;
}
public void setClerkId(Integer clerkId) {
this.clerkId = clerkId;
}
public Long getPtime() {
return ptime;
}
public void setPtime(Long ptime) {
this.ptime = ptime;
}
public Boolean getStatus() {
return status;
}
public void setStatus(Boolean status) {
this.status = status;
}
public Long getCtime() {
return ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getUtime() {
return utime;
}
public void setUtime(Long utime) {
this.utime = utime;
}
public Long getIsdel() {
return isdel;
}
public void setIsdel(Long isdel) {
this.isdel = isdel;
}
@Override
public String toString() {
return "BillLading{" +
", id=" + id +
", orderId=" + orderId +
", storeId=" + storeId +
", name=" + name +
", mobile=" + mobile +
", clerkId=" + clerkId +
", ptime=" + ptime +
", status=" + status +
", ctime=" + ctime +
", utime=" + utime +
", isdel=" + isdel +
"}";
}
}

View File

@@ -0,0 +1,202 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* <p>
* 支付单表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@TableName("bill_payments")
public class BillPayments implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 支付单号
*/
@TableId("payment_id")
private String paymentId;
/**
* 支付金额
*/
private BigDecimal money;
/**
* 用户ID 关联user.id
*/
@TableField("user_id")
private Integer userId;
/**
* 资源类型1=订单,2充值单
*/
private Integer type;
/**
* 支付状态 1=未支付 2=支付成功 3=其他
*/
private Boolean status;
/**
* 支付类型编码 关联payments.code
*/
@TableField("payment_code")
private String paymentCode;
/**
* 支付单生成IP
*/
private String ip;
/**
* 支付的时候需要的参数存的是json格式的一维数组
*/
private String params;
/**
* 支付回调后的状态描述
*/
@TableField("payed_msg")
private String payedMsg;
/**
* 第三方平台交易流水号
*/
@TableField("trade_no")
private String tradeNo;
/**
* 创建时间
*/
private Long ctime;
/**
* 更新时间
*/
private Long utime;
public String getPaymentId() {
return paymentId;
}
public void setPaymentId(String paymentId) {
this.paymentId = paymentId;
}
public BigDecimal getMoney() {
return money;
}
public void setMoney(BigDecimal money) {
this.money = money;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public Boolean getStatus() {
return status;
}
public void setStatus(Boolean status) {
this.status = status;
}
public String getPaymentCode() {
return paymentCode;
}
public void setPaymentCode(String paymentCode) {
this.paymentCode = paymentCode;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getParams() {
return params;
}
public void setParams(String params) {
this.params = params;
}
public String getPayedMsg() {
return payedMsg;
}
public void setPayedMsg(String payedMsg) {
this.payedMsg = payedMsg;
}
public String getTradeNo() {
return tradeNo;
}
public void setTradeNo(String tradeNo) {
this.tradeNo = tradeNo;
}
public Long getCtime() {
return ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getUtime() {
return utime;
}
public void setUtime(Long utime) {
this.utime = utime;
}
@Override
public String toString() {
return "BillPayments{" +
", paymentId=" + paymentId +
", money=" + money +
", userId=" + userId +
", type=" + type +
", status=" + status +
", paymentCode=" + paymentCode +
", ip=" + ip +
", params=" + params +
", payedMsg=" + payedMsg +
", tradeNo=" + tradeNo +
", ctime=" + ctime +
", utime=" + utime +
"}";
}
}

View File

@@ -0,0 +1,72 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* <p>
* 支付单明细表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@TableName("bill_payments_rel")
public class BillPaymentsRel implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 支付单编号
*/
@TableField("payment_id")
private String paymentId;
/**
* 资源编号
*/
@TableField("source_id")
private String sourceId;
/**
* 金额
*/
private BigDecimal money;
public String getPaymentId() {
return paymentId;
}
public void setPaymentId(String paymentId) {
this.paymentId = paymentId;
}
public String getSourceId() {
return sourceId;
}
public void setSourceId(String sourceId) {
this.sourceId = sourceId;
}
public BigDecimal getMoney() {
return money;
}
public void setMoney(BigDecimal money) {
this.money = money;
}
@Override
public String toString() {
return "BillPaymentsRel{" +
", paymentId=" + paymentId +
", sourceId=" + sourceId +
", money=" + money +
"}";
}
}

View File

@@ -0,0 +1,200 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* <p>
* 退款单表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@TableName("bill_refund")
public class BillRefund implements Serializable {
private static final long serialVersionUID = 1L;
@TableId("refund_id")
private String refundId;
/**
* 售后单id
*/
@TableField("aftersales_id")
private String aftersalesId;
/**
* 退款金额
*/
private BigDecimal money;
/**
* 用户ID 关联user.id
*/
@TableField("user_id")
private Integer userId;
/**
* 资源id根据type不同而关联不同的表
*/
@TableField("source_id")
private String sourceId;
/**
* 资源类型1=订单,2充值单
*/
private Integer type;
/**
* 退款支付类型编码 默认原路返回 关联支付单表支付编码
*/
@TableField("payment_code")
private String paymentCode;
/**
* 第三方平台交易流水号
*/
@TableField("trade_no")
private String tradeNo;
/**
* 状态 1=未退款 2=已退款 3=退款失败可以再次退款4退款拒绝
*/
private Boolean status;
/**
* 退款失败原因
*/
private String memo;
/**
* 创建时间
*/
private Long ctime;
/**
* 更新时间
*/
private Long utime;
public String getRefundId() {
return refundId;
}
public void setRefundId(String refundId) {
this.refundId = refundId;
}
public String getAftersalesId() {
return aftersalesId;
}
public void setAftersalesId(String aftersalesId) {
this.aftersalesId = aftersalesId;
}
public BigDecimal getMoney() {
return money;
}
public void setMoney(BigDecimal money) {
this.money = money;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getSourceId() {
return sourceId;
}
public void setSourceId(String sourceId) {
this.sourceId = sourceId;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public String getPaymentCode() {
return paymentCode;
}
public void setPaymentCode(String paymentCode) {
this.paymentCode = paymentCode;
}
public String getTradeNo() {
return tradeNo;
}
public void setTradeNo(String tradeNo) {
this.tradeNo = tradeNo;
}
public Boolean getStatus() {
return status;
}
public void setStatus(Boolean status) {
this.status = status;
}
public String getMemo() {
return memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
public Long getCtime() {
return ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getUtime() {
return utime;
}
public void setUtime(Long utime) {
this.utime = utime;
}
@Override
public String toString() {
return "BillRefund{" +
", refundId=" + refundId +
", aftersalesId=" + aftersalesId +
", money=" + money +
", userId=" + userId +
", sourceId=" + sourceId +
", type=" + type +
", paymentCode=" + paymentCode +
", tradeNo=" + tradeNo +
", status=" + status +
", memo=" + memo +
", ctime=" + ctime +
", utime=" + utime +
"}";
}
}

View File

@@ -0,0 +1,171 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 退货单表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@TableName("bill_reship")
public class BillReship implements Serializable {
private static final long serialVersionUID = 1L;
@TableId("reship_id")
private String reshipId;
/**
* 订单ID 关联order.id
*/
@TableField("order_id")
private String orderId;
/**
* 售后单id
*/
@TableField("aftersales_id")
private String aftersalesId;
/**
* 用户ID 关联user.id
*/
@TableField("user_id")
private Integer userId;
/**
* 物流公司编码
*/
@TableField("logi_code")
private String logiCode;
/**
* 物流单号
*/
@TableField("logi_no")
private String logiNo;
/**
* 状态 1=审核通过待发货 2=已发退货 3=已收退货
*/
private Boolean status;
/**
* 备注
*/
private String memo;
/**
* 创建时间
*/
private Long ctime;
/**
* 更新时间
*/
private Long utime;
public String getReshipId() {
return reshipId;
}
public void setReshipId(String reshipId) {
this.reshipId = reshipId;
}
public String getOrderId() {
return orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public String getAftersalesId() {
return aftersalesId;
}
public void setAftersalesId(String aftersalesId) {
this.aftersalesId = aftersalesId;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getLogiCode() {
return logiCode;
}
public void setLogiCode(String logiCode) {
this.logiCode = logiCode;
}
public String getLogiNo() {
return logiNo;
}
public void setLogiNo(String logiNo) {
this.logiNo = logiNo;
}
public Boolean getStatus() {
return status;
}
public void setStatus(Boolean status) {
this.status = status;
}
public String getMemo() {
return memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
public Long getCtime() {
return ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getUtime() {
return utime;
}
public void setUtime(Long utime) {
this.utime = utime;
}
@Override
public String toString() {
return "BillReship{" +
", reshipId=" + reshipId +
", orderId=" + orderId +
", aftersalesId=" + aftersalesId +
", userId=" + userId +
", logiCode=" + logiCode +
", logiNo=" + logiNo +
", status=" + status +
", memo=" + memo +
", ctime=" + ctime +
", utime=" + utime +
"}";
}
}

View File

@@ -0,0 +1,200 @@
package com.zscat.mallplus.bill.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 退货单明细表
* </p>
*
* @author zscat
* @since 2019-09-16
*/
@TableName("bill_reship_items")
public class BillReshipItems implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 退款单单id
*/
@TableField("reship_id")
private String reshipId;
/**
* 订单明细ID 关联order_items.id
*/
@TableField("order_items_id")
private Integer orderItemsId;
/**
* 商品ID 关联goods.id
*/
@TableField("goods_id")
private Integer goodsId;
/**
* 货品ID 关联products.id
*/
@TableField("product_id")
private Integer productId;
/**
* 货品编码
*/
private String sn;
/**
* 商品编码
*/
private String bn;
/**
* 商品名称
*/
private String name;
/**
* 图片
*/
@TableField("image_url")
private String imageUrl;
/**
* 数量
*/
private Integer nums;
/**
* 货品明细序列号存储
*/
private String addon;
/**
* 更新时间
*/
private Long utime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getReshipId() {
return reshipId;
}
public void setReshipId(String reshipId) {
this.reshipId = reshipId;
}
public Integer getOrderItemsId() {
return orderItemsId;
}
public void setOrderItemsId(Integer orderItemsId) {
this.orderItemsId = orderItemsId;
}
public Integer getGoodsId() {
return goodsId;
}
public void setGoodsId(Integer goodsId) {
this.goodsId = goodsId;
}
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getSn() {
return sn;
}
public void setSn(String sn) {
this.sn = sn;
}
public String getBn() {
return bn;
}
public void setBn(String bn) {
this.bn = bn;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
public Integer getNums() {
return nums;
}
public void setNums(Integer nums) {
this.nums = nums;
}
public String getAddon() {
return addon;
}
public void setAddon(String addon) {
this.addon = addon;
}
public Long getUtime() {
return utime;
}
public void setUtime(Long utime) {
this.utime = utime;
}
@Override
public String toString() {
return "BillReshipItems{" +
", id=" + id +
", reshipId=" + reshipId +
", orderItemsId=" + orderItemsId +
", goodsId=" + goodsId +
", productId=" + productId +
", sn=" + sn +
", bn=" + bn +
", name=" + name +
", imageUrl=" + imageUrl +
", nums=" + nums +
", addon=" + addon +
", utime=" + utime +
"}";
}
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BakBrand;
/**
* <p>
* 品牌商表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-18
*/
public interface BakBrandMapper extends BaseMapper<BakBrand> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BakCategory;
/**
* <p>
* 类目表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-17
*/
public interface BakCategoryMapper extends BaseMapper<BakCategory> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BakGoods;
/**
* <p>
* 商品基本信息表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-17
*/
public interface BakGoodsMapper extends BaseMapper<BakGoods> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillAftersalesItems;
/**
* <p>
* 售后单明细表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillAftersalesItemsMapper extends BaseMapper<BillAftersalesItems> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillAftersales;
/**
* <p>
* 退货单表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillAftersalesMapper extends BaseMapper<BillAftersales> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillDeliveryItems;
/**
* <p>
* 发货单详情表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillDeliveryItemsMapper extends BaseMapper<BillDeliveryItems> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillDelivery;
/**
* <p>
* 发货单表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillDeliveryMapper extends BaseMapper<BillDelivery> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillLading;
/**
* <p>
* 提货单表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillLadingMapper extends BaseMapper<BillLading> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillPayments;
/**
* <p>
* 支付单表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillPaymentsMapper extends BaseMapper<BillPayments> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillPaymentsRel;
/**
* <p>
* 支付单明细表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillPaymentsRelMapper extends BaseMapper<BillPaymentsRel> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillRefund;
/**
* <p>
* 退款单表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillRefundMapper extends BaseMapper<BillRefund> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillReshipItems;
/**
* <p>
* 退货单明细表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillReshipItemsMapper extends BaseMapper<BillReshipItems> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.bill.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.bill.entity.BillReship;
/**
* <p>
* 退货单表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-09-16
*/
public interface BillReshipMapper extends BaseMapper<BillReship> {
}

View File

@@ -0,0 +1,35 @@
package com.zscat.mallplus.build;
import com.zscat.mallplus.build.entity.BuildAdv;
import com.zscat.mallplus.build.entity.BuildNotice;
import com.zscat.mallplus.build.entity.BuildingCommunity;
import com.zscat.mallplus.build.entity.BuildingFloor;
import com.zscat.mallplus.oms.vo.ActivityVo;
import com.zscat.mallplus.pms.entity.PmsSmallNaviconCategory;
import com.zscat.mallplus.sys.entity.SysStore;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
/**
* 首页内容返回信息封装
* https://github.com/shenzhuan/mallplus on 2019/1/28.
*/
@Getter
@Setter
public class BuildHomeResult {
List<PmsSmallNaviconCategory> navList;
List<ActivityVo> activityList;
//轮播广告
List<BuildAdv> advertiseList;
BuildingCommunity community;
List<BuildingFloor> floorList;
List<BuildingCommunity> communityList;
//推荐品牌
private List<SysStore> storeList;
//推荐专题
private List<BuildNotice> subjectList;
}

View File

@@ -0,0 +1,12 @@
package com.zscat.mallplus.build;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
public class CommunityTree {
private String code;
private String name;
private String parentCode;
}

View File

@@ -0,0 +1,73 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* 首页轮播广告表
* </p>
*
* @author zscat
* @since 2019-12-02
*/
@Setter
@Getter
@TableName("build_adv")
public class BuildAdv implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
private String name;
/**
* 轮播位置0->PC首页轮播1->app首页轮播
*/
private Integer type;
private String pic;
@TableField("start_time")
private Date startTime;
@TableField("end_time")
private Date endTime;
/**
* 上下线状态0->下线1->上线
*/
private Integer status;
/**
* 链接地址
*/
private String url;
/**
* 备注
*/
private String note;
/**
* 排序
*/
private Integer sort;
/**
* 所属店铺
*/
@TableField("community_id")
private Integer communityId;
}

View File

@@ -0,0 +1,50 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-12-02
*/
@Setter
@Getter
@TableName("build_apply_room")
public class BuildApplyRoom implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 申请人
*/
@TableField("apply_id")
private Long applyId;
/**
* 申请房间
*/
@TableField("room_id")
private Long roomId;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
}

View File

@@ -0,0 +1,84 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.pms.entity.PmsProduct;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-12-02
*/
@Setter
@Getter
@TableName("build_group")
public class BuildGroup implements Serializable {
private static final long serialVersionUID = 1L;
@TableField(exist = false)
PmsProduct goods;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
@TableField("goods_id")
private Long goodsId;
/**
* 商品
*/
@TableField("goods_name")
private String goodsName;
/**
* 商品价格
*/
@TableField("origin_price")
private BigDecimal originPrice;
/**
* 拼团价格
*/
@TableField("group_price")
private BigDecimal groupPrice;
/**
* 开始时间
*/
@TableField("start_time")
private Date startTime;
/**
* 结束时间
*/
@TableField("end_time")
private Date endTime;
/**
* 成团人数
*/
private Integer peoples;
/**
* 状态
*/
private Integer status;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 拼团总人数
*/
@TableField("max_people")
private Integer maxPeople;
/**
* 所属店铺
*/
@TableField("community_id")
private Long communityId;
}

View File

@@ -0,0 +1,63 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-12-02
*/
@Setter
@Getter
@TableName("build_group_member")
public class BuildGroupMember implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
@TableField("group_id")
private Long groupId;
@TableField("member_id")
private String memberId;
@TableField("create_time")
private Date createTime;
/**
* 发起人
*/
@TableField("apply_id")
private Long applyId;
private String name;
@TableField("goods_id")
private Long goodsId;
/**
* 状态
*/
private Integer status;
@TableField("order_id")
private String orderId;
@TableField("exipre_time")
private Long exipreTime;
}

View File

@@ -0,0 +1,66 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* 公告表
* </p>
*
* @author zscat
* @since 2019-12-02
*/
@Setter
@Getter
@TableName("build_notice")
public class BuildNotice implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 公告标题
*/
private String title;
/**
* 公告内容
*/
private String content;
/**
* 公告类型
*/
private Boolean type;
@TableField("create_time")
private Date createTime;
/**
* 排序 从小到大
*/
private Integer sort;
/**
* 软删除位 有时间代表已删除
*/
private Long isdel;
/**
* 所属店铺
*/
@TableField("community_id")
private Integer communityId;
}

View File

@@ -0,0 +1,86 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-12-02
*/
@Setter
@Getter
@TableName("build_repair")
public class BuildRepair implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 编号
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 房屋编号
*/
@TableField("room_id")
private Long roomId;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 解决时间
*/
@TableField("solve_time")
private Date solveTime;
/**
* 报修原因
*/
private String resons;
/**
* 报修者电话
*/
private String phone;
/**
* 解决记录
*/
@TableField("solve_resons")
private String solveResons;
/**
* 房屋具体位置
*/
@TableField("room_desc")
private String roomDesc;
/**
* 价格
*/
private BigDecimal price;
/**
* 1 申请 2 处理中 3 已处理
*/
private Integer status;
}

View File

@@ -0,0 +1,60 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-12-02
*/
@Setter
@Getter
@TableName("build_type_price")
public class BuildTypePrice implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 编号
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 名称
*/
private String name;
private String remark;
/**
* 单价
*/
private BigDecimal price;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 社区编号
*/
@TableField("community_id")
private Long communityId;
}

View File

@@ -0,0 +1,69 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-12-02
*/
@Setter
@Getter
@TableName("build_wuye_company")
public class BuildWuyeCompany implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 编号
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 名称
*/
private String name;
/**
* 1申请 2 审核失败 3 审核成功
*/
private Integer status;
/**
* 照片
*/
private String pic;
/**
* 位置
*/
private String address;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 审核内容
*/
@TableField("status_desc")
private String statusDesc;
private String phone;
}

View File

@@ -0,0 +1,81 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-12-02
*/
@Setter
@Getter
@TableName("build_wuye_price")
public class BuildWuyePrice implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 编号
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 房屋
*/
@TableField("room_id")
private Long roomId;
@TableField("price_id")
private Long priceId;
/**
* 收费名称
*/
@TableField("price_name")
private String priceName;
/**
* 单价
*/
private BigDecimal price;
/**
* 用量
*/
private BigDecimal amount;
/**
* 总额
*/
private BigDecimal moneys;
/**
* 创建时间
*/
@TableField("create_date")
private Date createDate;
/**
* 社区编号
*/
@TableField("community_id")
private Long communityId;
@TableField("room_desc")
private String roomDesc;
}

View File

@@ -0,0 +1,208 @@
package com.zscat.mallplus.build.entity;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
/**
* <p>
* 小区
* </p>
*
* @author zscat
* @since 2019-11-27
*/
@Setter
@Getter
@TableName("building_community")
public class BuildingCommunity implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 小区ID
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
private String pic;
@Excel(name = "物业编号", orderNum = "1", width = 30)
@TableField("company_id")
private Long companyId;
/**
* 1申请 2审核失败 3 审核成功
*/
@Excel(name = "状态", orderNum = "8", width = 30)
private Integer status;
@Excel(name = "电话", orderNum = "7", width = 30)
private String phone;
/**
* 省份
*/
private String province;
/**
* 城市
*/
private String city;
/**
* 小区名称
*/
private String name;
/**
* 价格
*/
private String price;
/**
* 所属区县
*/
@TableField("on_region")
private String onRegion;
/**
* 所属商圈
*/
@TableField("on_shangquan")
private String onShangquan;
/**
* 小区地址
*/
private String details;
/**
* 建筑类型
*/
private String jianzhuleixing;
/**
* 物业公司
*/
private String wuyecompany;
/**
* 建筑年代
*/
private String jianzhuniandai;
/**
* 物业费
*/
private String wuyefei;
/**
* 开发商
*/
private String kaifashang;
/**
* 容积率
*/
private String rongjilv;
/**
* 绿化率
*/
private String lvhualv;
/**
* 占地面积
*/
private String zhuandimianj;
/**
* 建筑面积
*/
private String jianzhumianji;
/**
* 车位信息
*/
private String cheweiinfo;
/**
* 综合商超
*/
private String shangchao;
/**
* 医院
*/
private String hosptory;
/**
* 邮局
*/
private String postbank;
/**
* 银行
*/
private String bank;
/**
* 其他
*/
private String others;
/**
* 幼儿园
*/
private String xiaoxue;
/**
* 中小学
*/
private String highschool;
/**
* 大学
*/
private String daxue;
/**
* 公交
*/
private String gongjiao;
/**
* 地铁
*/
private String subway;
/**
* 纬度
*/
private String latitude;
/**
* 经度
*/
private String longitude;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
private String memo;
@TableField(exist = false)
private double distance;
}

View File

@@ -0,0 +1,88 @@
package com.zscat.mallplus.build.entity;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-11-27
*/
@Setter
@Getter
@TableName("building_floor")
public class BuildingFloor implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 楼ID
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
@Excel(name = "社区编号", orderNum = "1", width = 30)
@TableField("community_id")
private Long communityId;
/**
* 楼编号
*/
@Excel(name = "楼编号", orderNum = "2", width = 30)
@TableField("floor_num")
private String floorNum;
/**
* 小区楼名称
*/
@Excel(name = "名称", orderNum = "3", width = 30)
private String name;
@Excel(name = "楼层", orderNum = "4", width = 30)
@TableField("layer_count")
private Integer layerCount;
/**
* 1 有电梯
*/
@Excel(name = "电梯", orderNum = "5", width = 30)
private Integer lift;
/**
* 备注
*/
@Excel(name = "备注", orderNum = "6", width = 30)
private String remark;
/**
* 创建时间
*/
@Excel(name = "创建时间", exportFormat = "yyyy-MM-dd", orderNum = "7", width = 30)
@TableField("create_time")
private Date createTime;
private String pic;
@TableField(exist = false)
private List<BuildingRoom> children;
@TableField(exist = false)
private String label;
public String getLabel() {
return name;
}
public void setLabel(String label) {
this.name = name;
}
}

View File

@@ -0,0 +1,102 @@
package com.zscat.mallplus.build.entity;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* 业主成员表
* </p>
*
* @author zscat
* @since 2019-11-27
*/
@Setter
@Getter
@TableName("building_owner")
public class BuildingOwner implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 业主成员ID
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 业主ID
*/
@Excel(name = "业主ID", orderNum = "1", width = 30)
@TableField("owner_id")
private Long ownerId;
@Excel(name = "房屋编号", orderNum = "2", width = 30)
@TableField("room_id")
private Long roomId;
/**
* 业主名称
*/
@Excel(name = "名称", orderNum = "3", width = 30)
private String name;
/**
* 性别
*/
@Excel(name = "性别", orderNum = "4", width = 30)
private String sex;
/**
* 年龄
*/
@Excel(name = "年龄", orderNum = "5", width = 30)
private Integer age;
/**
* 联系人手机号
*/
@Excel(name = "联系人手机号", orderNum = "6", width = 30)
private String phone;
/**
* 备注
*/
@Excel(name = "备注", orderNum = "7", width = 30)
private String remark;
/**
* 创建时间
*/
@Excel(name = "创建时间", exportFormat = "yyyy-MM-dd", orderNum = "8", width = 30)
@TableField("create_time")
private Date createTime;
/**
* 数据状态详细参考c_status表0, 在用 1失效
*/
private String status;
/**
* 1 业主本人 2 家庭成员 3 租户
*/
@Excel(name = "名称", orderNum = "3", width = 30)
private Integer type;
@TableField("status_desc")
private String statusDesc;
private String roomDesc;
private String username;
private String password;
private String openid;
}

View File

@@ -0,0 +1,138 @@
package com.zscat.mallplus.build.entity;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* <p>
* 小区
* </p>
*
* @author zscat
* @since 2019-11-27
*/
@Setter
@Getter
@TableName("building_room")
public class BuildingRoom implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 房屋ID
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 房屋编号
*/
@Excel(name = "房屋编号", orderNum = "1", width = 30)
@TableField("room_num")
private String roomNum;
@TableField("room_desc")
private String roomDesc;
@Excel(name = "小区编号", orderNum = "2", width = 30)
@TableField("community_id")
private Long communityId;
@Excel(name = "楼编号", orderNum = "3", width = 30)
@TableField("floor_id")
private Long floorId;
/**
* 单元ID
*/
@Excel(name = "单元编号", orderNum = "4", width = 30)
@TableField("unit_id")
private String unitId;
/**
* 层数
*/
@Excel(name = "层数", orderNum = "5", width = 30)
private Integer layer;
/**
* 室
*/
@Excel(name = "", orderNum = "6", width = 30)
private String section;
/**
* 户型
*/
@Excel(name = "户型", orderNum = "7", width = 30)
private String apartment;
/**
* 建筑面积
*/
@Excel(name = "建筑面积", orderNum = "8", width = 30)
@TableField("built_up_area")
private BigDecimal builtUpArea;
/**
* 每平米单价
*/
@Excel(name = "每平米单价", orderNum = "9", width = 30)
@TableField("unit_price")
private BigDecimal unitPrice;
/**
* 备注
*/
@Excel(name = "备注", orderNum = "10", width = 30)
private String remark;
/**
* 创建时间
*/
@Excel(name = "创建时间", exportFormat = "yyyy-MM-dd", orderNum = "11", width = 30)
@TableField("create_time")
private Date createTime;
/**
* 数据状态详细参考c_status表S 保存0, 在用 1失效
*/
@TableField("status_cd")
private String statusCd;
private String pic;
private String pics;
/**
* 房屋状态如房屋出售等请查看state 表
*/
private String state;
@TableField(exist = false)
private Long pid;
@TableField(exist = false)
private String label;
public String getLabel() {
return roomNum;
}
public void setLabel(String label) {
this.roomNum = roomNum;
}
public Long getPid() {
return floorId;
}
public void setPid(Long pid) {
this.floorId = floorId;
}
}

View File

@@ -0,0 +1,63 @@
package com.zscat.mallplus.build.entity;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-11-27
*/
@Setter
@Getter
@TableName("building_unit")
public class BuildingUnit implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 单元ID
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 单元编号
*/
@Excel(name = " 单元编号", orderNum = "1", width = 30)
@TableField("unit_num")
private String unitNum;
/**
* 楼ID
*/
@Excel(name = " 楼编号", orderNum = "2", width = 30)
@TableField("floor_id")
private String floorId;
/**
* 备注
*/
@Excel(name = "备注", orderNum = "3", width = 30)
private String remark;
/**
* 创建时间
*/
@Excel(name = "创建时间", exportFormat = "yyyy-MM-dd", orderNum = "4", width = 30)
@TableField("create_time")
private Date createTime;
}

View File

@@ -0,0 +1,28 @@
package com.zscat.mallplus.build.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
@TableName("building_user_community")
public class UserCommunityRelate {
@TableId(value = "id", type = IdType.AUTO)
private Long id;
@TableField("user_id")
private Long userId;
@TableField("community_id")
private Long communityId;
@TableField(exist = false)
private String communityIds;
@TableField(exist = false)
private String name;
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildAdv;
/**
* <p>
* 首页轮播广告表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-12-02
*/
public interface BuildAdvMapper extends BaseMapper<BuildAdv> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildApplyRoom;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-12-02
*/
public interface BuildApplyRoomMapper extends BaseMapper<BuildApplyRoom> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildGroup;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-12-02
*/
public interface BuildGroupMapper extends BaseMapper<BuildGroup> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildGroupMember;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-12-02
*/
public interface BuildGroupMemberMapper extends BaseMapper<BuildGroupMember> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildNotice;
/**
* <p>
* 公告表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-12-02
*/
public interface BuildNoticeMapper extends BaseMapper<BuildNotice> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildRepair;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-12-02
*/
public interface BuildRepairMapper extends BaseMapper<BuildRepair> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildTypePrice;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-12-02
*/
public interface BuildTypePriceMapper extends BaseMapper<BuildTypePrice> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildWuyeCompany;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-12-02
*/
public interface BuildWuyeCompanyMapper extends BaseMapper<BuildWuyeCompany> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildWuyePrice;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-12-02
*/
public interface BuildWuyePriceMapper extends BaseMapper<BuildWuyePrice> {
}

View File

@@ -0,0 +1,28 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildingCommunity;
import com.zscat.mallplus.sys.entity.SysShop;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* <p>
* 小区 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-11-27
*/
public interface BuildingCommunityMapper extends BaseMapper<BuildingCommunity> {
List<BuildingCommunity> selectNearCommunity(@Param("distance") Integer distance,
@Param("latitude") double latitude,
@Param("longitude") double longitude,
@Param("pageSize") Integer pageSize);
List<BuildingCommunity> selectNearCommunity1(@Param("distance") Integer distance,
@Param("latitude") double latitude,
@Param("longitude") double longitude,
@Param("pageSize") Integer pageSize);
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildingFloor;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-11-27
*/
public interface BuildingFloorMapper extends BaseMapper<BuildingFloor> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildingOwner;
/**
* <p>
* 业主成员表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-11-27
*/
public interface BuildingOwnerMapper extends BaseMapper<BuildingOwner> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildingRoom;
/**
* <p>
* 小区 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-11-27
*/
public interface BuildingRoomMapper extends BaseMapper<BuildingRoom> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.BuildingUnit;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-11-27
*/
public interface BuildingUnitMapper extends BaseMapper<BuildingUnit> {
}

View File

@@ -0,0 +1,7 @@
package com.zscat.mallplus.build.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.build.entity.UserCommunityRelate;
public interface UserCommunityRelateMapper extends BaseMapper<UserCommunityRelate> {
}

View File

@@ -0,0 +1,53 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-06-15
*/
@Data
@TableName("cms_favorite")
public class CmsFavorite extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
@TableField("add_time")
private Date addTime;
/**
* 1 商品 2 文章 3 店铺 4 及赠品
*/
private Integer type;
@TableField("obj_id")
private Long objId;
@TableField("member_id")
private Long memberId;
private String name;
private String meno1;
private String meno2;
private String meno3;
}

View File

@@ -0,0 +1,145 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* 帮助表
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@TableName("cms_help")
public class CmsHelp extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 类别
*/
@TableField("category_id")
private Long categoryId;
/**
* 图片
*/
private String icon;
/**
* 标题
*/
private String title;
/**
* 状态
*/
@TableField("show_status")
private Integer showStatus;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 点击量
*/
@TableField("read_count")
private Integer readCount;
/**
* 内容
*/
private String content;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getCategoryId() {
return categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Integer getShowStatus() {
return showStatus;
}
public void setShowStatus(Integer showStatus) {
this.showStatus = showStatus;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Integer getReadCount() {
return readCount;
}
public void setReadCount(Integer readCount) {
this.readCount = readCount;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
@Override
public String toString() {
return "CmsHelp{" +
", id=" + id +
", categoryId=" + categoryId +
", icon=" + icon +
", title=" + title +
", showStatus=" + showStatus +
", createTime=" + createTime +
", readCount=" + readCount +
", content=" + content +
"}";
}
}

View File

@@ -0,0 +1,114 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import java.io.Serializable;
/**
* <p>
* 帮助分类表
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@TableName("cms_help_category")
public class CmsHelpCategory extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 标题
*/
private String name;
/**
* 分类图标
*/
private String icon;
/**
* 专题数量
*/
@TableField("help_count")
private Integer helpCount;
/**
* 状态
*/
@TableField("show_status")
private Integer showStatus;
/**
* 排序
*/
private Integer sort;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public Integer getHelpCount() {
return helpCount;
}
public void setHelpCount(Integer helpCount) {
this.helpCount = helpCount;
}
public Integer getShowStatus() {
return showStatus;
}
public void setShowStatus(Integer showStatus) {
this.showStatus = showStatus;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
@Override
public String toString() {
return "CmsHelpCategory{" +
", id=" + id +
", name=" + name +
", icon=" + icon +
", helpCount=" + helpCount +
", showStatus=" + showStatus +
", sort=" + sort +
"}";
}
}

View File

@@ -0,0 +1,144 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* 用户举报表
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@TableName("cms_member_report")
public class CmsMemberReport extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
/**
* 举报类型0->商品评价1->话题内容2->用户评论
*/
@TableField("report_type")
private Integer reportType;
/**
* 举报人
*/
@TableField("report_member_name")
private String reportMemberName;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 举报对象
*/
@TableField("report_object")
private String reportObject;
/**
* 举报状态0->未处理1->已处理
*/
@TableField("report_status")
private Integer reportStatus;
/**
* 处理结果0->无效1->有效2->恶意
*/
@TableField("handle_status")
private Integer handleStatus;
/**
* 内容
*/
private String note;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Integer getReportType() {
return reportType;
}
public void setReportType(Integer reportType) {
this.reportType = reportType;
}
public String getReportMemberName() {
return reportMemberName;
}
public void setReportMemberName(String reportMemberName) {
this.reportMemberName = reportMemberName;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getReportObject() {
return reportObject;
}
public void setReportObject(String reportObject) {
this.reportObject = reportObject;
}
public Integer getReportStatus() {
return reportStatus;
}
public void setReportStatus(Integer reportStatus) {
this.reportStatus = reportStatus;
}
public Integer getHandleStatus() {
return handleStatus;
}
public void setHandleStatus(Integer handleStatus) {
this.handleStatus = handleStatus;
}
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
@Override
public String toString() {
return "CmsMemberReport{" +
", id=" + id +
", reportType=" + reportType +
", reportMemberName=" + reportMemberName +
", createTime=" + createTime +
", reportObject=" + reportObject +
", reportStatus=" + reportStatus +
", handleStatus=" + handleStatus +
", note=" + note +
"}";
}
}

View File

@@ -0,0 +1,114 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import java.io.Serializable;
/**
* <p>
* 优选专区
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@TableName("cms_prefrence_area")
public class CmsPrefrenceArea extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 标题
*/
private String name;
/**
* 子标题
*/
@TableField("sub_title")
private String subTitle;
/**
* 展示图片
*/
private byte[] pic;
/**
* 排序
*/
private Integer sort;
/**
* 状态
*/
@TableField("show_status")
private Integer showStatus;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSubTitle() {
return subTitle;
}
public void setSubTitle(String subTitle) {
this.subTitle = subTitle;
}
public byte[] getPic() {
return pic;
}
public void setPic(byte[] pic) {
this.pic = pic;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public Integer getShowStatus() {
return showStatus;
}
public void setShowStatus(Integer showStatus) {
this.showStatus = showStatus;
}
@Override
public String toString() {
return "CmsPrefrenceArea{" +
", id=" + id +
", name=" + name +
", subTitle=" + subTitle +
", pic=" + pic +
", sort=" + sort +
", showStatus=" + showStatus +
"}";
}
}

View File

@@ -0,0 +1,147 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.pms.entity.PmsProduct;
import com.zscat.mallplus.utils.BaseEntity;
import com.zscat.mallplus.utils.ValidatorUtils;
import lombok.Data;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
/**
* <p>
* 专题表
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@Data
@TableName("cms_subject")
public class CmsSubject extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableField(exist = false)
List<PmsProduct> products;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 分类
*/
@TableField("category_id")
private Long categoryId;
/**
* 标题
*/
private String title;
/**
* 专题主图
*/
private String pic;
/**
* 关联产品数量
*/
@TableField("product_count")
private Integer productCount;
/**
* 推荐
*/
@TableField("recommend_status")
private Integer recommendStatus;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 收藏量
*/
@TableField("collect_count")
private Integer collectCount;
/**
* 点击量
*/
@TableField("read_count")
private Integer readCount;
/**
* 评论量
*/
@TableField("comment_count")
private Integer commentCount;
/**
* 画册图片用逗号分割
*/
@TableField("album_pics")
private String albumPics;
/**
* 描述
*/
private String description;
/**
* 显示状态0->不显示1->显示
*/
@TableField("show_status")
private Integer showStatus;
/**
* 内容
*/
private String content;
/**
* 点赞
*/
@TableField("forward_count")
private Integer forwardCount;
/**
* 专题分类名称
*/
@TableField("category_name")
private String categoryName;
@TableField("area_id")
private Long areaId;
@TableField("school_id")
private Long schoolId;
@TableField("member_id")
private Long memberId;
@TableField("area_name")
private String areaName;
@TableField("school_name")
private String schoolName;
/**
* 打赏
*/
private Integer reward;
/**
* 1 學校 2 區域
*/
@TableField(exist = false)
private int qsType;
@TableField("member_name")
private String memberName;
@TableField("video_src")
private String videoSrc;
private Integer type;
@TableField(exist = false)
private List pics;
@TableField(exist = false)
private String createTimeVar;
public List getPics() {
if (ValidatorUtils.notEmpty(albumPics)) {
this.pics = Arrays.asList(albumPics.split(","));
}
return pics;
}
public void setPics(List pics) {
if (ValidatorUtils.notEmpty(albumPics)) {
this.pics = Arrays.asList(albumPics.split(","));
}
}
}

View File

@@ -0,0 +1,114 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import java.io.Serializable;
/**
* <p>
* 专题分类表
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@TableName("cms_subject_category")
public class CmsSubjectCategory extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 标题
*/
private String name;
/**
* 分类图标
*/
private String icon;
/**
* 专题数量
*/
@TableField("subject_count")
private Integer subjectCount;
/**
* 状态
*/
@TableField("show_status")
private Integer showStatus;
/**
* 排序
*/
private Integer sort;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public Integer getSubjectCount() {
return subjectCount;
}
public void setSubjectCount(Integer subjectCount) {
this.subjectCount = subjectCount;
}
public Integer getShowStatus() {
return showStatus;
}
public void setShowStatus(Integer showStatus) {
this.showStatus = showStatus;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
@Override
public String toString() {
return "CmsSubjectCategory{" +
", id=" + id +
", name=" + name +
", icon=" + icon +
", subjectCount=" + subjectCount +
", showStatus=" + showStatus +
", sort=" + sort +
"}";
}
}

View File

@@ -0,0 +1,132 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* 专题评论表
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@TableName("cms_subject_comment")
public class CmsSubjectComment extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 所属专题
*/
@TableField("subject_id")
private Long subjectId;
/**
* 用户名
*/
@TableField("member_nick_name")
private String memberNickName;
/**
* 用户图标
*/
@TableField("member_icon")
private String memberIcon;
/**
* 内容
*/
private String content;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 状态
*/
@TableField("show_status")
private Integer showStatus;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getSubjectId() {
return subjectId;
}
public void setSubjectId(Long subjectId) {
this.subjectId = subjectId;
}
public String getMemberNickName() {
return memberNickName;
}
public void setMemberNickName(String memberNickName) {
this.memberNickName = memberNickName;
}
public String getMemberIcon() {
return memberIcon;
}
public void setMemberIcon(String memberIcon) {
this.memberIcon = memberIcon;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Integer getShowStatus() {
return showStatus;
}
public void setShowStatus(Integer showStatus) {
this.showStatus = showStatus;
}
@Override
public String toString() {
return "CmsSubjectComment{" +
", id=" + id +
", subjectId=" + subjectId +
", memberNickName=" + memberNickName +
", memberIcon=" + memberIcon +
", content=" + content +
", createTime=" + createTime +
", showStatus=" + showStatus +
"}";
}
}

View File

@@ -0,0 +1,125 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* 话题表
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@Data
@TableName("cms_topic")
public class CmsTopic extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 所属分类
*/
@TableField("category_id")
private Long categoryId;
/**
* 标题
*/
private String name;
private String pic;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 开始时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField("start_time")
private Date startTime;
/**
* 结束时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField("end_time")
private Date endTime;
/**
* 参与人数
*/
@TableField("attend_count")
private Integer attendCount;
/**
* 关注人数
*/
@TableField("attention_count")
private Integer attentionCount;
/**
* 点击人数
*/
@TableField("read_count")
private Integer readCount;
/**
* 奖品名称
*/
@TableField("award_name")
private String awardName;
/**
* 参与方式
*/
@TableField("attend_type")
private String attendType;
/**
* 话题内容
*/
private String content;
private String address;
private String atids;
@TableField("area_id")
private Long areaId;
@TableField("school_id")
private Long schoolId;
@TableField("member_id")
private Long memberId;
@TableField("area_name")
private String areaName;
@TableField("school_name")
private String schoolName;
/**
* 1 學校 2 區域
*/
@TableField(exist = false)
private int qsType;
@TableField("member_name")
private String memberName;
}

View File

@@ -0,0 +1,114 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import java.io.Serializable;
/**
* <p>
* 话题分类表
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@TableName("cms_topic_category")
public class CmsTopicCategory extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 标题
*/
private String name;
/**
* 分类图标
*/
private String icon;
/**
* 专题数量
*/
@TableField("subject_count")
private Integer subjectCount;
/**
* 状态
*/
@TableField("show_status")
private Integer showStatus;
/**
* 排序
*/
private Integer sort;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public Integer getSubjectCount() {
return subjectCount;
}
public void setSubjectCount(Integer subjectCount) {
this.subjectCount = subjectCount;
}
public Integer getShowStatus() {
return showStatus;
}
public void setShowStatus(Integer showStatus) {
this.showStatus = showStatus;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
@Override
public String toString() {
return "CmsTopicCategory{" +
", id=" + id +
", name=" + name +
", icon=" + icon +
", subjectCount=" + subjectCount +
", showStatus=" + showStatus +
", sort=" + sort +
"}";
}
}

View File

@@ -0,0 +1,66 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* 专题评论表
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@Data
@TableName("cms_topic_comment")
public class CmsTopicComment extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 所属专题
*/
@TableField("topic_id")
private Long topicId;
/**
* 用户名
*/
@TableField("member_nick_name")
private String memberNickName;
/**
* 用户图标
*/
@TableField("member_icon")
private String memberIcon;
/**
* 内容
*/
private String content;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
/**
* 状态
*/
@TableField("show_status")
private Integer showStatus;
}

View File

@@ -0,0 +1,119 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* <p>
* </p>
*
* @author zscat
* @since 2019-04-17
*/
@TableName("cms_topic_member")
public class CmsTopicMember extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 编号
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 会员编号
*/
@TableField("member_id")
private Long memberId;
/**
* 会员
*/
private String username;
/**
* 状态
*/
private String status;
/**
* 活动编号
*/
@TableField("topic_id")
private Long topicId;
/**
* 创建时间
*/
@TableField("create_time")
private Date createTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getMemberId() {
return memberId;
}
public void setMemberId(Long memberId) {
this.memberId = memberId;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Long getTopicId() {
return topicId;
}
public void setTopicId(Long topicId) {
this.topicId = topicId;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
@Override
public String toString() {
return "CmsTopicMember{" +
", id=" + id +
", memberId=" + memberId +
", username=" + username +
", status=" + status +
", topicId=" + topicId +
", createTime=" + createTime +
"}";
}
}

View File

@@ -0,0 +1,110 @@
package com.zscat.mallplus.cms.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* @author mallplus
* @date 2020-01-06
* 招聘管理
*/
@Data
@TableName("cms_zhao_pin")
public class CmsZhaoPin implements Serializable {
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 姓名
**/
@TableField("name")
private String name;
/**
* 年龄
**/
@TableField("age")
private Integer age;
private Integer status;
/**
* 性别
**/
@TableField("sex")
private String sex;
/**
* 地址
**/
@TableField("address")
private String address;
/**
* 学历
**/
@TableField("xueli")
private String xueli;
/**
* 备注
**/
@TableField("remark")
private String remark;
/**
* 身份证
**/
@TableField("idcard")
private String idcard;
/**
* 身份证照片
**/
@TableField("idcardpic")
private String idcardpic;
/**
* 期望薪水
**/
@TableField("xinshui")
private String xinshui;
/**
* 爱好
**/
@TableField("hobby")
private String hobby;
/**
* 区域编号
**/
@TableField("area_id")
private Long areaId;
@TableField("create_time")
private Date createTime;
private String phone;
private String zhiwei;
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsFavorite;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-06-15
*/
public interface CmsFavoriteMapper extends BaseMapper<CmsFavorite> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsHelpCategory;
/**
* <p>
* 帮助分类表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsHelpCategoryMapper extends BaseMapper<CmsHelpCategory> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsHelp;
/**
* <p>
* 帮助表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsHelpMapper extends BaseMapper<CmsHelp> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsMemberReport;
/**
* <p>
* 用户举报表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsMemberReportMapper extends BaseMapper<CmsMemberReport> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsPrefrenceArea;
/**
* <p>
* 优选专区 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsPrefrenceAreaMapper extends BaseMapper<CmsPrefrenceArea> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsSubjectCategory;
/**
* <p>
* 专题分类表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsSubjectCategoryMapper extends BaseMapper<CmsSubjectCategory> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsSubjectComment;
/**
* <p>
* 专题评论表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsSubjectCommentMapper extends BaseMapper<CmsSubjectComment> {
}

View File

@@ -0,0 +1,32 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsSubject;
import com.zscat.mallplus.vo.timeline.Timeline;
import com.zscat.mallplus.vo.timeline.TimelinePost;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
* <p>
* 专题表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsSubjectMapper extends BaseMapper<CmsSubject> {
int countByToday(Long memberId);
List<TimelinePost> listTimelinePost(@Param("year") Integer year, @Param("month") Integer month);
List<Timeline> listTimeline();
List<Map> articleArchiveList();
List<CmsSubject> loadArticleByArchive(@Param("createTime") String createTime);
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsTopicCategory;
/**
* <p>
* 话题分类表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsTopicCategoryMapper extends BaseMapper<CmsTopicCategory> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsTopicComment;
/**
* <p>
* 专题评论表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsTopicCommentMapper extends BaseMapper<CmsTopicComment> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsTopic;
/**
* <p>
* 话题表 Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsTopicMapper extends BaseMapper<CmsTopic> {
}

View File

@@ -0,0 +1,16 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsTopicMember;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zscat
* @since 2019-04-17
*/
public interface CmsTopicMemberMapper extends BaseMapper<CmsTopicMember> {
}

View File

@@ -0,0 +1,12 @@
package com.zscat.mallplus.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zscat.mallplus.cms.entity.CmsZhaoPin;
/**
* @author mallplus
* @date 2020-01-06
*/
public interface CmsZhaoPinMapper extends BaseMapper<CmsZhaoPin> {
}

View File

@@ -0,0 +1,428 @@
package com.zscat.mallplus.enums;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
/**
* 交易API Constant
*
* @author dp
*/
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class AllEnum {
/**
* 改变类型1->增加2->减少
*
* @author dp
*/
public enum ChangeType implements BaseEnum<Integer> {
/**
* 限价交易
*/
Add(1, "add"),
/**
* 市价交易
*/
Min(2, "min"),
;
private int code;
private String value;
ChangeType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 积分来源
*
* @author dp
*/
public enum ChangeSource implements BaseEnum<Integer> {
/**
* 下单
*/
order(1, "order"),
/**
* 登录
*/
login(2, "login"),
/**
* 注册
*/
register(3, "register"),
/**
* 签到送积分
*/
sign(5, "sign"),
/**
* 后台添加
*/
admin(4, "admin"),
;
private int code;
private String value;
ChangeSource(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 评论类型1->商品2->订单
*
* @author dp
*/
public enum ConsultType implements BaseEnum<Integer> {
/**
*
*/
GOODS(1, "goods"),
/**
*
*/
ORDER(2, "order"),
;
private int code;
private String value;
ConsultType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 订单来源:
*
* @author dp
*/
public enum OrderSource implements BaseEnum<Integer> {
weixinApplet(1, "weixinApplet"),
h5Source(2, "h5Source"),
pcSource(3, "pcSource"),
android(4, "android"),
ios(5, "ios"),
;
private int code;
private String value;
OrderSource(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 订单类型:
*
* @author dp
*/
public enum OrderType implements BaseEnum<Integer> {
/**
* 普通订单
*/
COMMON(1, "common"),
/**
* 拼团订单
*/
PIN_GROUP(2, "pingroup"),
/**
* 团购订单
*/
GROUP_BUY(3, "groupbuy"),
/**
* 砍价订单
*/
KNAN_JIA(4, "kanjia"),
JIFEN(5, "jifen"),
/**
* 门店自取
*/
SHOP(7, "shop"),
/**
* 秒杀订单
*/
SKILL(6, "skill"),
;
private int code;
private String value;
OrderType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 支付类型
*/
public enum OrderPayType implements BaseEnum<Integer> {
/**
* 微信小程序
*/
weixinAppletPay(1, "weixinAppletPay"),
/**
*
*/
alipay(2, "alipay"),
/**
* 余额支付
*/
balancePay(3, "balancePay"),
/**
* 积分兑换
*/
jifenPay(5, "jifenPay");
private int code;
private String value;
OrderPayType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 评论类型1->商品2->赠品
*
* @author dp
*/
public enum OrderItemType implements BaseEnum<Integer> {
/**
* 商品
*/
GOODS(1, "goods"),
/**
* 礼品
*/
GIFT(2, "gift"),
;
private int code;
private String value;
OrderItemType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 余额类型:'全部', '消费', '退款', '充值', '提现', '佣金', '平台调整'
*
* @author dp
*/
public enum BlanceType implements BaseEnum<Integer> {
ALL(0, "ALL"),
/**
*
*/
CONSUMER(1, "CONSUMER"),
/**
*
*/
REFUND(2, "REFUND"),
ADD(3, "ADD"),
DRAW(4, "DRAW"),
COMMISSION(5, "COMMISSION"),
MODIFY(6, "MODIFY"),
;
private int code;
private String value;
BlanceType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 订单退货申请0->待处理1->退货中2->已完成3->已拒绝
*
* @author mallplus
*/
public enum OmsOrderReturnApplyStatus implements BaseEnum<Integer> {
/**
*
*/
INIT(0, "INIT"),
REFUNDING(1, "REFUNDING"),
REFUNDED(2, "REFUNDED"),
/**
*
*/
REJECT(3, "REJECT"),
;
private int code;
private String value;
OmsOrderReturnApplyStatus(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 订单退货申请0换货1退钱 2退货3 退钱退货
*
* @author mallplus
*/
public enum OmsOrderReturnApplyType implements BaseEnum<Integer> {
CHANGEGOODS(0, "RETURNMONEY"),
/**
*
*/
RETURNMONEY(1, "RETURNMONEY"),
RETURNGOODS(2, "RETURNGOODS"),
/**
*
*/
RETURNGOODSMONEY(3, "RETURNGOODSMONEY"),
;
private int code;
private String value;
OmsOrderReturnApplyType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
}

View File

@@ -0,0 +1,57 @@
package com.zscat.mallplus.enums;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
/**
* 交易API Constant
*
* @author dp
*/
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class BargainEnum {
/**
* 改变类型1->增加2->减少
*
* @author dp
*/
public enum Status implements BaseEnum<Integer> {
/**
* 砍价中
*/
INIT(1, "init"),
/**
* 砍价成功
*/
SUCESS(2, "sussce"),
/**
* 支付成功
*/
PAY(3, "pay");
private int code;
private String value;
Status(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
}

View File

@@ -0,0 +1,7 @@
package com.zscat.mallplus.enums;
public interface BaseEnum<K> {
K code();
String desc();
}

View File

@@ -0,0 +1,31 @@
package com.zscat.mallplus.enums;
import com.google.common.collect.Lists;
import java.util.List;
/**
* Created by Administrator on 2019/8/9.
*/
public class ConstansValue {
public static final List<String> IGNORE_TENANT_TABLES = Lists.newArrayList("sys_admin_log", "sys_web_log", "sys_permission_category", "columns", "tables", "information_schema.columns",
"information_schema.tables", "oms_payments", "oms_order_return_reason", "sys_role", "ums_integration_consume_setting", "sys_user", "sys_store", "sys_area", "sys_school", "sys_permission", "pms_product_attribute", "pms_product_category_attribute_relation", "pms_product_attribute_value",
"pms_product_category_attribute_relation", "admin_day_statics", "ums_member_tag","sys_store_rank", "pms_small_navicon_category", "bak_category", "es_shop_goods_group_map", "sys_applet_set", "bak_goods", "pms_product_category", "bak_brand", "oms_order_setting", "ums_member", "ums_member_level", "building_user_community", "gen_config");
public static final String sampleGoodsList = "id, brand_id, product_category_id, feight_template_id, product_attribute_category_id, name, pic, product_sn,\n" +
" delete_status, publish_status, new_status, recommand_status, verify_status, sort, sale, price, promotion_price,\n" +
" original_price, stock, low_stock, store_name,sub_title,store_id,unit,\n" +
" weight, preview_status, service_ids,is_fenxiao, tags, brand_name,\n" +
" product_category_name, supply_id, create_time,tags, school_id,area_id,is_vip";
public static final String sampleGoodsList1 = "id, brand_id, product_category_id, product_attribute_category_id, name,area_id, pic ,\n" +
" sale, price,\n" +
" original_price,\n" +
" weight \n" +
" ";
public static final String sampleOrderList = "id,member_id, order_sn, create_time, member_username, total_amount, pay_amount,status, order_type,pay_type,source_type,goods_id,goods_name,delivery_sn,delivery_company";
public static final String sampleSubjectList = "id, category_id, title, pic, product_count, recommend_status, create_time, collect_count, read_count, comment_count, album_pics, description, show_status, forward_count, category_name, area_id, school_id, member_id, area_name, school_name, reward, member_name, video_src, type";
public static final String sampleCommunityList = "id, company_id, name, pic, price,wuyecompany,wuyefei,latitude,longitude,create_time ";
}

View File

@@ -0,0 +1,40 @@
package com.zscat.mallplus.enums;
/**
* @Auther: Tiger
* @Date: 2019-04-26 16:04
* @Description:
*/
public enum OrderStatus {
// 订单状态12->待付款2->待发货3->待收货4->待评价5->已完成
INIT(12),//待付款
PayNotNotice(1),//支付成功,没有回掉
TO_DELIVER(2),//待发货
DELIVERED(3), // 待收货
TO_COMMENT(4),//待评价
TRADE_SUCCESS(5), // 已完成
PINTUAN_ORDER(18), // 拼团下单成功
TO_SHARE(8), // 待分享
REFUNDING(13), // 申请退款
REFUND(14), // 已退款
// CANCELED(7),
CLOSED(15), // 已关闭 // 已取消 统一
INVALID(16),//无效订单
DELETED(17);//已删除
private int value;
private OrderStatus(int value) {
this.value = value;
}
public int getValue() {
return this.value;
}
}

View File

@@ -0,0 +1,92 @@
package com.zscat.mallplus.enums;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
/**
* 交易API Constant
*
* @author dp
*/
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class StatusEnum {
/**
* 审核类型:
*
* @author mallplus
*/
public enum AuditType implements BaseEnum<Integer> {
/**
* 初始状态
*/
INIT(1, "init"),
/**
* 审核成功
*/
FAIL(2, "fail"),
/**
* 审核失败
*/
SUCESS(3, "sucess"),
;
private int code;
private String value;
AuditType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 审核类型:
*
* @author mallplus
*/
public enum YesNoType implements BaseEnum<Integer> {
/**
* 启用
*/
YES(1, "yes"),
/**
* 禁用
*/
NO(0, "no"),
;
private int code;
private String value;
YesNoType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
}

View File

@@ -0,0 +1,92 @@
package com.zscat.mallplus.enums;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
/**
* 交易API Constant
*
* @author dp
*/
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class UmsStatusEnum {
/**
* 标签类型:
*
* @author mallplus
*/
public enum TagType implements BaseEnum<Integer> {
/**
* 会员标签
*/
INIT(1, "会员标签"),
/**
* 审核成功
*/
FAIL(2, "商品标签"),
/**
* 审核失败
*/
SUCESS(3, "文章标签"),
;
private int code;
private String value;
TagType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
/**
* 标签方式类型:
*
* @author mallplus
*/
public enum YesNoType implements BaseEnum<Integer> {
/**
* 自动标签
*/
YES(1, "自动标签"),
/**
* 手动标签
*/
NO(2, "手动标签"),
;
private int code;
private String value;
YesNoType(int code, String value) {
this.code = code;
this.value = value;
}
@Override
public Integer code() {
return code;
}
@Override
public String desc() {
return value;
}
}
}

View File

@@ -0,0 +1,53 @@
package com.zscat.mallplus.exception;
/**
* 自定义异常
*
* @author zscat
* @email 951449465@qq.com
* @date 2016年10月27日 下午10:11:27
*/
public class ApiMallPlusException extends RuntimeException {
private static final long serialVersionUID = 1L;
private String errmsg;
private int errno = 500;
public ApiMallPlusException(String errmsg) {
super(errmsg);
this.errmsg = errmsg;
}
public ApiMallPlusException(String errmsg, Throwable e) {
super(errmsg, e);
this.errmsg = errmsg;
}
public ApiMallPlusException(String errmsg, int errno) {
super(errmsg);
this.errmsg = errmsg;
this.errno = errno;
}
public ApiMallPlusException(String errmsg, int errno, Throwable e) {
super(errmsg, e);
this.errmsg = errmsg;
this.errno = errno;
}
public String getErrmsg() {
return errmsg;
}
public void setErrmsg(String errmsg) {
this.errmsg = errmsg;
}
public int getErrno() {
return errno;
}
public void setErrno(int errno) {
this.errno = errno;
}
}

View File

@@ -0,0 +1,53 @@
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.zscat.mallplus.exception;
public class BusinessMallException extends RuntimeException {
private static final long serialVersionUID = 2874510430549463213L;
private int returnCode;
public BusinessMallException() {
}
public BusinessMallException(String message, Throwable cause) {
super(message, cause);
}
public BusinessMallException(String message) {
super(message);
}
public BusinessMallException(Throwable cause) {
super(cause);
}
public BusinessMallException(int returnCode) {
this.returnCode = returnCode;
}
public BusinessMallException(Exception e, int returnCode) {
super(e);
this.returnCode = returnCode;
}
public BusinessMallException(String message, int returnCode) {
super(message);
this.returnCode = returnCode;
}
public BusinessMallException(String message, Exception e, int returnCode) {
super(message, e);
this.returnCode = returnCode;
}
public int getReturnCode() {
return this.returnCode;
}
public void setReturnCode(int returnCode) {
this.returnCode = returnCode;
}
}

View File

@@ -0,0 +1,54 @@
package com.zscat.mallplus.exception;
/**
* 自定义异常
*
* @author zscat
* @email 951449465@qq.com
* @date 2016年10月27日 下午10:11:27
*/
public class JwtTokenExpiredException extends RuntimeException {
private static final long serialVersionUID = 1L;
private String errmsg;
private int errno = 1001;
public JwtTokenExpiredException(String errmsg) {
super(errmsg);
this.errmsg = errmsg;
this.errno = errno;
}
public JwtTokenExpiredException(String errmsg, Throwable e) {
super(errmsg, e);
this.errmsg = errmsg;
}
public JwtTokenExpiredException(String errmsg, int errno) {
super(errmsg);
this.errmsg = errmsg;
this.errno = errno;
}
public JwtTokenExpiredException(String errmsg, int errno, Throwable e) {
super(errmsg, e);
this.errmsg = errmsg;
this.errno = errno;
}
public String getErrmsg() {
return errmsg;
}
public void setErrmsg(String errmsg) {
this.errmsg = errmsg;
}
public int getErrno() {
return errno;
}
public void setErrno(int errno) {
this.errno = errno;
}
}

View File

@@ -0,0 +1,53 @@
package com.zscat.mallplus.exception;
/**
* 自定义异常
*
* @author zscat
* @email 951449465@qq.com
* @date 2016年10月27日 下午10:11:27
*/
public class MemberNotExitException extends RuntimeException {
private static final long serialVersionUID = 1L;
private String errmsg;
private int errno = 500;
public MemberNotExitException(String errmsg) {
super(errmsg);
this.errmsg = errmsg;
}
public MemberNotExitException(String errmsg, Throwable e) {
super(errmsg, e);
this.errmsg = errmsg;
}
public MemberNotExitException(String errmsg, int errno) {
super(errmsg);
this.errmsg = errmsg;
this.errno = errno;
}
public MemberNotExitException(String errmsg, int errno, Throwable e) {
super(errmsg, e);
this.errmsg = errmsg;
this.errno = errno;
}
public String getErrmsg() {
return errmsg;
}
public void setErrmsg(String errmsg) {
this.errmsg = errmsg;
}
public int getErrno() {
return errno;
}
public void setErrno(int errno) {
this.errno = errno;
}
}

Some files were not shown because too many files have changed in this diff Show More