|  |  |  | 
|---|
|  |  |  | import com.xcong.excoin.common.enumerates.SymbolEnum; | 
|---|
|  |  |  | import com.xcong.excoin.common.response.Result; | 
|---|
|  |  |  | import com.xcong.excoin.modules.contract.parameter.dto.SubmitEntrustDto; | 
|---|
|  |  |  | import com.xcong.excoin.modules.contract.parameter.vo.ContractEntrustVo; | 
|---|
|  |  |  | import com.xcong.excoin.modules.contract.service.ContractEntrustOrderService; | 
|---|
|  |  |  | import com.xcong.excoin.utils.TypeJudgeUtils; | 
|---|
|  |  |  | import com.xcong.excoin.utils.api.response.Symbol; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiOperation; | 
|---|
|  |  |  | import io.swagger.annotations.ApiParam; | 
|---|
|  |  |  | import io.swagger.annotations.*; | 
|---|
|  |  |  | import lombok.extern.slf4j.Slf4j; | 
|---|
|  |  |  | import org.springframework.validation.annotation.Validated; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.*; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "获取当前委托单列表", notes = "获取当前委托单列表") | 
|---|
|  |  |  | @ApiResponses({ | 
|---|
|  |  |  | @ApiResponse(code = 0, message = "success", response = ContractEntrustVo.class) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | @GetMapping(value = "/findCurrentEntrustOrderList") | 
|---|
|  |  |  | public Result findCurrentEntrustOrderList() { | 
|---|
|  |  |  | return contractEntrustOrderService.findEntrustOrderList(); | 
|---|
|  |  |  | public Result findCurrentEntrustOrderList(@ApiParam(name = "symbol", value = "币种",  example = "BTC/USDT") @RequestParam(value = "symbol", required = false) String symbol) { | 
|---|
|  |  |  | return contractEntrustOrderService.findEntrustOrderList(symbol); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|