Search in sources :

Example 1 with FundsExistenceCheckResponse

use of com.tony.billing.response.fund.FundsExistenceCheckResponse in project BillingDubbo by TonyJiangWJ.

the class FundInfoController method checkAllFundsStatus.

@RequestMapping(value = "/fund/check/all/status", method = RequestMethod.POST)
public FundsExistenceCheckResponse checkAllFundsStatus(@ModelAttribute("request") @Validated FundsExistenceCheckRequest request) {
    List<FundExistenceCheck> existsList = fundInfoService.checkFundsExistence(request.getFundCheckList());
    FundsExistenceCheckResponse response = ResponseUtil.success(new FundsExistenceCheckResponse());
    response.setExistsList(existsList);
    return response;
}
Also used : FundsExistenceCheckResponse(com.tony.billing.response.fund.FundsExistenceCheckResponse) FundExistenceCheck(com.tony.billing.model.FundExistenceCheck) RequestMapping(org.springframework.web.bind.annotation.RequestMapping)

Aggregations

FundExistenceCheck (com.tony.billing.model.FundExistenceCheck)1 FundsExistenceCheckResponse (com.tony.billing.response.fund.FundsExistenceCheckResponse)1 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)1