package com.jwipc.finance.controller.rest;

import com.jwipc.finance.logic.CostMatchingPaymentNoticeRelationLogic;
import com.jwipc.finance.model.query.CostMatchingQuery;
import com.jwipc.finance.model.query.PaymentNoticeQuery;
import com.jwipc.page.PageView;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static com.jwipc.finance.constant.ModuleConst.MODULE_ROOT;

/**
 * @author shenyang.ou
 * @date 2025/11/4 15:20
 * @desc 费用匹配单和付款单明细关系表
 */
@RestController
@RequestMapping(MODULE_ROOT + "/cost/matching/payment/notice/relation/rest")
@RequiredArgsConstructor
public class CostMatchingPaymentNoticeRelationRestController {
    private final CostMatchingPaymentNoticeRelationLogic costMatchingPaymentNoticeRelationLogic;
    @PostMapping("/create/noPage/list")
    public PageView createList(CostMatchingQuery query){
        return costMatchingPaymentNoticeRelationLogic.createNoPageList(query);
    }
}
