From 264980073d03ead5cfce39f87c611de623db4d3f Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 25 May 2021 15:00:23 +0800 Subject: [PATCH] 20210525 申诉单 --- src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java | 33 +++++++++++++++++++++++++++++---- 1 files changed, 29 insertions(+), 4 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 index 243ed27..a202774 100644 --- a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java +++ b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java @@ -6,10 +6,7 @@ import com.xcong.excoin.common.entity.QueryRequest; import com.xcong.excoin.modules.member.entity.MemberAccountMoneyChangeEntity; import com.xcong.excoin.modules.member.entity.MemberEntity; -import com.xcong.excoin.modules.otc.entity.OtcEntrustOrderEntity; -import com.xcong.excoin.modules.otc.entity.OtcMarketBussinessEntity; -import com.xcong.excoin.modules.otc.entity.OtcOrderAppealEntity; -import com.xcong.excoin.modules.otc.entity.OtcOrderEntity; +import com.xcong.excoin.modules.otc.entity.*; import com.xcong.excoin.modules.otc.service.OtcService; import lombok.RequiredArgsConstructor; import org.springframework.validation.annotation.Validated; @@ -113,4 +110,32 @@ return otcService.updateOrderInfo(otcOrderEntity); } + /** + *回款 + * @return + */ + @PostMapping("otcHuiKuan") + @ControllerEndpoint(operation = "订单列表---付款人", exceptionMessage = "失败") + public FebsResponse otcHuiKuan(@Valid OtcMarketBussinessEntity otcMarketBussinessEntity) { + return otcService.otcHuiKuan(otcMarketBussinessEntity); + } + + /** + * 设置列表 + */ + @GetMapping("otcSettingList") + public FebsResponse otcSettingList(OtcSettingEntity otcSettingEntity, QueryRequest request) { + Map<String, Object> data = getDataTable(otcService.otcSettingList(otcSettingEntity, request)); + return new FebsResponse().success().data(data); + } + /** + *设置列表--更新 + * @return + */ + @PostMapping("updateOtcSetting") + @ControllerEndpoint(operation = "设置列表--更新", exceptionMessage = "失败") + public FebsResponse updateOtcSetting(@Valid OtcSettingEntity otcSettingEntity) { + return otcService.updateOtcSetting(otcSettingEntity); + } + } -- Gitblit v1.9.1