| | |
| | | import com.xcong.excoin.common.entity.FebsResponse; |
| | | import com.xcong.excoin.common.entity.QueryRequest; |
| | | import com.xcong.excoin.modules.member.entity.MemberAccountMoneyChangeEntity; |
| | | 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.service.OtcService; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | return otcService.disagreeShop(id); |
| | | } |
| | | |
| | | /** |
| | | * 订单申诉列表 |
| | | */ |
| | | @GetMapping("otcAppealList") |
| | | public FebsResponse otcAppealList(OtcOrderAppealEntity otcOrderAppealEntity, QueryRequest request) { |
| | | Map<String, Object> data = getDataTable(otcService.otcAppealList(otcOrderAppealEntity, request)); |
| | | return new FebsResponse().success().data(data); |
| | | } |
| | | |
| | | /** |
| | | * 申诉---处理中 |
| | | * @return |
| | | */ |
| | | @GetMapping("dealIng/{id}") |
| | | @ControllerEndpoint(operation = "申诉---处理中", exceptionMessage = "失败") |
| | | public FebsResponse dealIng(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return otcService.dealIng(id); |
| | | } |
| | | |
| | | /** |
| | | * 申诉---处理完 |
| | | * @return |
| | | */ |
| | | @GetMapping("dealDone/{id}") |
| | | @ControllerEndpoint(operation = "申诉---处理完", exceptionMessage = "失败") |
| | | public FebsResponse dealDone(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return otcService.dealDone(id); |
| | | } |
| | | |
| | | /** |
| | | * 委托单列表 |
| | | */ |
| | | @GetMapping("otcEntrustList") |
| | | public FebsResponse otcEntrustList(OtcEntrustOrderEntity otcEntrustOrderEntity, QueryRequest request) { |
| | | Map<String, Object> data = getDataTable(otcService.otcEntrustList(otcEntrustOrderEntity, request)); |
| | | return new FebsResponse().success().data(data); |
| | | } |
| | | |
| | | /** |
| | | * 订单列表 |
| | | */ |
| | | @GetMapping("otcOrderList") |
| | | public FebsResponse otcOrderList(OtcOrderEntity otcOrderEntity, QueryRequest request) { |
| | | Map<String, Object> data = getDataTable(otcService.otcOrderList(otcOrderEntity, request)); |
| | | return new FebsResponse().success().data(data); |
| | | } |
| | | |
| | | } |