package com.poteviohealth.ym.ipos.controller; import com.poteviohealth.cgp.common.controller.BaseWebController; import com.poteviohealth.cgp.common.facade.log.OperateType; import com.poteviohealth.cgp.common.facade.log.OperationLog; import com.poteviohealth.cgp.common.model.VaultsResponse; import com.poteviohealth.ym.ipos.model.split.back.SettlementQueryBack; import com.poteviohealth.ym.ipos.model.split.detail.SettlementQueryDetail; import com.poteviohealth.ym.ipos.service.ISplitService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; /** * 结算管理 * @author Qin */ @RestController @RequestMapping("/ipos/web/settlement") @Api(value = "SettlementController", tags = "结算管理") public class SettlementController extends BaseWebController { @Resource private ISplitService splitService; @PostMapping("/merchantQuery") @ApiOperation(value = "结算查询") @OperationLog(type = OperateType.SELECT, description ="结算查询") public VaultsResponse merchantQuery(@RequestBody SettlementQueryDetail detail) { return splitService.merchantSettlementQuery(detail); } }