|
|
|
@ -40,8 +40,8 @@ public class ProductCenter {
|
|
|
|
|
@ApiOperation("基金产品查询")
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|
public ResultEntity<PageInfo<FundProduct>> selectFundProduct(@RequestParam(required = false) String param,
|
|
|
|
|
@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
PageHelper.startPage(index, size);
|
|
|
|
|
FundProductExample example = new FundProductExample();
|
|
|
|
|
if (param != null) {
|
|
|
|
@ -65,9 +65,10 @@ public class ProductCenter {
|
|
|
|
|
@PostMapping("selectBankDeposits")
|
|
|
|
|
@ApiOperation("银行储蓄查询")
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|
public ResultEntity<PageInfo<BankDeposits>> selectBankDeposits(@RequestParam(required = false) String bankName, @RequestParam String schoolId,
|
|
|
|
|
@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
public ResultEntity<PageInfo<BankDeposits>> selectBankDeposits(@RequestParam(required = false) String bankName,
|
|
|
|
|
@RequestParam String schoolId,
|
|
|
|
|
@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
PageHelper.startPage(index, size);
|
|
|
|
|
BankDepositsExample example = new BankDepositsExample();
|
|
|
|
|
BankDepositsExample.Criteria criteria = example.createCriteria();
|
|
|
|
@ -92,8 +93,8 @@ public class ProductCenter {
|
|
|
|
|
@ApiOperation("P2P产品查询")
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|
public ResultEntity<PageInfo<p2pProduct>> selectP2PProduct(@RequestParam(required = false) String productName,
|
|
|
|
|
@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
PageHelper.startPage(index, size);
|
|
|
|
|
p2pProductExample example = new p2pProductExample();
|
|
|
|
|
if (productName != null) {
|
|
|
|
@ -111,7 +112,7 @@ public class ProductCenter {
|
|
|
|
|
@ApiOperation("实务黄金查询")
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|
public ResultEntity<PageInfo<RealGoldProduct>> selectRealGoldProduct(@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
PageHelper.startPage(index, size);
|
|
|
|
|
RealGoldProductExample example = new RealGoldProductExample();
|
|
|
|
|
example.setOrderByClause("trading_day asc");
|
|
|
|
@ -124,9 +125,9 @@ public class ProductCenter {
|
|
|
|
|
@ApiOperation("保险产品查询")
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|
public ResultEntity<PageInfo<InsurancePro>> selectInsurancePro(@ApiParam("保险子类") @RequestParam(required = false) String kind,
|
|
|
|
|
@ApiParam("搜索参数") @RequestParam(required = false) String name,
|
|
|
|
|
@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
@ApiParam("搜索参数") @RequestParam(required = false) String name,
|
|
|
|
|
@RequestParam Integer index,
|
|
|
|
|
@RequestParam Integer size) {
|
|
|
|
|
PageHelper.startPage(index, size);
|
|
|
|
|
InsuranceProExample example = new InsuranceProExample();
|
|
|
|
|
InsuranceProExample.Criteria criteria = example.createCriteria();
|
|
|
|
|