From 0d03d3fe08f4ca6865adf4147dbbc4830e231837 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 08 Jan 2021 11:40:22 +0800 Subject: [PATCH] 20210108 --- src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java | 8 +++++++- 1 files changed, 7 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..b7bb220 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,11 +1,13 @@ 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; public interface DocumentaryService extends IService<FollowTraderInfoEntity> { @@ -14,6 +16,10 @@ 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); } -- Gitblit v1.9.1