OMS-GW推送-企业币值
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user