package com.jwipc.finance.controller.rest;

import com.jwipc.finance.logic.PaymentAdvanceApplyAttachmentLogic;
import com.jwipc.finance.model.query.AccountStatementAttachmentQuery;
import com.jwipc.finance.model.query.PaymentAdvanceApplyAttachmentQuery;
import com.jwipc.page.PageView;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

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

/**
 * <p>
 * 预付款附件关系表 前端控制器
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-21
 */
@RestController
@RequestMapping(MODULE_ROOT + "/paymentAdvance/apply/attachment/rest")
@RequiredArgsConstructor
public class PaymentAdvanceApplyAttachmentRestController {
    private final PaymentAdvanceApplyAttachmentLogic paymentAdvanceApplyAttachmentLogic;
    @RequestMapping("list")
    public PageView list(PaymentAdvanceApplyAttachmentQuery query) {
        return paymentAdvanceApplyAttachmentLogic.list(query);
    }

}
