| | |
| | | import com.xcong.excoin.common.LoginUserUtils; |
| | | import com.xcong.excoin.common.response.Result; |
| | | import com.xcong.excoin.modules.member.entity.MemberEntity; |
| | | import com.xcong.excoin.modules.otc.dao.OtcSettingDao; |
| | | import com.xcong.excoin.modules.otc.dto.EntrustOrderAddDto; |
| | | import com.xcong.excoin.modules.otc.dto.EntrustOrderListDto; |
| | | import com.xcong.excoin.modules.otc.entity.OtcEntrustOrder; |
| | | import com.xcong.excoin.modules.otc.entity.OtcSetting; |
| | | import com.xcong.excoin.modules.otc.service.OtcEntrustOrderService; |
| | | import com.xcong.excoin.modules.otc.vo.EntrustListInfoVo; |
| | | import com.xcong.excoin.modules.otc.vo.EntrustListVo; |
| | |
| | | public class OtcEntrustOrderController { |
| | | |
| | | private final OtcEntrustOrderService otcEntrustOrderService; |
| | | private final OtcSettingDao otcSettingDao; |
| | | |
| | | @ApiOperation(value = "添加otc委托单", notes = "添加otc委托单") |
| | | @PostMapping(value = "/addEntrustOrder") |
| | |
| | | return Result.ok("添加成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取市商条件") |
| | | @GetMapping(value = "/findCondition") |
| | | public Result findCondition() { |
| | | OtcSetting setting = otcSettingDao.selectById(1L); |
| | | return Result.ok(setting); |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑otc委托单", notes = "编辑otc委托单") |
| | | @PostMapping(value = "/modifyEntrustOrder") |
| | | public Result modifyEntrustOrder(@RequestBody EntrustOrderAddDto modifyDto) { |