package com.jwipc.spe.logic;

import com.jwipc.page.PageView;
import com.jwipc.security.dto.CurrentUserDTO;
import com.jwipc.spe.dto.QmNoticeOrderDTO;
import com.jwipc.spe.dto.SupAppraiseDimensionDTO;
import com.jwipc.spe.entity.QmNoticeOrder;
import com.jwipc.spe.entity.QmNoticeOrderMerge;
import com.jwipc.spe.model.query.QmNoticeOrderQuery;
import com.jwipc.spe.model.query.SupAppraiseDimensionQuery;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author AL
 * @date 2024/1/29 15:01
 * @desc 质量管理发起
 */
public interface QmNoticeOrderLogic {
    QmNoticeOrderDTO getById(Long id);
    PageView findByPage(QmNoticeOrderQuery query);
    PageView findByPageEnd(QmNoticeOrderQuery query);
    List<QmNoticeOrderDTO> listAll(QmNoticeOrderQuery query);
    void saveOrUpdate(QmNoticeOrderDTO param);
    void saveOrUpdateSup(QmNoticeOrderDTO param);
    void examine(QmNoticeOrderDTO param);
    void examine1(QmNoticeOrderDTO param);
    void improve(QmNoticeOrderDTO param);
    int examination(QmNoticeOrderDTO param);
//    boolean invalidOrEffectiveTarget(String ids, Integer status,  CurrentUserDTO user);
    void remove(String noticeOrderCode);
    void release(Long id);
    void removeMeasures(String ids);
    void followingChange(Long id, Integer followingStatus);
    // List<QmNoticeOrderMerge> findFatherMergeByPage(QmNoticeOrderMerge qmNoticeOrderMerge);
}
