From d123da994f9e70a56a95586c3c9c2fd0f8cbcfce Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 18 May 2021 14:08:14 +0800 Subject: [PATCH] 20210517 云顶 --- src/main/java/com/xcong/excoin/modules/otc/entity/OtcMarketBussinessEntity.java | 45 ++++++++++++++++++++++ src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java | 4 ++ src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java | 4 ++ src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcServiceImpl.java | 4 ++ src/main/java/com/xcong/excoin/modules/otc/service/OtcService.java | 4 ++ 5 files changed, 61 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java new file mode 100644 index 0000000..7603ef2 --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java @@ -0,0 +1,4 @@ +package com.xcong.excoin.modules.otc.controller; + +public class OtcController { +} diff --git a/src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java b/src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java new file mode 100644 index 0000000..0e01896 --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java @@ -0,0 +1,4 @@ +package com.xcong.excoin.modules.otc.controller; + +public class ViewController { +} diff --git a/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMarketBussinessEntity.java b/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMarketBussinessEntity.java new file mode 100644 index 0000000..3e0a879 --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMarketBussinessEntity.java @@ -0,0 +1,45 @@ +package com.xcong.excoin.modules.otc.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.xcong.excoin.common.entity.BaseEntity; +import lombok.Data; + +import java.math.BigDecimal; + +//市商信息表 +@Data +@TableName("otc_market_bussiness") +public class OtcMarketBussinessEntity extends BaseEntity { + + //会员ID + private long memberId; + + //昵称 + private String nikename; + + //宣言 + private String declaration; + + //审核状态 1-待审核2-审核通过3-审核拒绝 + private Integer status; + public static final Integer STATUS_ONE = 1; + public static final Integer STATUS_TWO = 2; + public static final Integer STATUS_THREE = 3; + + //服务人数 + private Integer buyCnt; + + //总单数 + private Integer totalOrderCnt; + + //完成率 + private BigDecimal finishRatio; + + //平均付款时间 + private Integer avgPayTime; + + //平均放币时间 + private Integer avgCoinTime; + + +} diff --git a/src/main/java/com/xcong/excoin/modules/otc/service/OtcService.java b/src/main/java/com/xcong/excoin/modules/otc/service/OtcService.java new file mode 100644 index 0000000..603779c --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/otc/service/OtcService.java @@ -0,0 +1,4 @@ +package com.xcong.excoin.modules.otc.service; + +public interface OtcService { +} diff --git a/src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcServiceImpl.java b/src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcServiceImpl.java new file mode 100644 index 0000000..111aba1 --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcServiceImpl.java @@ -0,0 +1,4 @@ +package com.xcong.excoin.modules.otc.service.impl; + +public class OtcServiceImpl { +} -- Gitblit v1.9.1