package com.jwipc.finance.logic;

import com.jwipc.finance.dto.DeductionDTO;
import com.jwipc.finance.dto.DeductionExportDTO;
import com.jwipc.finance.model.param.DeductionParam;
import com.jwipc.finance.model.query.DeductionExportQuery;
import com.jwipc.page.PageView;


import com.jwipc.finance.model.query.DeductionQuery;


import java.util.List;

/**
 * @author AL
 * @date 2024/1/29 15:01
 * @desc 模具
 */
public interface DeductionLogic {
    PageView findByPage(DeductionQuery query);

    DeductionDTO getById(Long id);
//
    void saveOrUpdate(DeductionParam param,String sequenceNo);
    void saveOrUpdateConfirm(DeductionParam param);
//
    void remove(String id);

    void whether(Long id, Integer whether);

    List<DeductionExportDTO> getDeductionForExport(DeductionExportQuery query);

    void submitOa(String id);

    void submit(DeductionParam param,String sequenceNo);

    void refuse(DeductionParam param,String sequenceNo);

    List<DeductionDTO> listAll(DeductionQuery deductionQuery);
//
//    List<MoldFormDTO> listAll();
    //List<UserFactoryTreeDTO> getForTree(Long userId);
}
