From 44bac492a887015e83c0a89f2398eb04a14353cb Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 05 Feb 2021 16:40:36 +0800 Subject: [PATCH] 20210205 --- src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java b/src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java index b21bfc2..68d40a2 100644 --- a/src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java +++ b/src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java @@ -1,12 +1,15 @@ package com.xcong.excoin.modules.documentary.service; import javax.validation.Valid; +import javax.validation.constraints.NotNull; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import com.xcong.excoin.common.entity.FebsResponse; import com.xcong.excoin.common.entity.QueryRequest; +import com.xcong.excoin.modules.documentary.dto.FollowTraderInfoDto; import com.xcong.excoin.modules.documentary.entity.FollowTraderInfoEntity; +import com.xcong.excoin.modules.documentary.entity.FollowTraderLabelEntity; public interface DocumentaryService extends IService<FollowTraderInfoEntity> { @@ -14,6 +17,18 @@ FollowTraderInfoEntity selectTraderDetailByid(long id); - FebsResponse traderConfirm(@Valid FollowTraderInfoEntity followTraderInfoEntity); + FebsResponse traderConfirm(@Valid FollowTraderInfoDto followTraderInfoDto); + + FebsResponse traderGetOut(@NotNull(message = "{required}") Long id); + + FebsResponse traderGetFull(@NotNull(message = "{required}") Long id); + + IPage<FollowTraderLabelEntity> traderLabelList(FollowTraderLabelEntity followTraderLabelEntity, QueryRequest request); + + FebsResponse traderLabelDelete(@NotNull(message = "{required}") Long id); + + void followLabelSetAdd(@Valid FollowTraderLabelEntity followTraderLabelEntity); + + void followLabelSetUpdate(@Valid FollowTraderLabelEntity followTraderLabelEntity); } -- Gitblit v1.9.1