package com.jwipc.finance.controller.rest;

import com.jwipc.finance.logic.FinPaymentConfirmLogLogic;
import com.jwipc.finance.model.query.FinPaymentConfirmLogQuery;
import com.jwipc.page.PageView;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

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

/**
 * <p>
 *  付款单警告确认日志-控制层
 * </p>
 *
 * @author Chen Tianshi
 * @since 2025/12/17 11:28
 */
@RestController
@RequestMapping(MODULE_ROOT + "/finPaymentConfirmLog/rest")
@RequiredArgsConstructor
public class FinPaymentConfirmLogRestController {
    private final FinPaymentConfirmLogLogic finPaymentConfirmLogLogic;

    @RequestMapping("/list")
    public PageView list(FinPaymentConfirmLogQuery query) {
        return finPaymentConfirmLogLogic.list(query);
    }
}
