OMS-GW推送-企业币值

This commit is contained in:
zhaoqing
2026-05-06 17:43:47 +08:00
parent e5b836012b
commit 9d1b13d4d3
4 changed files with 109 additions and 0 deletions
@@ -0,0 +1,37 @@
package com.mhd.oms.interfaces.facade.exchangeRate;
import com.mhd.common.core.web.page.TableDataInfo;
import com.mhd.oms.application.service.exchangeRate.ExchangeRateApplicationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import static com.mhd.common.core.utils.PageUtils.startPage;
@Api(tags = "汇率管理")
@RestController
@RequestMapping("exchangeRateApi")
public class ExchangeRateApi {
@Resource
private ExchangeRateApplicationService exchangeRateApplicationService;
@ApiOperation("查询汇率列表")
@GetMapping("/list")
public TableDataInfo list(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum,
@RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize,
@RequestParam(value = "pushStatus", required = false) String pushStatus,
@RequestParam(value = "organizationId", required = false) String organizationId) {
startPage();
return exchangeRateApplicationService.queryExchangeRateList(pageNum, pageSize, pushStatus, organizationId);
}
}