first commit
This commit is contained in:
30
fuint-repository/pom.xml
Normal file
30
fuint-repository/pom.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>fuint</artifactId>
|
||||
<groupId>com.fuint</groupId>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>fuint-repository</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@ -0,0 +1,11 @@
|
||||
package com.fuint.repository.base;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MyMapper<T> extends BaseMapper<T> {
|
||||
// empty
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
package com.fuint.repository.bean;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 表结构字段实体
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
public class ColumnBean implements Serializable {
|
||||
|
||||
@ApiModelProperty("字段名称")
|
||||
private String field;
|
||||
|
||||
@ApiModelProperty("类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("是否为空")
|
||||
private String isNull;
|
||||
|
||||
@ApiModelProperty("备注信息")
|
||||
private String comment;
|
||||
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
package com.fuint.repository.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 卡券数量对象
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "卡券数量对象", description = "卡券数量对象")
|
||||
public class CouponNumBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("卡券ID")
|
||||
private Integer couponId;
|
||||
|
||||
@ApiModelProperty("数量")
|
||||
private Long num;
|
||||
|
||||
}
|
||||
@ -0,0 +1,54 @@
|
||||
package com.fuint.repository.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 商品对象
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "商品对象", description = "商品对象")
|
||||
public class GoodsBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("商品图片")
|
||||
private String logo;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("分类ID")
|
||||
private Integer cateId;
|
||||
|
||||
@ApiModelProperty("商品ID")
|
||||
private Integer goodsId;
|
||||
|
||||
@ApiModelProperty("商品编码")
|
||||
private String goodsNo;
|
||||
|
||||
@ApiModelProperty("商品名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("商品价格")
|
||||
private BigDecimal price;
|
||||
|
||||
@ApiModelProperty("商品库存")
|
||||
private Double stock;
|
||||
|
||||
@ApiModelProperty("商品规格")
|
||||
private String specIds;
|
||||
|
||||
@ApiModelProperty("sku价格")
|
||||
private String skuPrice;
|
||||
|
||||
@ApiModelProperty("sk库存")
|
||||
private Integer skuStock;
|
||||
|
||||
}
|
||||
@ -0,0 +1,52 @@
|
||||
package com.fuint.repository.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 商品排行对象
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "商品排行对象", description = "商品排行对象")
|
||||
public class GoodsTopBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 商品ID
|
||||
*/
|
||||
@ApiModelProperty("商品ID")
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
@ApiModelProperty("商品名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 商品条码
|
||||
*/
|
||||
@ApiModelProperty("商品条码")
|
||||
private String goodsNo;
|
||||
|
||||
/**
|
||||
* 销售金额
|
||||
*/
|
||||
@ApiModelProperty("销售金额")
|
||||
private BigDecimal amount;
|
||||
|
||||
/**
|
||||
* 销售数量
|
||||
*/
|
||||
@ApiModelProperty("销售数量")
|
||||
private Integer num;
|
||||
|
||||
}
|
||||
@ -0,0 +1,50 @@
|
||||
package com.fuint.repository.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 会员排行对象
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "会员排行对象", description = "会员排行对象")
|
||||
public class MemberTopBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 会员ID
|
||||
*/
|
||||
@ApiModelProperty("卡券ID")
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 会员名称
|
||||
*/
|
||||
@ApiModelProperty("卡券ID")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 会员号
|
||||
*/
|
||||
@ApiModelProperty("卡券ID")
|
||||
private String userNo;
|
||||
|
||||
/**
|
||||
* 消费金额
|
||||
*/
|
||||
@ApiModelProperty("卡券ID")
|
||||
private BigDecimal amount;
|
||||
|
||||
/**
|
||||
* 购买数量
|
||||
*/
|
||||
private Integer num;
|
||||
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
package com.fuint.repository.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 店铺距离对象
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "店铺距离对象", description = "店铺距离对象")
|
||||
public class StoreDistanceBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("数量")
|
||||
private String distance;
|
||||
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
package com.fuint.repository.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 微信小程序上传发货信息对象
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "微信小程序上传发货信息对象", description = "微信小程序上传发货信息对象")
|
||||
public class UploadShippingLogBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 订单ID
|
||||
*/
|
||||
@ApiModelProperty("订单ID")
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
@ApiModelProperty("订单号")
|
||||
private String orderSn;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@ApiModelProperty("上传状态,A成功;B失败")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtAddress;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 会员地址 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtAddressMapper extends BaseMapper<MtAddress> {
|
||||
int setDefault(@Param("userId") Integer userId, @Param("addressId") Integer addressId);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtArticle;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 文章 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtArticleMapper extends BaseMapper<MtArticle> {
|
||||
void increaseClick(@Param("articleId") Integer articleId);
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtBalance;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 余额变化表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtBalanceMapper extends BaseMapper<MtBalance> {
|
||||
|
||||
List<MtBalance> getBalanceListByOrderSn(@Param("orderSn") String orderSn);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtBanner;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* banner Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtBannerMapper extends BaseMapper<MtBanner> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtBookCate;
|
||||
|
||||
/**
|
||||
* 预约分类 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtBookCateMapper extends BaseMapper<MtBookCate> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtBookItem;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 预约订单 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtBookItemMapper extends BaseMapper<MtBookItem> {
|
||||
|
||||
List<String> getBookList(@Param("bookId") Integer bookId, @Param("date") String date, @Param("time") String time);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtBook;
|
||||
|
||||
/**
|
||||
* 预约 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtBookMapper extends BaseMapper<MtBook> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtCart;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 购物车 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtCartMapper extends BaseMapper<MtCart> {
|
||||
|
||||
void deleteCartItem(@Param("userId") Integer userId, @Param("goodsId") Integer goodsId, @Param("skuId") Integer skuId);
|
||||
|
||||
void clearCart(@Param("userId") Integer userId);
|
||||
|
||||
void deleteCartByHangNo(@Param("hangNo") String hangNo);
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtCommissionCash;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 提现记录 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtCommissionCashMapper extends BaseMapper<MtCommissionCash> {
|
||||
|
||||
Boolean confirmCommissionCash(@Param("merchantId") Integer merchantId, @Param("uuid") String uuid, @Param("operator") String operator);
|
||||
|
||||
Boolean cancelCommissionCash(@Param("merchantId") Integer merchantId, @Param("uuid") String uuid, @Param("operator") String operator);
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtCommissionLog;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 佣金记录 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtCommissionLogMapper extends BaseMapper<MtCommissionLog> {
|
||||
|
||||
Boolean confirmCommissionLog(@Param("merchantId") Integer merchantId, @Param("uuid") String uuid, @Param("operator") String operator);
|
||||
|
||||
Boolean cancelCommissionLog(@Param("merchantId") Integer merchantId, @Param("uuid") String uuid, @Param("operator") String operator);
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtCommissionRelation;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 会员分销关系 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtCommissionRelationMapper extends BaseMapper<MtCommissionRelation> {
|
||||
|
||||
Integer getCommissionUserId(@Param("merchantId") Integer merchantId, @Param("userId") Integer userId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtCommissionRuleItem;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 分佣提成规则项目 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtCommissionRuleItemMapper extends BaseMapper<MtCommissionRuleItem> {
|
||||
|
||||
Boolean deleteByRuleId(@Param("ruleId") Integer ruleId, @Param("updateTime") Date updateTime);
|
||||
|
||||
List<MtCommissionRuleItem> getEffectiveCommissionList(@Param("merchantId") Integer merchantId, @Param("targetId") Integer targetId, @Param("type") String type);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtCommissionRule;
|
||||
|
||||
/**
|
||||
* 方案规则 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtCommissionRuleMapper extends BaseMapper<MtCommissionRule> {
|
||||
// empty
|
||||
}
|
||||
@ -0,0 +1,23 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtConfirmLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 核销记录表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtConfirmLogMapper extends BaseMapper<MtConfirmLog> {
|
||||
|
||||
Long getConfirmNum(@Param("userCouponId") Integer userCouponId);
|
||||
|
||||
Long getConfirmLogCount(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
List<MtConfirmLog> getOrderConfirmLogList(@Param("orderId") Integer orderId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtCouponGoods;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 卡券商品表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtCouponGoodsMapper extends BaseMapper<MtCouponGoods> {
|
||||
|
||||
List<MtCouponGoods> getCouponGoods(@Param("couponId") Integer couponId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtCouponGroup;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 优惠券组 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtCouponGroupMapper extends BaseMapper<MtCouponGroup> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtCoupon;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 卡券信息表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtCouponMapper extends BaseMapper<MtCoupon> {
|
||||
|
||||
Long queryNumByGroupId(@Param("groupId") Integer groupId);
|
||||
|
||||
List<MtCoupon> queryByGroupId(@Param("groupId") Integer groupId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtGiveItem;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 转赠明细表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtGiveItemMapper extends BaseMapper<MtGiveItem> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtGive;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 转赠记录表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtGiveMapper extends BaseMapper<MtGive> {
|
||||
|
||||
List<MtGive> queryForUnique(@Param("userId") Integer userId, @Param("giveUserId") Integer giveUserId, @Param("couponIds") String couponIds, @Param("createTime") Date createTime);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtGoodsCate;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 商品分类 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtGoodsCateMapper extends BaseMapper<MtGoodsCate> {
|
||||
// empty
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.bean.GoodsBean;
|
||||
import com.fuint.repository.bean.GoodsTopBean;
|
||||
import com.fuint.repository.model.MtGoods;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 商品 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtGoodsMapper extends BaseMapper<MtGoods> {
|
||||
|
||||
List<MtGoods> getStoreGoodsList(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId, @Param("cateId") Integer cateId, @Param("platform") String platform);
|
||||
|
||||
List<MtGoods> searchStoreGoodsList(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId, @Param("keyword") String keyword, @Param("platform") String platform);
|
||||
|
||||
MtGoods getByGoodsNo(@Param("merchantId") Integer merchantId, @Param("goodsNo") String goodsNo);
|
||||
|
||||
List<MtGoods> getByGoodsName(@Param("merchantId") Integer merchantId, @Param("goodsName") String goodsName);
|
||||
|
||||
Boolean updateInitSale(@Param("goodsId") Integer goodsId, @Param("saleNum") Double saleNum);
|
||||
|
||||
List<GoodsBean> selectGoodsList(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId, @Param("cateId") Integer cateId, @Param("keyword") String keyword);
|
||||
|
||||
List<GoodsTopBean> getGoodsSaleTopList(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
|
||||
|
||||
void removeMerchantGoods(@Param("merchantId") Integer merchantId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtGoodsSku;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 商品SKU表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtGoodsSkuMapper extends BaseMapper<MtGoodsSku> {
|
||||
|
||||
List<MtGoodsSku> getBySkuNo(@Param("skuNo") String skuNo);
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtGoodsSpec;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 规格表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtGoodsSpecMapper extends BaseMapper<MtGoodsSpec> {
|
||||
|
||||
List<MtGoodsSpec> getGoodsSpecCountList(@Param("goodsId") Integer goodsId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtInvoice;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 发票 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtInvoiceMapper extends BaseMapper<MtInvoice> {
|
||||
|
||||
BigDecimal getInvoiceTotalAmount(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtMerchant;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 商户表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtMerchantMapper extends BaseMapper<MtMerchant> {
|
||||
|
||||
MtMerchant queryMerchantByName(@Param("name") String name);
|
||||
|
||||
MtMerchant queryMerchantByNo(@Param("merchantNo") String merchantNo);
|
||||
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtMessage;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 消息 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtMessageMapper extends BaseMapper<MtMessage> {
|
||||
|
||||
List<MtMessage> findNewMessage(@Param("userId") Integer userId, @Param("type") String type);
|
||||
|
||||
List<MtMessage> findNeedSendMessage(@Param("type") String type);
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtOpenGiftItem;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 开卡赠礼明细表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtOpenGiftItemMapper extends BaseMapper<MtOpenGiftItem> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtOpenGift;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 会员开卡赠礼 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtOpenGiftMapper extends BaseMapper<MtOpenGift> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtOrderAddress;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 订单收货地址记录表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtOrderAddressMapper extends BaseMapper<MtOrderAddress> {
|
||||
|
||||
List<MtOrderAddress> getOrderAddress(@Param("orderId") Integer orderId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtOrderGoods;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 订单商品表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtOrderGoodsMapper extends BaseMapper<MtOrderGoods> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtOrder;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 订单表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtOrderMapper extends BaseMapper<MtOrder> {
|
||||
|
||||
BigDecimal getOrderCount(@Param("merchantId") Integer merchantId);
|
||||
|
||||
BigDecimal getStoreOrderCount(@Param("storeId") Integer storeId);
|
||||
|
||||
BigDecimal getOrderCountByTime(@Param("merchantId") Integer merchantId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
BigDecimal getStoreOrderCountByTime(@Param("storeId") Integer storeId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
MtOrder findByOrderSn(@Param("orderSn") String orderSn);
|
||||
|
||||
BigDecimal getPayMoney(@Param("merchantId") Integer merchantId);
|
||||
|
||||
BigDecimal getPayMoneyByTime(@Param("merchantId") Integer merchantId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
BigDecimal getStorePayMoneyByTime(@Param("storeId") Integer storeId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
BigDecimal getStorePayMoney(@Param("storeId") Integer storeId);
|
||||
|
||||
Integer getPayUserCount(@Param("merchantId") Integer merchantId);
|
||||
|
||||
Integer getStorePayUserCount(@Param("storeId") Integer storeId);
|
||||
|
||||
BigDecimal getUserPayMoney(@Param("userId") Integer userId);
|
||||
|
||||
Integer getUserPayOrderCount(@Param("userId") Integer userId);
|
||||
|
||||
List<MtOrder> getTobeCommissionOrderList(@Param("dateTime") String dateTime);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtPoint;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 积分变化表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtPointMapper extends BaseMapper<MtPoint> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtPrinter;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 打印机 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtPrinterMapper extends BaseMapper<MtPrinter> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtRefund;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 售后表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtRefundMapper extends BaseMapper<MtRefund> {
|
||||
|
||||
Long getRefundCount(@Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
MtRefund findByOrderId(@Param("orderId") Integer orderId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtRegion;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 省市区数据表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtRegionMapper extends BaseMapper<MtRegion> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtSendLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 卡券发放记录表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtSendLogMapper extends BaseMapper<MtSendLog> {
|
||||
|
||||
Integer updateForRemove(@Param("uuid") String uuid, @Param("status") String status, @Param("removeSuccessNum") Integer removeSuccessNum, @Param("removeFailNum") Integer removeFailNum);
|
||||
|
||||
Integer updateSingleForRemove(@Param("uuid") String uuid, @Param("status") String status);
|
||||
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtSetting;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 全局设置表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtSettingMapper extends BaseMapper<MtSetting> {
|
||||
|
||||
List<MtSetting> querySettingByType(@Param("merchantId") Integer merchantId, @Param("type") String type);
|
||||
|
||||
MtSetting querySettingByName(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId, @Param("type") String type, @Param("name") String name);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtSettlement;
|
||||
|
||||
/**
|
||||
* 结算表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtSettlementMapper extends BaseMapper<MtSettlement> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtSettlementOrder;
|
||||
|
||||
/**
|
||||
* 结算订单表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtSettlementOrderMapper extends BaseMapper<MtSettlementOrder> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtSmsSendedLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 短信发送记录表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtSmsSendedLogMapper extends BaseMapper<MtSmsSendedLog> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtSmsTemplate;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 短信模板 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtSmsTemplateMapper extends BaseMapper<MtSmsTemplate> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtStaff;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 店铺员工表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtStaffMapper extends BaseMapper<MtStaff> {
|
||||
|
||||
int updateStatus(@Param("id") Integer id, @Param("status") String status, @Param("updateTime") Date updateTime);
|
||||
|
||||
MtStaff queryStaffByMobile(@Param("mobile") String mobile);
|
||||
|
||||
MtStaff queryStaffByUserId(@Param("userId") Integer userId);
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtStockItem;
|
||||
|
||||
/**
|
||||
* 库存管理明细表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtStockItemMapper extends BaseMapper<MtStockItem> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtStock;
|
||||
|
||||
/**
|
||||
* 库存管理记录表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtStockMapper extends BaseMapper<MtStock> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtStoreGoods;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 店铺商品 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtStoreGoodsMapper extends BaseMapper<MtStoreGoods> {
|
||||
|
||||
void removeStoreGoods(@Param("storeId") Integer storeId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.bean.StoreDistanceBean;
|
||||
import com.fuint.repository.model.MtStore;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 店铺表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtStoreMapper extends BaseMapper<MtStore> {
|
||||
|
||||
MtStore queryStoreByName(@Param("name") String name);
|
||||
|
||||
void resetDefaultStore(@Param("merchantId") Integer merchantId);
|
||||
|
||||
List<MtStore> findStoresByIds(@Param("ids") List<Integer> ids);
|
||||
|
||||
List<StoreDistanceBean> queryByDistance(@Param("merchantId") Integer merchantId, @Param("keyword") String keyword, @Param("latitude") String latitude, @Param("longitude") String longitude);
|
||||
|
||||
void deleteStoreByMerchant(@Param("merchantId") Integer merchantId);
|
||||
|
||||
List<MtStore> getMyStoreList(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId, @Param("status") String status);
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.bean.UploadShippingLogBean;
|
||||
import com.fuint.repository.model.MtUploadShippingLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 微信小程序上传发货信息 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtUploadShippingLogMapper extends BaseMapper<MtUploadShippingLog> {
|
||||
|
||||
List<UploadShippingLogBean> getUploadShippingLogList(@Param("merchantId") Integer merchantId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.MtUserAction;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 会员行为 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtUserActionMapper extends BaseMapper<MtUserAction> {
|
||||
|
||||
Long getActiveUserCount(@Param("merchantId") Integer merchantId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
Long getStoreActiveUserCount(@Param("storeId") Integer storeId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.bean.CouponNumBean;
|
||||
import com.fuint.repository.model.MtUserCoupon;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 会员卡券表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtUserCouponMapper extends BaseMapper<MtUserCoupon> {
|
||||
|
||||
Boolean updateExpireTime(@Param("couponId") Integer couponId, @Param("expireTime") String expireTime);
|
||||
|
||||
Long getSendNum(@Param("couponId") Integer couponId);
|
||||
|
||||
CouponNumBean getPeopleNumByCouponId(@Param("couponId") Integer couponId);
|
||||
|
||||
List<MtUserCoupon> getUserCouponList(@Param("userId") Integer userId, @Param("statusList") List<String> statusList);
|
||||
|
||||
List<MtUserCoupon> getUserCouponListByCouponId(@Param("userId") Integer userId, @Param("couponId") Integer couponId ,@Param("statusList") List<String> statusList);
|
||||
|
||||
MtUserCoupon findByCode(@Param("code") String code);
|
||||
|
||||
int removeUserCoupon(@Param("uuid") String uuid, @Param("couponIds") List<Integer> couponIds, @Param("operator") String operator);
|
||||
|
||||
List<MtUserCoupon> queryExpireNumByGroupId(@Param("groupId") Integer groupId);
|
||||
|
||||
List<Integer> getCouponIdsByUuid(@Param("uuid") String uuid);
|
||||
|
||||
List<MtUserCoupon> findUserCouponDetail(@Param("couponId") Integer couponId, @Param("userId") Integer userId);
|
||||
|
||||
List<MtUserCoupon> getUserCouponListByExpireTime(@Param("userId") Integer userId, @Param("status") String status, @Param("startTime") String startTime, @Param("endTime") String endTime);
|
||||
|
||||
Boolean removeUserCouponByCouponId(@Param("couponId") Integer couponId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtUserGrade;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtUserGradeMapper extends BaseMapper<MtUserGrade> {
|
||||
|
||||
List<MtUserGrade> getMerchantGradeList(@Param("merchantId") Integer merchantId, @Param("status") String status);
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtUserGroup;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 会员分组 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtUserGroupMapper extends BaseMapper<MtUserGroup> {
|
||||
Long getMemberNum(@Param("groupIds") List<Integer> groupIds);
|
||||
}
|
||||
@ -0,0 +1,48 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.bean.MemberTopBean;
|
||||
import com.fuint.repository.model.MtUser;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 会员个人信息 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtUserMapper extends BaseMapper<MtUser> {
|
||||
|
||||
List<MtUser> queryMemberByMobile(@Param("merchantId") Integer merchantId, @Param("mobile") String mobile);
|
||||
|
||||
List<MtUser> queryMemberByName(@Param("merchantId") Integer merchantId, @Param("name") String name);
|
||||
|
||||
MtUser queryMemberByOpenId(@Param("merchantId") Integer merchantId, @Param("openId") String openId);
|
||||
|
||||
List<MtUser> findMembersByUserNo(@Param("merchantId") Integer merchantId, @Param("userNo") String userNo);
|
||||
|
||||
void updateActiveTime(@Param("userId") Integer userId, @Param("updateTime") Date updateTime);
|
||||
|
||||
void updateUserBalance(@Param("merchantId") Integer merchantId, @Param("userIds") List<Integer> userIds, @Param("amount") BigDecimal amount);
|
||||
|
||||
void resetMobile(@Param("merchantId") Integer merchantId, @Param("mobile") String mobile, @Param("userId") Integer userId);
|
||||
|
||||
Long getUserCount(@Param("merchantId") Integer merchantId);
|
||||
|
||||
Long getStoreUserCount(@Param("storeId") Integer storeId);
|
||||
|
||||
Long getUserCountByTime(@Param("merchantId") Integer merchantId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
Long getStoreUserCountByTime(@Param("storeId") Integer storeId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);
|
||||
|
||||
List<MemberTopBean> getMemberConsumeTopList(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
|
||||
|
||||
List<Integer> getUserIdList(@Param("merchantId") Integer merchantId, @Param("storeId") Integer storeId);
|
||||
|
||||
List<MtUser> searchMembers(@Param("merchantId") Integer merchantId, @Param("keyword") String keyword);
|
||||
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.MtVerifyCode;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 短信验证码表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface MtVerifyCodeMapper extends BaseMapper<MtVerifyCode> {
|
||||
|
||||
MtVerifyCode queryByMobileVerifyCode(@Param("mobile") String mobile, @Param("verifyCode") String verifyCode, @Param("queryTime") Date queryTime);
|
||||
|
||||
List<MtVerifyCode> queryVerifyCodeLastRecord(@Param("mobile") String mobile);
|
||||
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.TAccountDuty;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 后台账号角色 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface TAccountDutyMapper extends BaseMapper<TAccountDuty> {
|
||||
|
||||
List<Integer> getDutyIdsByAccountId(Integer accountId);
|
||||
|
||||
void deleteDutiesByAccountId(long accountId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.TAccount;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 后台账号 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface TAccountMapper extends BaseMapper<TAccount> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.TActionLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 操作日志 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface TActionLogMapper extends BaseMapper<TActionLog> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,23 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.fuint.repository.model.TDuty;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 角色表 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface TDutyMapper extends BaseMapper<TDuty> {
|
||||
|
||||
List<TDuty> findByStatus(@Param("merchantId") Integer merchantId, @Param("status") String status);
|
||||
|
||||
List<TDuty> findByIdIn(@Param("ids") List<Integer> ids);
|
||||
|
||||
TDuty findByName(@Param("merchantId") Integer merchantId, @Param("name") String name);
|
||||
|
||||
List<Long> getRoleIdsByAccountId(@Param("accountId") Integer accountId);
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.TDutySource;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 角色菜单 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface TDutySourceMapper extends BaseMapper<TDutySource> {
|
||||
|
||||
void deleteSourcesByDutyId(@Param("dutyId") Integer dutyId);
|
||||
|
||||
List<Long> findSourceIdsByDutyId(@Param("dutyId") Integer dutyId);
|
||||
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.bean.ColumnBean;
|
||||
import com.fuint.repository.model.TGenCode;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 代码生成 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface TGenCodeMapper extends BaseMapper<TGenCode> {
|
||||
|
||||
TGenCode findGenCodeByTableName(@Param("tableName") String tableName);
|
||||
|
||||
List<ColumnBean> getTableColumnList(@Param("tableName") String tableName);
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.TPlatform;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 系统平台 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface TPlatformMapper extends BaseMapper<TPlatform> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package com.fuint.repository.mapper;
|
||||
|
||||
import com.fuint.repository.model.TSource;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 后台菜单 Mapper 接口
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
public interface TSourceMapper extends BaseMapper<TSource> {
|
||||
|
||||
List<TSource> findSourcesByAccountId(@Param("merchantId") Integer merchantId, @Param("accountId") Integer accountId);
|
||||
|
||||
List<TSource> findByIdIn(@Param("ids") List<String> ids);
|
||||
|
||||
List<TSource> findByStatus(@Param("merchantId") Integer merchantId, @Param("status") String status);
|
||||
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 会员地址表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_address")
|
||||
@ApiModel(value = "MtAddress对象", description = "会员地址表")
|
||||
public class MtAddress implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("收货人姓名")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("收货手机号")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("省份ID")
|
||||
private Integer provinceId;
|
||||
|
||||
@ApiModelProperty("城市ID")
|
||||
private Integer cityId;
|
||||
|
||||
@ApiModelProperty("区/县ID")
|
||||
private Integer regionId;
|
||||
|
||||
@ApiModelProperty("详细地址")
|
||||
private String detail;
|
||||
|
||||
@ApiModelProperty("是否默认")
|
||||
private String isDefault;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,68 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 文章
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_article")
|
||||
@ApiModel(value = "MtArticle对象", description = "MtArticle对象")
|
||||
public class MtArticle implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("标题")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty("简介")
|
||||
private String brief;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("所属店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("链接地址")
|
||||
private String url;
|
||||
|
||||
@ApiModelProperty("图片地址")
|
||||
private String image;
|
||||
|
||||
@ApiModelProperty("描述")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("点击数")
|
||||
private Long click;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sort;
|
||||
|
||||
@ApiModelProperty("A:正常;N:禁用;D:删除")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,63 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 余额变化表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_balance")
|
||||
@ApiModel(value = "MtBalance对象", description = "余额变化表")
|
||||
public class MtBalance implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("所属店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("手机号")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("订单号")
|
||||
private String orderSn;
|
||||
|
||||
@ApiModelProperty("余额变化数量")
|
||||
private BigDecimal amount;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("备注说明")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("状态,A正常;D作废")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 首页banner
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_banner")
|
||||
@ApiModel(value = "MtBanner对象", description = "MtBanner表对象")
|
||||
public class MtBanner implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("标题")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("所属店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("链接地址")
|
||||
private String url;
|
||||
|
||||
@ApiModelProperty("图片地址")
|
||||
private String image;
|
||||
|
||||
@ApiModelProperty("描述")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sort;
|
||||
|
||||
@ApiModelProperty("A:正常;D:删除")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,77 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 预约实体
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_book")
|
||||
@ApiModel(value = "MtBook对象", description = "MtBook表对象")
|
||||
public class MtBook implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("预约名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("所属店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("预约类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("图片地址")
|
||||
private String logo;
|
||||
|
||||
@ApiModelProperty("关联商品ID")
|
||||
private Integer goodsId;
|
||||
|
||||
@ApiModelProperty("类别ID")
|
||||
private Integer cateId;
|
||||
|
||||
@ApiModelProperty("可预约日期")
|
||||
private String serviceDates;
|
||||
|
||||
@ApiModelProperty("可预约时间段")
|
||||
private String serviceTimes;
|
||||
|
||||
@ApiModelProperty("可预约员工ID")
|
||||
private String serviceStaffIds;
|
||||
|
||||
@ApiModelProperty("描述")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sort;
|
||||
|
||||
@ApiModelProperty("A:正常;D:删除")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 预约分类实体
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_book_cate")
|
||||
@ApiModel(value = "MtBookCate对象", description = "MtBookCate表对象")
|
||||
public class MtBookCate implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("分类名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("所属店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("图片地址")
|
||||
private String logo;
|
||||
|
||||
@ApiModelProperty("描述")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sort;
|
||||
|
||||
@ApiModelProperty("A:正常;D:删除")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,80 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 预约订单实体
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_book_item")
|
||||
@ApiModel(value = "MtBookItem对象", description = "MtBookItem表对象")
|
||||
public class MtBookItem implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("所属店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("预约分类ID")
|
||||
private Integer cateId;
|
||||
|
||||
@ApiModelProperty("预约ID")
|
||||
private Integer bookId;
|
||||
|
||||
@ApiModelProperty("预约用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("商品ID")
|
||||
private Integer goodsId;
|
||||
|
||||
@ApiModelProperty("核销码")
|
||||
private String verifyCode;
|
||||
|
||||
@ApiModelProperty("预约联系人")
|
||||
private String contact;
|
||||
|
||||
@ApiModelProperty("预约手机号")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("预约日期")
|
||||
private String serviceDate;
|
||||
|
||||
@ApiModelProperty("预约时间段")
|
||||
private String serviceTime;
|
||||
|
||||
@ApiModelProperty("预约备注")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty("预约员工ID")
|
||||
private Integer serviceStaffId;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("A:已提交;B:审核通过;C:审核未通过;D:删除;E:已完成")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 购物车
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_cart")
|
||||
@ApiModel(value = "MtCart对象", description = "购物车对象")
|
||||
public class MtCart implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("会员ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("是否游客")
|
||||
private String isVisitor;
|
||||
|
||||
@ApiModelProperty("挂单号")
|
||||
private String hangNo;
|
||||
|
||||
@ApiModelProperty("skuID")
|
||||
private Integer skuId;
|
||||
|
||||
@ApiModelProperty("商品ID")
|
||||
private Integer goodsId;
|
||||
|
||||
@ApiModelProperty("数量")
|
||||
private Double num;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
}
|
||||
@ -0,0 +1,66 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 分佣提现记录表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_commission_cash")
|
||||
@ApiModel(value = "MtCommissionCash对象", description = "分佣提现记录表")
|
||||
public class MtCommissionCash implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("结算单号")
|
||||
private String settleNo;
|
||||
|
||||
@ApiModelProperty("结算uuid")
|
||||
private String uuid;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("会员ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("员工ID")
|
||||
private Integer staffId;
|
||||
|
||||
@ApiModelProperty("金额")
|
||||
private BigDecimal amount;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,90 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 佣金记录表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_commission_log")
|
||||
@ApiModel(value = "MtCommissionLog对象", description = "佣金记录表")
|
||||
public class MtCommissionLog implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("分佣对象,member:会员分销;staff:员工提成")
|
||||
private String target;
|
||||
|
||||
@ApiModelProperty("分佣类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("分佣等级")
|
||||
private Integer level;
|
||||
|
||||
@ApiModelProperty("会员ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("员工ID")
|
||||
private Integer staffId;
|
||||
|
||||
@ApiModelProperty("订单ID")
|
||||
private Integer orderId;
|
||||
|
||||
@ApiModelProperty("分佣金额")
|
||||
private BigDecimal amount;
|
||||
|
||||
@ApiModelProperty("规则ID")
|
||||
private Integer ruleId;
|
||||
|
||||
@ApiModelProperty("规则项ID")
|
||||
private Integer ruleItemId;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("结算uuid")
|
||||
private String settleUuid;
|
||||
|
||||
@ApiModelProperty("提现记录ID")
|
||||
private Integer cashId;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String isCash;
|
||||
|
||||
@ApiModelProperty("提现时间")
|
||||
private Date cashTime;
|
||||
|
||||
@ApiModelProperty("是否提现")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("状态,A:待结算;B:已结算;C:已作废")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 会员分销关系表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_commission_relation")
|
||||
@ApiModel(value = "MtCommissionRelation对象", description = "会员分销关系表")
|
||||
public class MtCommissionRelation implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("会员ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("邀请码")
|
||||
private String inviteCode;
|
||||
|
||||
@ApiModelProperty("被邀请会员ID")
|
||||
private Integer subUserId;
|
||||
|
||||
@ApiModelProperty("等级")
|
||||
private Integer level;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 分佣提成规则表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_commission_rule")
|
||||
@ApiModel(value = "MtCommissionRule对象", description = "分佣提成规则表")
|
||||
public class MtCommissionRule implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("规则名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("方案类型,goods:商品销售;coupon:卡券销售;recharge:会员充值")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("分佣对象,member:会员分销;staff:员工提成")
|
||||
private String target;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("适用店铺ID,逗号隔开")
|
||||
private String storeIds;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,80 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* 分佣提成规则项目表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_commission_rule_item")
|
||||
@ApiModel(value = "MtCommissionRuleItem对象", description = "分佣提成规则项目表")
|
||||
public class MtCommissionRuleItem implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("方案类型,goods:商品销售;coupon:卡券销售;recharge:会员充值")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("分佣对象,member:会员分销;staff:员工提成")
|
||||
private String target;
|
||||
|
||||
@ApiModelProperty("规则ID")
|
||||
private Integer ruleId;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("分佣对象ID")
|
||||
private Integer targetId;
|
||||
|
||||
@ApiModelProperty("提成方式(按比例/固定金额)")
|
||||
private String method;
|
||||
|
||||
@ApiModelProperty("适用店铺ID,逗号隔开")
|
||||
private String storeIds;
|
||||
|
||||
@ApiModelProperty("散客佣金")
|
||||
private BigDecimal guest;
|
||||
|
||||
@ApiModelProperty("二级散客佣金")
|
||||
private BigDecimal subGuest;
|
||||
|
||||
@ApiModelProperty("会员佣金")
|
||||
private BigDecimal member;
|
||||
|
||||
@ApiModelProperty("二级会员佣金")
|
||||
private BigDecimal subMember;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 核销记录表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_confirm_log")
|
||||
@ApiModel(value = "MtConfirmLog对象", description = "核销记录表")
|
||||
public class MtConfirmLog implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("编码")
|
||||
private String code;
|
||||
|
||||
@ApiModelProperty("核销金额")
|
||||
private BigDecimal amount;
|
||||
|
||||
@ApiModelProperty("卡券ID")
|
||||
private Integer couponId;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("用户券ID")
|
||||
private Integer userCouponId;
|
||||
|
||||
@ApiModelProperty("订单ID")
|
||||
private Integer orderId;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("卡券所属用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("核销者用户ID")
|
||||
private Integer operatorUserId;
|
||||
|
||||
@ApiModelProperty("核销店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("状态,A正常核销;D:撤销使用")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty("撤销时间")
|
||||
private Date cancelTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("操作来源user_id对应表t_account 还是 mt_user")
|
||||
private String operatorFrom;
|
||||
|
||||
@ApiModelProperty("备注信息")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,127 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 卡券信息表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_coupon")
|
||||
@ApiModel(value = "MtCoupon对象", description = "卡券信息表")
|
||||
public class MtCoupon implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("券组ID")
|
||||
private Integer groupId;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("券类型,C优惠券;P储值卡;T计次卡")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("券内容,如:0表示满减券、1表示折扣券")
|
||||
private Integer content;
|
||||
|
||||
@ApiModelProperty("券名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("是否允许转赠")
|
||||
private Boolean isGive;
|
||||
|
||||
@ApiModelProperty("获得卡券所消耗积分")
|
||||
private Integer point;
|
||||
|
||||
@ApiModelProperty("适用商品:allGoods、parkGoods")
|
||||
private String applyGoods;
|
||||
|
||||
@ApiModelProperty("领取码")
|
||||
private String receiveCode;
|
||||
|
||||
@ApiModelProperty("使用专项")
|
||||
private String useFor;
|
||||
|
||||
@ApiModelProperty("过期类型")
|
||||
private String expireType;
|
||||
|
||||
@ApiModelProperty("有效天数")
|
||||
private Integer expireTime;
|
||||
|
||||
@ApiModelProperty("开始有效期")
|
||||
private Date beginTime;
|
||||
|
||||
@ApiModelProperty("结束有效期")
|
||||
private Date endTime;
|
||||
|
||||
@ApiModelProperty("面额")
|
||||
private BigDecimal amount;
|
||||
|
||||
@ApiModelProperty("发放方式")
|
||||
private String sendWay;
|
||||
|
||||
@ApiModelProperty("每次发放数量")
|
||||
private Integer sendNum;
|
||||
|
||||
@ApiModelProperty("发行数量")
|
||||
private Integer total;
|
||||
|
||||
@ApiModelProperty("每人拥有数量限制")
|
||||
private Integer limitNum;
|
||||
|
||||
@ApiModelProperty("不可用日期,逗号隔开。周末:weekend;其他:2019-01-02_2019-02-09")
|
||||
private String exceptTime;
|
||||
|
||||
@ApiModelProperty("适用店铺ID,逗号隔开")
|
||||
private String storeIds;
|
||||
|
||||
@ApiModelProperty("适用会员等级,逗号隔开")
|
||||
private String gradeIds;
|
||||
|
||||
@ApiModelProperty("描述信息")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("效果图片")
|
||||
private String image;
|
||||
|
||||
@ApiModelProperty("后台备注")
|
||||
private String remarks;
|
||||
|
||||
@ApiModelProperty("获取券的规则")
|
||||
private String inRule;
|
||||
|
||||
@ApiModelProperty("核销券的规则")
|
||||
private String outRule;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("A:正常;D:删除")
|
||||
private String status;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 卡券商品表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_coupon_goods")
|
||||
@ApiModel(value = "MtCouponGoods对象", description = "卡券商品表")
|
||||
public class MtCouponGoods implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("卡券ID")
|
||||
private Integer couponId;
|
||||
|
||||
@ApiModelProperty("商品ID")
|
||||
private Integer goodsId;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 优惠券组
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_coupon_group")
|
||||
@ApiModel(value = "MtCouponGroup对象", description = "优惠券组")
|
||||
public class MtCouponGroup implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("券组名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("价值金额")
|
||||
private BigDecimal money;
|
||||
|
||||
@ApiModelProperty("券种类数量")
|
||||
private Integer num;
|
||||
|
||||
@ApiModelProperty("发行数量")
|
||||
private Integer total;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("创建日期")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新日期")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("A:正常;D:删除")
|
||||
private String status;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,82 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 转赠记录表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_give")
|
||||
@ApiModel(value = "MtGive对象", description = "转赠记录表")
|
||||
public class MtGive implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("获赠者用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("赠送者用户ID")
|
||||
private Integer giveUserId;
|
||||
|
||||
@ApiModelProperty("赠予对象手机号")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("用户手机")
|
||||
private String userMobile;
|
||||
|
||||
@ApiModelProperty("券组ID,逗号隔开")
|
||||
private String groupIds;
|
||||
|
||||
@ApiModelProperty("券组名称,逗号隔开")
|
||||
private String groupNames;
|
||||
|
||||
@ApiModelProperty("券ID,逗号隔开")
|
||||
private String couponIds;
|
||||
|
||||
@ApiModelProperty("券名称,逗号隔开")
|
||||
private String couponNames;
|
||||
|
||||
@ApiModelProperty("数量")
|
||||
private Integer num;
|
||||
|
||||
@ApiModelProperty("总金额")
|
||||
private BigDecimal money;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String note;
|
||||
|
||||
@ApiModelProperty("留言")
|
||||
private String message;
|
||||
|
||||
@ApiModelProperty("赠送时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("状态,A正常;C取消")
|
||||
private String status;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 转赠明细表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_give_item")
|
||||
@ApiModel(value = "MtGiveItem对象", description = "转赠明细表")
|
||||
public class MtGiveItem implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("转赠ID")
|
||||
private Integer giveId;
|
||||
|
||||
@ApiModelProperty("用户电子券ID")
|
||||
private Integer userCouponId;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("状态,A正常;D删除")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,115 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 商品表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_goods")
|
||||
@ApiModel(value = "MtGoods对象", description = "MtGoods对象")
|
||||
public class MtGoods implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("所属店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("商品名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("商品类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("分类ID")
|
||||
private Integer cateId;
|
||||
|
||||
@ApiModelProperty("预约项目ID")
|
||||
private Integer bookId;
|
||||
|
||||
@ApiModelProperty("商品编码")
|
||||
private String goodsNo;
|
||||
|
||||
@ApiModelProperty("可用平台,0:不限,1:仅会员端(小程序和h5);2:仅收银端")
|
||||
private Integer platform;
|
||||
|
||||
@ApiModelProperty("是否单规格")
|
||||
private String isSingleSpec;
|
||||
|
||||
@ApiModelProperty("主图地址")
|
||||
private String logo;
|
||||
|
||||
@ApiModelProperty("图片地址")
|
||||
private String images;
|
||||
|
||||
@ApiModelProperty("销售价格")
|
||||
private BigDecimal price;
|
||||
|
||||
@ApiModelProperty("划线价格")
|
||||
private BigDecimal linePrice;
|
||||
|
||||
@ApiModelProperty("成本价格")
|
||||
private BigDecimal costPrice;
|
||||
|
||||
@ApiModelProperty("库存")
|
||||
private Double stock;
|
||||
|
||||
@ApiModelProperty("关联卡券")
|
||||
private String couponIds;
|
||||
|
||||
@ApiModelProperty("服务时长")
|
||||
private Integer serviceTime;
|
||||
|
||||
@ApiModelProperty("重量")
|
||||
private BigDecimal weight;
|
||||
|
||||
@ApiModelProperty("初始销量")
|
||||
private Double initSale;
|
||||
|
||||
@ApiModelProperty("商品卖点")
|
||||
private String salePoint;
|
||||
|
||||
@ApiModelProperty("可否使用积分抵扣")
|
||||
private String canUsePoint;
|
||||
|
||||
@ApiModelProperty("会员是否有折扣")
|
||||
private String isMemberDiscount;
|
||||
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sort;
|
||||
|
||||
@ApiModelProperty("商品描述")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("A:正常;D:删除")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 商品分类
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_goods_cate")
|
||||
@ApiModel(value = "MtGoodsCate对象", description = "")
|
||||
public class MtGoodsCate implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("所属商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("所属店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("分类名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("LOGO地址")
|
||||
private String logo;
|
||||
|
||||
@ApiModelProperty("分类描述")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sort;
|
||||
|
||||
@ApiModelProperty("A:正常;D:删除")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 商品SKU表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_goods_sku")
|
||||
@ApiModel(value = "MtGoodsSku对象", description = "商品SKU表")
|
||||
public class MtGoodsSku implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("sku编码")
|
||||
private String skuNo;
|
||||
|
||||
@ApiModelProperty("图片")
|
||||
private String logo;
|
||||
|
||||
@ApiModelProperty("商品ID")
|
||||
private Integer goodsId;
|
||||
|
||||
@ApiModelProperty("规格ID")
|
||||
private String specIds;
|
||||
|
||||
@ApiModelProperty("库存")
|
||||
private Double stock;
|
||||
|
||||
@ApiModelProperty("价格")
|
||||
private BigDecimal price;
|
||||
|
||||
@ApiModelProperty("划线价格")
|
||||
private BigDecimal linePrice;
|
||||
|
||||
@ApiModelProperty("成本价格")
|
||||
private BigDecimal costPrice;
|
||||
|
||||
@ApiModelProperty("重量")
|
||||
private BigDecimal weight;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 规格表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_goods_spec")
|
||||
@ApiModel(value = "MtGoodsSpec对象", description = "规格表")
|
||||
public class MtGoodsSpec implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("商品ID")
|
||||
private Integer goodsId;
|
||||
|
||||
@ApiModelProperty("规格名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("规格值")
|
||||
private String value;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 发票实体
|
||||
*
|
||||
* @Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_invoice")
|
||||
@ApiModel(value = "invoice表对象", description = "invoice表对象")
|
||||
public class MtInvoice implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("订单ID")
|
||||
private Integer orderId;
|
||||
|
||||
@ApiModelProperty("订单号")
|
||||
private String orderSn;
|
||||
|
||||
@ApiModelProperty("开票时间")
|
||||
private Date InvoiceTime;
|
||||
|
||||
@ApiModelProperty("开票金额")
|
||||
private BigDecimal invoiceAmount;
|
||||
|
||||
@ApiModelProperty("发票抬头")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty("发票下载地址")
|
||||
private String downloadUrl;
|
||||
|
||||
@ApiModelProperty("发票类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("纳税人识别码")
|
||||
private String taxCode;
|
||||
|
||||
@ApiModelProperty("开户行")
|
||||
private String bankName;
|
||||
|
||||
@ApiModelProperty("开户卡号")
|
||||
private String bankCardNo;
|
||||
|
||||
@ApiModelProperty("开户户名")
|
||||
private String bankCardName;
|
||||
|
||||
@ApiModelProperty("开票备注")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("接收邮箱")
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty("联系电话")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
@ApiModelProperty("状态,A开票中,B开票成功,C已冲红")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,81 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 商户表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_merchant")
|
||||
@ApiModel(value = "MtMerchant对象", description = "商户表")
|
||||
public class MtMerchant implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("微信小程序appId")
|
||||
private String wxAppId;
|
||||
|
||||
@ApiModelProperty("微信小程序秘钥")
|
||||
private String wxAppSecret;
|
||||
|
||||
@ApiModelProperty("微信公众号appId")
|
||||
private String wxOfficialAppId;
|
||||
|
||||
@ApiModelProperty("微信公众号秘钥")
|
||||
private String wxOfficialAppSecret;
|
||||
|
||||
@ApiModelProperty(value="结算比例")
|
||||
private BigDecimal settleRate;
|
||||
|
||||
@ApiModelProperty("商户号")
|
||||
private String no;
|
||||
|
||||
@ApiModelProperty("商户名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("商户logo")
|
||||
private String logo;
|
||||
|
||||
@ApiModelProperty("联系人姓名")
|
||||
private String contact;
|
||||
|
||||
@ApiModelProperty("联系电话")
|
||||
private String phone;
|
||||
|
||||
@ApiModelProperty("联系地址")
|
||||
private String address;
|
||||
|
||||
@ApiModelProperty("备注信息")
|
||||
private String description;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("状态,A:有效/启用;D:无效")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
}
|
||||
@ -0,0 +1,65 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 系统消息
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_message")
|
||||
@ApiModel(value = "MtMessage对象", description = "系统消息")
|
||||
public class MtMessage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("消息类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("消息标题")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty("消息内容")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty("是否已读")
|
||||
private String isRead;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("参数信息")
|
||||
private String params;
|
||||
|
||||
@ApiModelProperty("是否已发送")
|
||||
private String isSend;
|
||||
|
||||
@ApiModelProperty("发送时间")
|
||||
private Date sendTime;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@ -0,0 +1,58 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 会员开卡赠礼
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_open_gift")
|
||||
@ApiModel(value = "MtOpenGift对象", description = "会员开卡赠礼")
|
||||
public class MtOpenGift implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("会员等级ID")
|
||||
private Integer gradeId;
|
||||
|
||||
@ApiModelProperty("赠送积分")
|
||||
private Integer point;
|
||||
|
||||
@ApiModelProperty("卡券ID")
|
||||
private Integer couponId;
|
||||
|
||||
@ApiModelProperty("卡券数量")
|
||||
private Integer couponNum;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 开卡赠礼明细表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_open_gift_item")
|
||||
@ApiModel(value = "MtOpenGiftItem对象", description = "开卡赠礼明细表")
|
||||
public class MtOpenGiftItem implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("会用ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("赠礼ID")
|
||||
private Integer openGiftId;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private String status;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,129 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 订单表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_order")
|
||||
@ApiModel(value = "MtOrder对象", description = "订单表")
|
||||
public class MtOrder implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("自增ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("订单类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("支付类型")
|
||||
private String payType;
|
||||
|
||||
@ApiModelProperty("订单模式")
|
||||
private String orderMode;
|
||||
|
||||
@ApiModelProperty("下单平台")
|
||||
private String platform;
|
||||
|
||||
@ApiModelProperty("订单号")
|
||||
private String orderSn;
|
||||
|
||||
@ApiModelProperty("卡券ID")
|
||||
private Integer couponId;
|
||||
|
||||
@ApiModelProperty("商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
@ApiModelProperty("所属店铺ID")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("核销验证码")
|
||||
private String verifyCode;
|
||||
|
||||
@ApiModelProperty("是否游客")
|
||||
private String isVisitor;
|
||||
|
||||
@ApiModelProperty("订单金额")
|
||||
private BigDecimal amount;
|
||||
|
||||
@ApiModelProperty("支付金额")
|
||||
private BigDecimal payAmount;
|
||||
|
||||
@ApiModelProperty(value="结算状态")
|
||||
private String settleStatus;
|
||||
|
||||
@ApiModelProperty("使用积分数量")
|
||||
private Integer usePoint;
|
||||
|
||||
@ApiModelProperty("积分金额")
|
||||
private BigDecimal pointAmount;
|
||||
|
||||
@ApiModelProperty("折扣金额")
|
||||
private BigDecimal discount;
|
||||
|
||||
@ApiModelProperty("配送费用")
|
||||
private BigDecimal deliveryFee;
|
||||
|
||||
@ApiModelProperty("订单参数")
|
||||
private String param;
|
||||
|
||||
@ApiModelProperty("物流信息")
|
||||
private String expressInfo;
|
||||
|
||||
@ApiModelProperty("用户备注")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("订单状态")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty("支付时间")
|
||||
private Date payTime;
|
||||
|
||||
@ApiModelProperty("支付状态")
|
||||
private String payStatus;
|
||||
|
||||
@ApiModelProperty("操作员工")
|
||||
private Integer staffId;
|
||||
|
||||
@ApiModelProperty("核销状态")
|
||||
private String confirmStatus;
|
||||
|
||||
@ApiModelProperty("核销时间")
|
||||
private Date confirmTime;
|
||||
|
||||
@ApiModelProperty("核销备注")
|
||||
private String confirmRemark;
|
||||
|
||||
@ApiModelProperty("分佣提成用户ID")
|
||||
private Integer commissionUserId;
|
||||
|
||||
@ApiModelProperty("分佣提成计算状态")
|
||||
private String commissionStatus;
|
||||
|
||||
@ApiModelProperty("最后操作人")
|
||||
private String operator;
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.fuint.repository.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 订单收货地址记录表
|
||||
*
|
||||
* Created by FSQ
|
||||
* CopyRight https://www.fuint.cn
|
||||
*/
|
||||
@Data
|
||||
@TableName("mt_order_address")
|
||||
@ApiModel(value = "MtOrderAddress对象", description = "订单收货地址记录表")
|
||||
public class MtOrderAddress implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("地址ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("收货人姓名")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("联系电话")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("省份ID")
|
||||
private Integer provinceId;
|
||||
|
||||
@ApiModelProperty("城市ID")
|
||||
private Integer cityId;
|
||||
|
||||
@ApiModelProperty("区/县ID")
|
||||
private Integer regionId;
|
||||
|
||||
@ApiModelProperty("详细地址")
|
||||
private String detail;
|
||||
|
||||
@ApiModelProperty("订单ID")
|
||||
private Integer orderId;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user